Skip to content

Cart Price Rule doesn't work with 'Shipping Country' condition #9703

@atsareva

Description

@atsareva

Preconditions:

Install Magento 2.2.0
Magento 2.4-develop EE

Steps to reproduce:

  1. Go to Marketing -> Cart Price Rules
  2. Create a coupon code. (see attachments: *CartRuleAdmin1.png,CartRuleAdmin2.png*) The main issue to set 'Shipping Country' (e.g Germany) in the Conditions tab.
  3. Add product and go to shopping cart
  4. Try to apply coupon code.(see attachment: ShoppinCart.png)
  5. Go to the second step of checkout and try to apply coupon code again (see attachment: checkout.png)

(/) Expected result:

Coupon code should be applied, because the country is the same.

(x) Actual result:

'The coupon code "%1" is not valid.' - for both variant: when I set estimated shipping country and also when I logged in with needed address. But when I got to the second step of checkout I can apply this coupon code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CheckoutFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: donebug report

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions