{"section":"known-issues","requestedLocale":"en","requestedSlug":"shipping-discount-discarded-due-to-rounding-in-cumulative-promotions","locale":"en","slug":"shipping-discount-discarded-due-to-rounding-in-cumulative-promotions","path":"docs/en/known-issues/Pricing & Promotions/shipping-discount-discarded-due-to-rounding-in-cumulative-promotions.md","branch":"main","content":"## Summary\n\nWhen cumulative shipping promotions are applied, rounding differences can cause a shipping discount to be discarded by RnB, even when the promotion should grant the discount.\nThis can happen when one promotion reduces the shipping cost and a second cumulative promotion applies an additional discount to the remaining amount. If the calculated discount becomes greater than the remaining shipping amount after rounding, RnB discards the discount.\nFor example, if the remaining shipping amount is R$ 0.01 and the calculated discount is rounded to a value slightly greater than R$ 0.01, the discount is not applied. As a result, the customer may still be charged a small shipping amount even though the combination of promotions should result in free shipping.\n\n## Simulation\n\n1. Configure two shipping promotions with the **cumulative** competition mode.\n2. Configure the first promotion to reduce most of the shipping cost.\n3. Configure the second promotion to apply an additional shipping discount.\n4. Add a product to the cart that matches both promotions.\n5. Apply the promotions and check the shipping discounts returned by RnB.\n6. When the remaining shipping amount is very small, such as R$ 0.01, verify that the second promotion's discount may be discarded due to rounding.\n7. Check the promotion `priceTag` and verify that the discarded discount is returned as R$ 0.00.\n\n## Workaround\n\nWhen possible, avoid combining cumulative shipping promotions that result in very small remaining shipping amounts.\nAlternatively, configure the promotions to **compete** instead of accumulate, depending on the expected business rule."}