← Free tools

Shopify checkout link generator

Pick your products, set the quantities, add a discount code. You get a link that opens your Shopify checkout with the cart already built, and a QR code for it.

Optional. Lets you pick products instead of typing IDs.

Your myshopify.com address or your own domain. Use the one your checkout runs on.

Products

Paste the number, the variant's admin URL, or a product URL that ends in ?variant=…. Where to find it.

One per line, or separated by commas. The code must already exist in your Shopify admin.

Where the link opens
Open in Shop PayFor stores that have Shop Pay turned on.

Anything typed here is readable in the link itself. Only prefill details for a link you send to that one person.

Shows under Notes on the order in your Shopify admin.

Shows as the referral code in the order's conversion summary.

Cart attributes

Your checkout link

Add your store address and one variant ID. The link appears here as you type.

Built in your browser. Nothing you type here is sent to us or stored. The product list is read directly from your own store.

Want the link to do more?

Checkout Links adds discounts that need no code, a popup with upsells before checkout, an end date, a usage limit, and clicks, orders and revenue for every link.

Get started
The guide

How Shopify checkout links work

The link is a Shopify cart permalink. It has three parts, and each one is something you typed above.

https://your-store.myshopify.com/cart/36485954240671:2,31384149360662:1?discount=WELCOME10
  • Your store address, then /cart/.
  • The products: each variant ID, a colon, and the quantity. Commas separate one product from the next. This example adds two of the first variant and one of the second.
  • The options, after the question mark: here, one discount code. Further options are joined with &.

Anyone who opens it gets a fresh checkout with those items. The same link can be sent to one person or to your whole list.

What the generator does, and what it leaves alone

It follows the format inShopify's cart permalink referenceand nothing else. No redirect sits in between and the link does not pass through checkoutlinks.com: it points straight at your store. The options it can write are the ones that reference lists.

OptionWhat it doesIn the link
Discount codeApplies a code that exists in your admindiscount=CODE
Several codesApplies them together if they are set to combinediscount=A,B
Cart pageLands on your theme's cart instead of checkoutstorefront=true
Shop PayOpens the Shop Pay checkoutpayment=shop_pay
Customer emailFills in the contact fieldcheckout[email]=
Shipping addressFills in name, street, city, province, country, postal codecheckout[shipping_address][city]=
Order noteShows under Notes on the order in your adminnote=
Referral codeShows as the referral code in the order's conversion summaryref=
Cart attributesNamed values, shown under Notes on the orderattributes[name]=value

Two details the generator handles for you. Spaces and symbols in a code, a note or an address are encoded so the link does not break when it is pasted into an email tool. And if you paste a variant's admin URL or a product URL instead of the bare number, it pulls the ID out.

Where to find a variant ID

  1. In your Shopify admin, go to Products and open the product.
  2. Click the variant you want (for example "Large / Blue").
  3. Look at the page address. It ends in /variants/ and a long number. That number is the variant ID. You can paste the whole address into the generator.

A product with no options still has one variant, but the admin does not show it as a separate page. Open the product on your store, add .json to the end of its address (/products/your-product.json) and look for "variants", then"id".

Use a variant ID, not a product ID. The two look alike, and a link built with a product ID does not add the product.

A worked example

You are emailing last month's buyers a refill offer: two bags of coffee and one filter pack, with the code REFILL15. The coffee variant is 44190031118 and the filters are 44190031455.

  1. Store address: beans.example.com.
  2. First product: 44190031118, quantity 2. Second: 44190031455, quantity 1.
  3. Discount code: REFILL15. Opens at: Checkout.
https://beans.example.com/cart/44190031118:2,44190031455:1?discount=REFILL15

Put that behind the button in your email. Before you send, open it in a private window: the three items should be in the order summary with the discount already taken off. For a flyer or a parcel insert, download the QR code and scan it with your own phone first.

What a cart permalink cannot do

These are limits of the Shopify feature, so they apply to any generator, this one included.

  • No way past a store password. On a password-protected store the shopper meets the password page first.
  • No subscriptions. Selling plans do not work in a permalink; it always adds the one-time purchase.
  • No discount without a code. The code has to exist, and a code with a comma in it cannot be used. Anyone who reads the link can read the code.
  • No end date and no cap. The link works until the variant is gone. It cannot stop after Friday or after 100 orders.
  • No numbers of its own. You see the orders in Shopify, but not how many people clicked this link, or which of two links earned more.
  • No step before checkout. There is nowhere to show the offer, let the shopper change a size, or add something to the order.
  • Long and fixed. The address is a string of IDs, and changing the offer means sending a new link.

If none of that matters for your campaign, use the free link. It is the right tool for a one-off message.

When it does matter, that is what Checkout Links is for. It is a Shopify app that makes short links on your own domain, with discounts and free gifts that need no code, a start and end time, a limit on uses, a popup over your store before checkout, and clicks, orders and revenue for each link. It costs $25 a month with a 7-day free trial.The full comparison with cart permalinksgoes through the differences line by line, and theShopify QR code playbook covers where to send a scan.

FAQ

Anything else?

More detail lives in the Help Center, or email us and a human answers.

It is a URL that opens your store's checkout with specific products already in the cart. Shopify calls it a cart permalink. The products, their quantities and, if you want, a discount code are written into the link itself, so the shopper skips the product page and the cart.

Yes. It runs in your browser and builds a standard Shopify cart permalink, which is a feature of every Shopify plan. There is no account, and nothing you type is sent to us.

In your Shopify admin, open the product and click the variant. The variant ID is the long number at the end of the page address, after /variants/. A product with no options still has one variant: open the product on your store and add .json to the end of its address, then look for the id under variants.

Yes. Add a row for each variant. The link lists them separated by commas, each with its own quantity.

It can apply a discount code that already exists in your Shopify admin. Add several codes and Shopify uses them together only when those discounts are set to combine. A code that contains a comma cannot be used in a link.

No. A cart permalink works for as long as the variants exist and are available on your online store. If you need a link that stops on a date or after a number of uses, that takes an app.

No. Shopify's reference states that selling plans do not work with cart permalinks, so the link always adds the one-time purchase.

When a plain link isn't enough

Discounts with no code, a popup before checkout, an end date, a usage limit, and clicks and revenue per link. $25 a month with a seven-day free trial.

Get started