
How to Build a Quiz on Shopify Without an App (Step-by-Step Guide)
Build a product quiz on Shopify without an app: question and result blocks, simple rules, personal results with your own product cards,…
Add 5%, 7% and 10% tiered Black Friday discounts to Shopify with custom Liquid: cart progress messages, a sale banner and mobile-ready design. No app.
Black Friday is the one weekend a year when a small change to your Shopify store can pay for itself many times over. But the most effective offer for high-ticket stores, the tiered “spend more, save more” discount, is also one of the hardest to show properly on a Shopify theme. In this guide we walk through a real project: how we built a 5% / 7% / 10% tiered Black Friday discount for a luxury jewelry store using custom Shopify Liquid and CSS, with no paid app.
The brief from the client was short and clear. They wanted:
They also added a warning that many store owners will recognise: “Your coder or upsell app would need to calculate that number, so check that it’s possible before you choose this version.” It is possible, and it doesn’t need an app.
On paper this sounds like “add three discounts and a banner”. In practice, a tiered offer that actually helps sales has several moving parts:
| Cart subtotal | Discount | Cart message |
|---|---|---|
| Under $3,500 | 5% | You’re $X away from 7% off your order. |
| $3,500 to $7,499 | 7% | You’ve unlocked 7% off. You’re $X away from 10% off. |
| $7,500 and above | 10% | You’ve unlocked 10% off. |
Only the best tier applies. The thresholds are based on the cart subtotal after product-level discounts and before shipping and tax, which is the same basis Shopify uses for an order discount’s minimum purchase amount.
The theme code only shows progress. The discount itself comes from Shopify. In Discounts → Create discount → Amount off order, choose Automatic discount and create three of them:
On all three, leave Combinations switched off. When several automatic order discounts qualify and none of them combine, Shopify applies the one that saves the customer the most. That solves the stacking problem without any code.
Set a start and end date on each discount. A scheduled discount can be created days in advance without affecting the live store.
This is the heart of the project. We wrote a Liquid snippet that renders inside the cart drawer and on the cart page. It reads the cart subtotal, works out the current tier and the next one, and prints the right message.

The core of the logic is short:
{%- liquid
assign subtotal = cart.items_subtotal_price
assign current_pct = p1
if subtotal >= t2
assign current_pct = p2
endif
if subtotal >= t3
assign current_pct = p3
endif
-%}
A few details make the difference between “works in a demo” and “works on a real store”:
USD:3500,CAD:4800). If a shopper’s currency isn’t listed, the message hides rather than showing a wrong number.role="status", so screen readers announce the change.
Custom code shouldn’t mean the client has to call a developer to change “7%” to “8%”. We added a Black Friday tiers panel to the theme settings with:
[amount], [percent] and [savings].The homepage section, cart drawer and cart page all read these same settings, so the numbers can never drift apart.
The announcement bar tells shoppers there’s a sale. The homepage hero explains it. We built a dedicated “Black Friday tiers” section with:
Most Black Friday traffic arrives on phones. Our first mobile version placed the white box over the photo, which hid the model and the jewelry, the very thing the store sells. We added three mobile layouts the client can choose from:

Everything was built on a duplicate, unpublished copy of the live theme. Theme settings on an unpublished theme don’t affect visitors, and the real discounts were created with a future start date. To check checkout totals before launch, we used temporary discount codes limited to a single test customer, then deleted them.
On launch day the only action needed is to publish the prepared theme at the moment the discounts start. The previous theme stays saved, so rolling back takes one click.
Every store is different. Your theme, your price points and your brand all change what the best setup looks like. We build tiered discounts, cart progress messages, custom sections and other Shopify features with clean Liquid, CSS and JavaScript, tested on an unpublished theme before anything goes live.
Get custom Shopify coding at a competitive price. Send us a message with your store URL and what you’d like to offer, and we’ll reply with a clear quote and timeline.
Yes. Create one automatic “Amount off order” discount per tier, each with its own minimum purchase amount and with combinations switched off. Shopify applies the best one that qualifies. Custom theme code then shows shoppers how close they are to the next tier.
Not if Combinations is left off on every tier. With combinations off, Shopify applies only the single best automatic discount.
No. It is rendered by the theme in Liquid with a small stylesheet and no extra JavaScript, so it adds almost nothing to page weight.
Yes. The savings amount is calculated in Liquid from the next threshold and percentage, so “Add $700 more and save $245 total” works without an upsell app.
Yes. Change the percentages, thresholds and wording in theme settings, update the discount dates, and the same setup works for Cyber Monday, holiday sales or anniversary events.