Sale discount

Apply a percentage discount once, then multiply the reduced price by the number of items. The sample uses a $80 item with a 25% discount.

How it works

  1. Change originalPrice and discount to match the offer.
  2. Set quantity to the number of items in the basket.
  3. Use orderTotal as the discounted subtotal before shipping or tax.

Keep taxes and delivery as separate named lines when you need the full checkout total.

Next: find a break-even point