If you need to create a direct link to your Shopify checkout, you can now do that using Checkout Links. In the past, this was possible using a Buy Button sales channel, but the customizations were very limited.
Now you can construct a permalink and specify parameters like products, quantities, payment method, discount, etc. You can also prefill the customer information with data.
How to Construct the Checkout Permalink
The basic format is
so for example
To add multiple products, you can add a comma after the quantity parameter of the first product. Just like this
If you don't want to add any products to the cart, but only redirect customer to the checkout use following format. Please note customer needs to have some product(s) in the cart.
Keep in Mind
- You can also use your custom domain in the URL. The checkout link will work with both but always redirect to your default domain.
- You can only use the variant ID, not the product ID. Even if the product has no variants, it always has a variant ID that is actually different from the product ID. See how to find a product's variant ID.
How to Prefill Customer Data
Besides generating the standard checkout, you can also add a few parameters and prefill customer data (if you know them) to make the checkout process more straightforward. For example
In our example above, you can see all the shopper information are prefilled, and customer can simply continue to the next step without any input.
List of Available Parameters
Using custom generated checkout permalinks can be a powerful tool, especially if you can integrate them into your existing email marketing tools or any CRM database.
You can also create direct buy links and insert them in your ads, social media content, or even a site running on a different platform (i.e., blog on WordPress).
And there are probably dozens of other use cases when direct checkout links can be handy. For example, we are using it on our preview store for the Last Upsell app because we need visitors to go through the checkout as fast as possible to see the post-purchase offer.
If you are looking for more ways how to optimize or customize your Shopify Checkout, make sure to check our ultimate guide to Customize & Optimize Your Shopify Checkout.