HomeBlog

Shopify Checkout Links and QR Codes: One-Click Checkout Setup

Create Shopify checkout links and QR codes that pre-fill the cart, apply a discount and track UTMs, so social, email and print shoppers land in checkout. Set one up.

Shopify Checkout Links and QR Codes: One-Click Checkout Setup

A Shopify checkout link is a URL that opens checkout with products already in the cart, so a shopper goes from a post, email or poster straight to payment. You build one from a cart permalink (/cart/variant_id:quantity), add an optional discount code, email, address and UTM tags, then share it as a link or a QR code.

Every step you remove between “I want this” and “Pay now” removes a place where a shopper can leave. Baymard Institute’s cart abandonment research (updated September 22, 2025) puts the average documented abandonment rate at 70.22%, and 17% of US shoppers who abandoned an order said the reason was a “too long / complicated checkout process.” A checkout link skips the product page, the variant picker and the cart, which is exactly the part of the journey that a shopper coming from Instagram, a newsletter or a printed flyer doesn’t need.

Close-up of a smartphone screen showing a shopping app, where a Shopify checkout link opens a pre-filled cart in one tap

Table of contents

A Shopify checkout link is a shareable URL that loads specific products and quantities into a new cart and sends the shopper directly to checkout. Shopify’s developer documentation calls these links cart permalinks and defines them plainly: “Cart permalinks take customers directly to a store cart or checkout with a pre-loaded cart.”

The same link can be reused by thousands of shoppers. Each click creates a fresh checkout, so one link printed on 5,000 flyers is fine. Beyond products, a checkout link can carry:

  • A discount code, applied automatically (the code must already exist in Shopify)
  • Customer details: email and shipping address, pre-filled
  • An order note and custom attributes, which show up on the order in Shopify admin
  • A referral code, shown in the order’s Conversion summary
  • A checkout language, via a locale path such as /fr/cart/...
  • UTM parameters, so analytics credits the right campaign
  • Shop Pay, sending the shopper to Shop Pay’s accelerated checkout

A QR code is the same checkout link encoded as an image. Shoppers scan it with their phone camera and land in checkout without typing anything, which makes QR codes the natural format for packaging inserts, posters, pop-up stalls and product labels.

A cart permalink is your store domain, /cart/, then one or more variant_id:quantity pairs separated by commas, followed by optional query parameters. Here is a real-format example for two variants, a discount and a campaign tag:

https://your-store.myshopify.com/cart/36485954240671:2,31384149360662:1?discount=SPRING15&utm_source=instagram&utm_medium=social&utm_campaign=spring-drop

The parameters Shopify documents for cart permalinks are:

ParameterWhat it doesExample
discountApplies an existing discount codediscount=SPRING15
checkout[email]Pre-fills the email fieldcheckout[email][email protected]
checkout[shipping_address][city] (and first_name, address1, zip, country…)Pre-fills the shipping addresscheckout[shipping_address][country]=Germany
noteAdds an order notenote=Market stall order
attributes[key]Adds a custom attribute to the orderattributes[source]=flyer-oct
refReferral code in the Conversion summaryref=creator-maya
storefront=trueOpens the cart page instead of checkoutstorefront=true
payment=shop_payStarts a Shop Pay checkoutpayment=shop_pay

Two details trip merchants up. First, the URL needs the variant ID, not the product ID, so you have to look it up for every size and colour. Second, query values must be URL-encoded, so a note with spaces or an & breaks the link if you type it by hand. Shopify also notes that discount codes containing a comma can’t be passed through the discount parameter, and that selling plans (subscriptions) don’t work with cart permalinks.

Want the link built for you? See how Kedra Checkout Rules works - a no-code Shopify checkout customizer that generates checkout links and QR codes from a form, plus the checkout rules that protect those orders.

Yes, but only basic ones: Shopify admin can create a checkout link for one variant at quantity 1, and only if the Buy Button sales channel is installed. According to the Shopify Help Center, you open a product, click More actions > Create checkout link, pick a variant and click Copy link. Links generated this way include a channel=buy_button parameter and, in Shopify’s words, “multiple variants or quantities require manual creation.”

That covers a single-product “Buy now” link in a bio. It doesn’t cover a bundle link (three products in one cart), a link with a discount and UTM tags already attached, a wholesale reorder link with a pre-filled address, or a QR code. For those, you either hand-build the URL from the parameter table above or use a builder.

Shopify now documents a successor format, Cart and Checkout Permalinks, which uses a /buy/ path and is Shopify’s implementation of the Universal Commerce Protocol (UCP), mainly so AI agents and apps can hand buyers a ready-made checkout. Shopify says it “still supports cart permalinks, but won’t add new features to them,” and that the legacy /cart/ format is still the one to use when you need cart notes, attributes, line item properties or ref referral codes, which the new format doesn’t support yet. For merchant-made marketing links that carry a note, attribute or referral code, the /cart/ format remains the practical choice in November 2026.

