Skip to content

'Price in cart' condition in shopping cart price rule is not working properly #27470

Open
@GordonMak

Description

@GordonMak

Preconditions (*)

  1. magento 2.3.4 (Reproducible on 2.4-develop)
  2. a product has tier price

Steps to reproduce (*)

  1. setup a shipping cart price rule for the product to apply fixed amount discount for tiered price.
  2. apply a "price in cart is...(equal to the tiered) price" condition to cart item under "Apply the rule only to cart items matching the following conditions (leave blank for all items).."

Expected result (*)

  1. Correct discount amount can be applied to the tired price
  2. It is working well in Magento 2.3.3.

Actual result (*)

  1. After upgraded to Magento 2.3.4
  2. System seems cannot check "price in cart" condition; may apply discount out of the "price in cart" condition; may apply wrong discount amount...

Additional info from Engcom

Steps to reproduce:

  1. Setup cart price rule with the following conditions
    new rule
  2. Go to frontend and add corresponding products to the cart
    Shopping cart
  3. Proceed to checkout

Expected result
Correct discount amount applied

Actual result:
Discount not applied, 'Price in cart' condition doesn't work
Order sum

Metadata

Metadata

Assignees

Labels

Area: Cart & CheckoutComponent: SalesRuleIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions