Skip to content

Cart Links

Cart Links let you create a URL that, when clicked, takes a customer directly to checkout (or cart) with specific products already loaded. You can also pre-fill contact details, apply a discount code, and attach an order note, all in one link.


SettingDescription
Link nameInternal label for this link
ProductsOne or more products with quantities
Discount codeAutomatically applied when the link is opened
Redirect to cartSend customer to the cart page instead of going straight to checkout
Customer emailPre-fill the email field at checkout
First name / Last namePre-fill the shipping name fields
Address line 1 / 2Pre-fill the address fields
City / Province / Country / ZipPre-fill remaining address fields
Order noteAttach a note to the order
  1. Go to Cart Links and click Create cart link.
  2. Enter a link name (internal only).
  3. Select the products and quantities to include.
  4. Configure optional fields: discount code, redirect preference, pre-filled customer info, order note.
  5. Click Save.
  6. Copy the generated URL from the listing and use it in emails, ads, or anywhere else.

  • Cart links work for any customer and login is not required.
  • The generated URL encodes products as variant IDs and quantities in Shopify’s standard cart URL format.
  • If Redirect to cart is off (default), the link goes directly to /checkout. If on, it goes to /cart/....
  • Discount codes applied via cart links follow the same rules as codes entered manually (usage limits, expiry, etc.).
  • If linked products are out of stock, Shopify handles the out-of-stock state normally.
  • If a linked product is deleted from your store, the cart link will fail to load that product. Update or retire the link if you remove products.

Use caseHow to set it up
Email campaign: send customers directly to checkout with a recommended productAdd product + discount code, leave redirect off
Influencer campaign with a tracked discountAdd product + unique discount code per influencer
Abandoned cart recovery: pre-fill their last cartAdd abandoned products, pre-fill email, apply a win-back discount
Wholesale order form: send a B2B buyer directly to checkout with their standard orderAdd standard SKUs, pre-fill their shipping address
  • Use a unique discount code per campaign link to make it easy to track which link drove conversions.
  • Test your cart link in an incognito browser before sharing to see the exact customer experience.
  • Keep link names descriptive (e.g. “BF2024 - Bundle A - Influencer XYZ”) so they’re auditable later.
  • If you have a time-limited discount, set an expiry on the discount code in Shopify as the cart link itself has no expiry.