Shopify's admin already builds a QR code for any discount you create: open the discount page, and Shopify offers a code that applies it automatically once scanned, aimed at print material like a flyer, a receipt insert or a market stall sign. It's useful for that job, and it's where merchants stop looking, until they need a code for something the discount generator was never built for — a product page, a collection, a homepage, or the same discount with a color scheme that matches everything else on the label.
Both routes start from a link Shopify already gives you; the difference is how much control there is over the result and what it can point at.
Getting Shopify's own discount QR code
Create or open a discount code
In the Shopify admin, go to Discounts, and either create a new code-based discount or open an existing one.
Find the QR code option
Look near the discount's share or copy-link area for a QR code tab or button — Shopify builds it from the same URL that applies the discount automatically.
Download it as-is
It's ready to print immediately, with no styling step, tied permanently to that one discount code.
Build a separate code for anything else
A product page, collection, or the store's own URL needs a different starting link, encoded on a separate generator rather than through the discount tool.
What the discount QR code is actually built for
It exists to skip a step at checkout — scan it, and the discount applies without anyone typing a code by hand. It isn't a general-purpose store QR code, and using it for anything other than that one discount means the code does nothing useful.
Product pages, collections and the storefront itself
None of those have a built-in QR option inside Shopify's admin the way a discount does. A code for a specific product, a seasonal collection, or the store's main URL is built the same way any website link would be, on a separate generator.
Matching a code to packaging or in-store signage
A retailer printing codes on packaging, hang tags or in-store signs usually wants the color and any logo to match the brand, which Shopify's own discount QR doesn't offer — it's a plain black-and-white utility image. Building it separately closes that gap while still pointing at the exact discount link Shopify generated.
What each version holds
Shopify's discount code holds a specific checkout URL that auto-applies the discount. A separately built code can hold that same link, or any other page on the store — a product, a collection, or the homepage.
https://yourstore.myshopify.com/discount/SAVE20Sizing it for a receipt, a shelf or a hang tag
A receipt insert or hang tag is read up close, so 20 mm is enough. A shelf sign or window decal read from further into the aisle should scale up, following the same rule as any printed code: roughly ten times the code's width in viewing distance.
Print it at least 20 mm (2.0 cm) wide
Where a Shopify-linked code goes wrong
Printing a discount code's QR after the discount expires
The code still scans, but the checkout page shows the discount as invalid once its end date passes — the QR image itself has no expiry warning built in.
Expecting the discount QR to work for a product page
It's built exclusively around applying that one discount, not general navigation, so pointing customers at it for browsing doesn't do what's intended.
Using an unbranded code where packaging calls for a matched one
Shopify's own discount code has no color or logo options, which can look out of place on packaging or signage built around a specific brand palette.
Static covers most store links; dynamic helps with seasonal ones
A code pointing at a permanent product page or the store's homepage is fine as a free static code. A seasonal discount or a promotion that gets replaced every few months benefits from a dynamic code instead, so the same printed sign can be repointed at the next campaign without a reprint.
How dynamic QR codes workWhere these show up around a Shopify store
- A discount code's QR printed on a receipt insert for a customer's next visit.
- A product hang tag linking to that item's full page with more photos.
- A market stall banner linking to the storefront for people who'd rather browse later.
- Packaging with a code for care instructions or a registration page.