Cart links guide
How to make a Shopify checkout link with a discount code
What you’ll need
Your store’s address (like your-store.myshopify.com or your own domain)
The format
https://yourstore.com/cart/44123456789:1,44123456790:2?discount=SAVE10Make one without hunting for IDs
- Type your store address in the Cart & Checkout Link Builder and click Read store.
- Search for the product, pick the variant and click Add.
- Type the discount code.
- Copy the link or download the QR code, then open it once in a private window.
Rules for the code
- The code must exist and be active in Discounts, and its rules (minimum, products, customer eligibility) still apply at checkout.
- A code containing a comma can’t be passed in a link.
- For several codes, separate them with commas (they must be combinable).