- Discounts tab: percent or fixed off, min spend, dates, usage limit
- Code box in cart; discount on products only, not shipping
- Orders save code and amount; Stripe shows it as a coupon
- Use counted only when the order is paid
Add cart, Stripe checkout, orders and order confirmation email
Step 4 part 2:
- Session cart per store with stock limits and self-correction.
- Checkout: shopper details, order snapshot, Stripe hosted payment page
behind a PaymentGateway interface, return-page and webhook confirmation.
- Orders tab for the merchant and a confirmation email in the store language.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>