Bioshelf

Free tool

Free Shopify cart link builder

Updated on

Variant ID
Your link

Runs in your browser: nothing you type is sent to us.

This tool builds a Shopify cart link, which Shopify calls a cart permalink: one URL that loads the products and quantities you choose.

How to use it

  1. Enter your store domain, for example my-shop-name.myshopify.com.
  2. Add one or more variant IDs, each with a quantity.
  3. Optionally, add a discount code.
  4. Optionally, add a referral code (ref) and choose to open the cart instead of checkout.
  5. Copy the cart link.

Shopify documents the format in its Help Center and in its developer docs. You start with your store domain, add /cart/, then each variant as variant ID:quantity. Several variants are separated by commas.

What you wantLink
One itemhttps://my-shop-name.myshopify.com/cart/36485954240671:1
Several itemshttps://my-shop-name.myshopify.com/cart/36485954240671:3,31384149360662:1
With a discount codehttps://my-shop-name.myshopify.com/cart/36485954240671:1?discount=15off

A few things Shopify's documentation says about these links:

Finding a variant ID

Shopify's guide to finding a variant ID gives three ways:

  1. Product with variants. In your Shopify admin, go to Products, open the product, click the variant, and look at the address bar. The number after /variants/ is the variant ID.
  2. Product without variants. Open the product in your Shopify admin, add .json to the end of the URL in the address bar, and find the id under product, then variants.
  3. Many products at once. In Analytics, then Reports, create a new exploration with the metric Percent of inventory sold and the dimensions Product title, Product variant title and Product variant ID. You can save or export it.

Which domain to use

Shopify's examples use the store's myshopify.com address. If your store has a custom primary domain, Shopify redirects the myshopify.com address to it, so the myshopify.com form is a safe choice.

Tips and common mistakes

More free tools are on the tools page.

Where Bioshelf fits

Bioshelf doesn't create cart links. It's a link-in-bio page for Shopify stores, launching soon on the Shopify App Store, and its product cards open the product page, where shoppers pick a size or colour. This tool is for your other links: DMs, emails and QR codes.

On install, Bioshelf builds your page from your store, and UTM parameters are added automatically to every link to your store. A page shows up to 12 products. One plan: $14/month, with a 7-day free trial.

Sources