Inputs
Order: apply discounts sequentially on the remaining price → subtract coupon → add tax. If your store taxes differently, treat this as an estimate.
Results
Tip: a 20% discount then 10% discount is not 30% off — it’s 28% off (0.8 × 0.9 = 0.72).