Skip to content

Magento 2.4.6 – cart rule – discount rounding – same product price different discount amount

I noticed a rounding issue affecting two items that have the same original price but end up with different discounted prices after applying a 10% coupon.

I’ve attached an order summary where two products priced at 11.63 show final prices of 10.46 and 10.47 after the 10% discount.

Additionally, a third product priced at 14.54 ends up with 13.08 instead of 13.09 after the discount. 14.54 – 10% = 13.086 = 13.09

This would make sense if the coupon was applied as a cart total discount, where the discount amount is distributed proportionally across all items. However, the cart rule description explicitly states:

“Discount items by subtracting a percentage from the original price. The discount applies to each qualifying item in the cart. For example, enter 10 in Discount Amount for an updated price that is 10% less than the original price.”

Magento 2.4.6-p12

I am attaching the screenshot:order screenshot