Shopify’s own discount codes each hold one kind of discount, so “spend $100, get 20% off and free shipping” normally takes two separate discounts. With OneCode: Stackable Discounts, one code holds both. You set a $100 minimum for the whole code, then add a 20% product discount and a free shipping discount. From $100 the customer gets both. Below $100 the code gives nothing.
What the customer gets
In this example the code is SAVE100.
- A $120 cart (a $70 shirt and a $50 tote) gets 20% off each item, $24 in total, and free shipping. The customer pays $96.
- A $100 cart gets $20 off and free shipping. The customer pays $80.
- An $80 cart doesn’t qualify. The customer pays $80 for the items plus shipping.


The $100 is checked before the 20% comes off. A $110 cart qualifies even though the items cost $88 after the discount.
Set it up
- In OneCode, click Create discount, choose Discount code and enter
SAVE100. - In Global Conditions, click Add Condition. Set Field to Cart Subtotal, Operator to Greater than or equal to and Value to
100. Global Conditions apply to the whole code: if one isn’t met, nothing in the code applies. - Click Add Discount Type. Leave it as a Product Discount on All Products, and enter
20in Percentage. - Click Add Discount Type again. Set Discount Type to Shipping Discount and keep Free Shipping.
- Click Save discount.
Here is the same setup in the editor, saved under the code SPEND100:
Variations
- A different minimum for each part: leave Global Conditions empty and give each discount type its own Cart Subtotal condition under Per-Discount Conditions. For example, 20% off from $100 and free shipping from $75.
- Only the cheapest shipping rate free: set the shipping discount’s Rate Selection to Cheapest Rate. It makes the cheapest paid rate free and leaves the other rates at full price.
- $10 off the order instead of 20% off the items: set the discount type to Order Discount, choose Fixed Amount as the Value Type and enter
10. The $10 comes off the order as one line instead of being spread across the items. - Bigger rewards for bigger carts: add higher tiers to the same code. See spend more, save more.
- A free gift at $100: see free gift with purchase.
OneCode costs $9.90 USD every 30 days after a 7-day free trial, billed by Shopify. Install it from the Shopify App Store.
