QR codes for discounts
Select a discount and choose Generate QR code.
- Discount code: the code the QR applies.
- Redirect to: where the customer lands, Homepage, All products (
/collections/all) or a Custom path.
Then Download PNG or Copy image URL.
In the app’s words: “The QR encodes the Shopify discount URL, so customers who scan it will land on your store with the discount applied.”
What the QR opens
Section titled “What the QR opens”The QR holds your store’s discount link, https://<your-store>.myshopify.com/discount/<code>, plus ?redirect=<path> when you choose where to land. Shopify applies the code and sends the customer on.
The hosted image URL
Section titled “The hosted image URL”Copy image URL gives an image you can use anywhere an image link works:
https://admin-next.codebulk.app/qr?shop=<your-store>.myshopify.com&code=<code>&redirect=/collections/all&size=400| Parameter | Required | Notes |
|---|---|---|
shop |
yes | your *.myshopify.com domain |
code |
yes | the discount code |
redirect |
no | a path starting with / |
size |
no | 100 to 1000 pixels, default 400 |
The image is a PNG, cached for a day. It only works for stores that have CodeBulk installed: other stores get a 404, and a missing shop or code gives an error.
For a different QR in each customer’s email, see Unique QR codes in emails.