Ecommerce Operations
Why Is My Magento 2 Cart Price Rule Discounting the Wrong Items?
Diagnose a $40 discount on a cart that should receive $8. Test the distinction between cart qualification, discounted items and ordinary rounding.
By Aidan McKnight ยท Insights
Improve
Book a call โ
Your offer says โBuy this drill and get 20% off the bit set.โ A customer checks out with a $160 drill and a $40 set of bits. They receive $40 off. You intended $8. The gap is large enough to trace to a specific item in the order.
How this helps. Separate the rule that makes a basket eligible from the rule that chooses which merchandise receives the discount.
TL;DR
Describe the qualifying basket and the discounted item in separate sentences.
Test the qualifying item alone, the intended reward alone and the mixed basket.
Compare the total order discount with the offer before investigating a one-cent difference between lines.
Which item earns the discount? Which item receives it?
In the Adobe Commerce or Magento Open Source Admin, open Marketing โ Promotions โ Cart Price Rules. Under Conditions, describe the basket that activates the offer. For the drill promotion, that basket must contain the qualifying drill. Under Actions, choose the percentage discount and restrict the discounted lines to the intended bit set. Adobeโs setup guide documents the separate action conditions for items in the cart.
Test basket | Expected merchandise discount |
$160 drill only | $0. No bit set to discount. |
$40 bit set only | $0. No qualifying drill. |
Drill and bit set, $200 total | $8. Only the $40 bit set receives 20%. |
Use one unit of each in this test and temporarily isolate the offer from other promotions in a test environment. If both lines receive 20%, the drill gets a $32 discount and the bits get $8. That reproduces the $40 total and explains the entire $32 overage. Next, add a second bit set and compare the result with your advertised quantity limit.
Adobeโs cart price rule setup and item action conditions
When a one-cent difference is expected
Adobeโs rounding tutorial gives a different example. Two eligible products cost $19.95 each and the rule takes 10% off. The unrounded discount on each is $1.995. Ten percent of the $39.90 basket is $3.99. Displaying a $2 discount on both lines would exceed the order discount by one cent.
Adobeโs example | Price | Allocated discount |
First item | $19.95 | $2.00 |
Second item | $19.95 | $1.99 |
Order total | $39.90 | $3.99 |
Adobeโs worked example of rounding line discounts
Put a dollar value on the rule change
Take a sample of redeemed orders containing a mixture of eligible and excluded products. Compare the promised discount with what each order actually received. Ten baskets that match the drill example would have received $320 in excess discounts. Keep those orders separate from orders with a one-cent allocation difference and the correct total. Retest one qualifying account on each intended website and customer group before rolling out the change.
Bring the offer wording, a redacted mixed cart and screenshots of Conditions and Actions. We can trace which lines qualify and price the difference. Book a 30-minute call
Keep reading
Related articles
Want help putting this into practice?
Discuss your next practical step in a short conversation.
Book a Call โ


