I’ve confirmed the updated cent-rounding behavior for percentage discounts is now rolled out across all stores, so you shouldn’t see differences from one store to another.
Previously, percentage discounts were calculated against the total line quantity. Now they’re calculated per unit.
To illustrate using the example shared:
- Item price: $46.99
- Quantity: 2
- Discount: 10% off when buying 2 (via discount function)
New expected behavior:
- Discount : 46.99 x 0.1 = 4.699 = 4.69 (rounded down)
- Unit price after discount : 46.99 - 4.69 = 42.30
- Subtotal : 42.30 x 2 = 84.60
Previous behavior:
- Subtotal before discount: 46.99 × 2 = 93.98
- Discount : 93.98 x 0.1 = 9.398
- Price after discount : 93.98 - 9.398 = 84.582
- Subtotal : 84.59 (rounded up)
Let me know if you have any questions about this change.