← Return to Content Library

Shopify Cart Permalinks: What are they? How do I use them?

Cart permalinks are a powerful feature in Shopify that allows you to create a direct link to a pre-filled shopping cart. These links can include specific products, quantities, and even discounts, making it easier for customers to complete their purchase with minimal effort.

Key Benefits of Cart Permalinks:

  • Seamless Shopping Experience: Customers can skip the hassle of searching for products and adding them to their cart manually. Instead, they can click on a cart permalink and find all the intended items already in their cart, ready for checkout.
  • Customizable Marketing Campaigns: You can use cart permalinks in your marketing efforts, such as email campaigns, social media promotions, or ads. By creating a permalink with specific products and offers, you can guide customers directly to a tailored shopping experience.
  • Reduced Abandoned Carts: Since the cart is pre-filled, there's a higher chance that customers will proceed to checkout, reducing the likelihood of abandoned carts.
  • Simplified Upselling and Cross-Selling: Cart permalinks make it easier to suggest complementary products. For instance, if you're promoting a new product, you can include related items in the cart permalink to encourage additional purchases.

How to Create a Cart Permalink:

To create a cart permalink in Shopify, follow these steps:

  • Build the URL: Start with your store's URL, then add /cart followed by the product variant IDs and quantities. For example:<https://yourstorename.com/cart/123456789:1,987654321:2>
    In this example, the cart permalink adds one of the first product and two of the second product.
  • Add Discounts: If you want to include a discount code, simply append ?discount=DISCOUNTCODE to the end of the URL: <https://yourstorename.com/cart/123456789:1,987654321:2?discount=SUMMER20>

  • Share the Link: Once your cart permalink is ready, you can share it through emails, social media, or any other platform to drive traffic to your store.

Use Cases for Cart Permalinks:

  • Promotions and Sales: Launch a sale with a pre-filled cart that includes the discounted items.
  • Product Bundles: Offer a bundle of products and link directly to a cart that includes all items.
  • Exclusive Offers: Create a VIP experience with a cart permalink that includes a special discount or limited-time offer.

By leveraging cart permalinks, you can streamline the shopping process for your customers, boost your marketing efforts, and ultimately increase your store's conversion rates.

Click here to view code →