The native Shopify option is fastest for one product; a builder is fastest for anything with multiple items, discounts, tracking or a QR code.

CapabilityShopify admin “Create checkout link”Hand-built cart permalinkKedra Checkout Rules checkout links
Multiple products in one linkNo (one variant)YesYes, product picker
Custom quantitiesNo (quantity 1)YesYes, per product
Auto-applied discount codeNoYesYes
Pre-filled email and shipping addressNoYesYes, form fields
Order note, attributes, referral codeNoYesYes
UTM trackingNoYes, typed by handYes, three fields
Checkout languageNoYes, locale pathYes, published languages only
QR codeNoNeeds a separate toolYes, downloadable PNG
Saved, editable list of linksNoSpreadsheetYes, in the app
Risk of typos in IDs or encodingLowHighLow

Use checkout links anywhere the shopper has already decided and only needs to pay: social bios, emails, creator promotions, print, and repeat B2B orders. The best placements are:

  1. Instagram and TikTok bios or stories. One link with the featured product, a launch code and utm_source=instagram (or tiktok), so the campaign is measurable in analytics.
  2. Email campaigns and abandoned-browse flows. Link the button straight to a pre-loaded checkout instead of the product page; add utm_medium=email.
  3. Creator and affiliate promotions. Give each creator their own link with a ref code, so orders show the referral in the Conversion summary.
  4. Packaging inserts and refill cards. Print a QR code that reorders the exact refill size the customer bought, at the usual quantity.
  5. Pop-up stalls, trade shows and posters. A QR code next to the product lets a passer-by buy on their phone and get it shipped, with an attribute like source=market-stall on the order.
  6. Wholesale quick reorders. A link with the buyer’s usual 24 units and their shipping address pre-filled turns a phone call into a two-tap order.
  7. Bundles and kits. One link that adds the camera, the case and the memory card together, so the bundle can’t be half-bought.

For print, test the QR code on paper at the size it will be printed, on both iPhone and Android cameras, before you order a batch. A QR code is permanent once printed, so the URL behind it needs to stay valid. Keep the product, variant and discount code live for as long as the flyer is in circulation.

A shopper paying on a phone with a digital wallet, the kind of one-tap checkout a QR code on a flyer or package leads to

Kedra Checkout Rules builds the cart permalink from a form and generates a matching QR code, so you never touch a variant ID or URL encoding. Kedra Checkout Rules is a no-code checkout customizer built on Shopify’s checkout extensibility, and Checkout Links sits in the same app as its payment, shipping, validation and discount rules. The setup takes a few minutes:

  1. Install Kedra Checkout Rules and open Checkout Links in the app’s navigation menu.
  2. Click Create checkout link and give it a Link name you’ll recognise later (for example “Spring drop - Instagram”). Only you see the name.
  3. Under Products, click Add products, pick each product and variant, and set the quantity for each.
  4. Optional: under Checkout information, pre-fill the Email and Shipping address (useful for wholesale reorder links, not for public links).
  5. Optional: under Link options, add a Discount code (create it first in Shopify admin > Discounts), an Order note, a Referral code, Custom attributes, a Locale, and turn on Redirect to cart or Enable Shop Pay if you want either.
  6. Optional: under UTM tracking, fill in Campaign source, Campaign medium and Campaign name.
  7. Check the live preview: copy the generated URL, or click to download the QR code as a PNG named after your link.
  8. Click Create link. The link is saved in your Checkout Links list, where you can copy, edit or delete it later.

Two settings interact: Kedra’s checkout links documentation notes that when both Redirect to cart and Enable Shop Pay are on, Shop Pay may not trigger automatically, so pick one. Shopify’s own checkout guide says Shop Pay, “when used, it can lift conversion by as much as 50% compared to guest checkout” (based on a study Shopify commissioned from an unnamed consulting firm, so treat it as an upper bound).

Checkout links don’t count toward your plan’s rule limits. Kedra Checkout Rules has a free plan, and paid plans start at $6.99/month when you need more active rules per rule type or multi-condition rules.

Create my first checkout link and QR code - install Kedra Checkout Rules

Keep your rules working when shoppers skip the cart

A checkout link skips your product page and cart page, so any limit that lives only in your theme is skipped too; rules that run inside checkout still apply. Quantity caps in theme code or cart-page scripts never see a shopper who arrives through /cart/variant:50. Anyone can edit the number in a shared link. Kedra Checkout Rules’ validation rules run as Shopify Functions in checkout, server-side, so they catch these orders however the shopper arrived. That makes checkout links and order limits a natural pair. Four rules worth adding alongside your links:

1. Cap a limited drop, even if someone edits the link. Product quantity (pick the drop product) Is greater than 2 → Block checkout, message: “Limit 2 per order for this release.”

2. Stop bulk orders on a promo link. Order total quantity Is greater than 10 → Block checkout, message: “For orders over 10 items, contact us for wholesale pricing.”

3. Remove cash on delivery on high-value QR orders. Hide payment method “Cash on Delivery (COD)” when Order total amount Is greater than 200.

4. Keep wholesale reorder links on invoice terms. Hide card payment methods when Customer tag Contains string wholesale.

Each of these uses one condition, so each fits on the Free plan (1 active rule per rule type, 1 condition per rule). On Free, blocked shoppers see a standard error message; the custom messages quoted above, and combining two conditions in one rule, such as “Customer tag contains wholesale AND Order total quantity is less than 12,” need the Starter plan. For a deeper walkthrough of caps and minimums, read how to set order limits in Shopify, and for launch-day protection see how to protect flash sales from bots and bulk buyers.

Checkout links pre-load a cart; they don’t create discounts, reserve stock, or work for subscriptions. Be clear about the limits before you print anything:

  • Discount codes must already exist. The link applies a code, it doesn’t create one. If the code expires, the link still works but the discount silently stops applying.
  • No subscriptions. Shopify says selling plans don’t work with cart permalinks, so a subscribe-and-save product is added as a one-time purchase or not at all.
  • Out-of-stock or unpublished products break the link experience. Check every printed QR code’s products before a reprint or a campaign relaunch.
  • Unpublished languages return a 404. Only use a Locale that is published on your store.
  • Password-protected stores block them. Shopify notes cart permalinks can’t bypass a storefront password, so test after your store goes live.
  • A public link shouldn’t carry personal data. Pre-fill email and address only on links sent to one specific customer.
  • Links don’t track scans on their own. The UTM tags you set are what make QR traffic visible in Google Analytics or Shopify’s reports; a QR code without UTMs shows up as direct traffic.

About Kedra Checkout Rules

Kedra Checkout Rules is a no-code checkout customizer for Shopify. It lets you customize your checkout with payment, shipping, validation and discount rules, plus checkout links and QR codes, without writing code. Because the app is built on Shopify’s checkout extensibility and Shopify Functions, its checkout customization works on standard and one-page checkout layouts and survives theme changes. Use it to set order limits on quantity or spend, so pre-loaded links and campaign traffic can’t bypass your caps. To see how it compares with other options, read the best Shopify checkout rules apps for 2026.

Frequently Asked Questions

Build a cart permalink: your store domain, then /cart/, then variant_id:quantity pairs separated by commas, for example /cart/36485954240671:1. Shopify admin can create a single-variant link via More actions > Create checkout link when the Buy Button channel is installed. For several products, discounts or UTMs, build the URL by hand or use a checkout link builder.

Yes. Add ?discount=CODE to the cart permalink, or fill in the Discount code field in a link builder, and Shopify applies the code when checkout opens. The code must already exist in Shopify admin > Discounts, and codes containing a comma can’t be passed in the URL. If the code expires, the link still works without the discount.

How do I make a QR code for a Shopify product checkout?

Create the checkout link first, then encode that exact URL as a QR code. Kedra Checkout Rules generates the QR code alongside each checkout link and lets you download it as a PNG. Add UTM parameters before generating the code, so scans are attributed correctly, and test the printed code on iPhone and Android cameras.

Yes. Adding payment=shop_pay to a cart permalink sends shoppers to a Shop Pay checkout, and Kedra Checkout Rules exposes this as an Enable Shop Pay toggle. Shop Pay must be enabled on your store. If you also turn on Redirect to cart, Shop Pay may not trigger automatically, so use one option or the other.

Yes. A cart permalink is a plain URL, so anyone can edit the quantity before opening it, and shoppers can change quantities in checkout. Theme-based quantity limits don’t see these orders. To enforce a cap, use a checkout validation rule that runs inside checkout, such as blocking checkout when Product quantity is greater than 2.

A cart permalink keeps working as long as its products, variants and your store exist, and each click starts a fresh checkout. A link breaks or degrades when a variant is deleted, a product is unpublished or out of stock, a locale is unpublished, or the discount code expires, so review printed links before every campaign.

Turn every post, email and flyer into a checkout

Checkout links remove the product page, variant picker and cart from journeys where the shopper has already decided, and QR codes bring the same one-tap checkout to packaging and print. Build each link with the right products, a discount, a referral code and UTM tags, then pair it with checkout rules so caps and payment restrictions hold no matter how the shopper arrived.

Install Kedra Checkout Rules and create my first checkout link