🥊 UFC Smart Pricing — Automatic Discounts

Tiered discounts run at checkout via a Shopify Discount Function (automatic discount), not discount codes customers type in.

⏳ Checking automatic discount…

Embedded session

Uses App Bridge shopify:admin fetch (session token) and optional backend JWT verification.

⏳ Checking…

Discount Rules

Customer TypeTagDiscount
New Customer (1st order)discount-5050% off
2nd Orderdiscount-10-2nd10% off
3rd Orderdiscount-10-3rd10% off
4th+ OrderNo tagFull price
GovX Militarygovx20% off

How It Works

1. New customer accounts receive discount-50 (this app’s customers/create webhook).

2. At checkout, the Discount Function reads customer tags and applies the matching percentage.

3. Tag rotation after each order (50 → 10 → 10 → none) may be handled by your store’s order automation (e.g. UFC Ignite webhooks) if installed.

4. GovX: checkout always uses 20% off when the customer has tag govx (Function priority over tier tags). When govx is added later, this app’s customers/update webhook removes tier tags so profiles stay clean.

Testing / App Review: use a logged-in customer who has discount-50 (create a new account after installing this app). Guest checkout stays at full price. This is not a “discount code” flow — do not expect a code in the discount code box.