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)

Build a checkout link

The format

Checkout link with a code
https://yourstore.com/cart/44123456789:1,44123456790:2?discount=SAVE10

Make one without hunting for IDs

  1. Type your store address in the Cart & Checkout Link Builder and click Read store.
  2. Search for the product, pick the variant and click Add.
  3. Type the discount code.
  4. 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).

More guides