Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Desconto compre junto não é aplicado no frete #16

@matheusgnreis

Description

@matheusgnreis

Na 1011, fiz um teste para aplicar desconto no carrinho, quando ele tiver 30 itens. Nesse caso, criei certinho e configurei para ser aplicado no frete, conforme abaixo:

{"discount":{"type":"fixed","apply_at":"freight","value":500},"min_quantity":30,"check_all_items":false,"date_range":{"end":"2021-03-30T03:00:00.000Z"},"label":"frete 0"}

Não deu certo, então fiz uma simples mudança, trocando o frete por total e foi aplicado corretamente, abaixo segue:

Em product_kit_discounts:

{"discount":{"type":"fixed","apply_at":"total","value":500},"min_quantity":30,"check_all_items":false,"date_range":{"end":"2021-03-30T03:00:00.000Z"},"label":"frete 0"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions