Create a permalink to send customers directly to the one-page-checkout TeleCheckout
A cart permalink takes your customers directly to the checkout screen with items pre-loaded into their cart.
Have you ever wanted to link directly to the Shopify checkout screen with a specific cart already loaded with items? Have you ever wanted to put a "Buy it now" button in blogs and newsletters? Have you ever wanted to provide an easy reorder link to customers? Cart permalinks are the answer.
This is what a cart permalink looks like:
https://yourstore.com/a/checkout/buy/31782371098702:1,31782371131470:1
Where 31782371098702
is the product variant's unique ID and 1
is the quantity.
So the format of the url is:
https://yourstore.com/a/checkout/buy/#{variant_id}:#{quantity}(,...)
Adding Discount Code
To add a discount code, append the discount
query string parameter to the above URL:
?discount=#{XYZ}
Specify the language of the checkout
To specify the language of the checkout, append the lang
query string parameter to the above URL, with the 2-letter language ISO code:
?lang=#{XX}
Can I let the customer edit quantities?
You can't. Quantities cannot be edited when the customer follows a cart permalink.
Finding a variant ID
Click here to learn how to find a variant ID from within your Shopify admin.