Shopify Create Permalinks

1. Permalink to Checkout

To create a direct link to the checkout with a specific product variant:

  1. Use the following format:
    https://markstestingstore.com/cart/{variant_id}:{quantity}/checkout
  2. Replace {variant_id} with your variant ID  and {quantity} with the desired quantity.
  3. Example:
    https://markstestingstore.com/cart/51949159841814:1/checkout

2. Permalink to Checkout Using Discount Code

To include a discount code in the checkout link:

  1. Use the following format:
    https://markstestingstore.com/cart/{variant_id}:{quantity}/checkout?discount={discount_code}
  2. Replace {variant_id} with your variant ID, {quantity} with the desired quantity, and {discount_code} with Your Discount code.
  3. Example:
    https://markstestingstore.com/cart/51949159841814:1/checkout?discount=PERMALINKDISCOUNT

3. Permalink to Cart

To create a direct link to the cart with a specific product variant:

  1. Use the following format:
    https://markstestingstore.com/cart/{variant_id}:{quantity}
  2. Replace {variant_id} with your variant ID and {quantity} with the desired quantity.
  3. Example:
    https://markstestingstore.com/cart/51949159841814:1

4. Permalink to Cart Using Discount Code

To include a discount code in the cart link:

  1. Use the following format:
    https://markstestingstore.com/cart/{variant_id}:{quantity}?discount={discount_code}
  2. Replace {variant_id} with your variant ID{quantity} with the desired quantity, and {discount_code} with Your discount code
  3. Example:
    https://markstestingstore.com/cart/51949159841814:1?discount=PERMALINKDISCOUNT

Finding the Variant ID

  1. Navigate to your product in the Shopify admin.
  2. Add .json to the end of the product URL to view the JSON data.
  3. Locate the variants section and find the id for the variant you need.

Finding Variant ID

These steps will help you create permalinks for your Shopify store. If you have any further questions or need additional assistance, feel free to reach out!