Shopify Tiered Discounts via Shopify Functions: 5% at $100, 10% Plus Free Express at $150
A developer series on Shopify Functions shows how a single Discount Function can apply tiered order discounts and shipping perks. Spending $100 earns 5% off, while spending $150 raises the discount to 10% and makes Express shipping free. The tutorial explains the function's two targets, one for cart lines and one for delivery options, and how discount classes control what the code may return. The creator also tested a non-combinable discount code and found it replaced the automatic discount entirely. Combining discounts requires both to allow it through the combinesWith setting.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in