You will learn

Learn how to add a link to an email that applies an item to a BigCommerce cart. If you are prompting someone to view and purchase a specific product, such as a sale item, you can provide a link that they can click to add the item to their shopping cart.

Before you begin

Make sure that you’ve already integrated your Klaviyo account with BigCommerce, and have created an email where you want to add your link.

Note that this process only works for BigCommerce products without variations.

1. Find and copy the Product ID for the relevant item in BigCommerce. You can find this ID by exporting the product from BigCommerce and checking the Product ID column.

Alternatively, you can do this by editing the product and locating the Product ID in the URL, as shown in the image below.

BigCommerce admin product editing page for a sample product, with the Product ID highlighted in blue within the URL
BigCommerce admin product editing page for a sample product, with the Product ID highlighted in blue within the URL

2. In Klaviyo, find the email template you'd like to edit and drag a Button block into your template; you can use whatever button text you'd like.

3. Within the button block, enter the following string in the Link URL box:
{{ organization.url }}cart.php?action=add&product_id=##

Email template editor in Klaviyo with button and button block setting Link URL highlighted
Email template editor in Klaviyo with button and button block setting Link URL highlighted

4. Where you see ##, replace these double hashes with the BigCommerce Product ID you copied.

5. Click Save to save your content.

When the recipient clicks the button, they will be taken directly to their shopping cart on your site with the specified product already added. If you don't want to use a button, you can hyperlink any text in your email and use the same URL string.

Outcome

You've now added a link to an email that applies an item to a BigCommerce cart.

Additional resources

  • Getting started with BigCommerce

    Learn how to enable the BigCommerce integration in Klaviyo, add Viewed Product tracking, and confirm that all onsite tracking is working properly for your store.

  • How to set up coupons for BigCommerce

    Learn how to set up BigCommerce coupon codes to use in Klaviyo emails and SMS so you can incentivize new subscriber and past customers to make a purchase. This guide will walk you through 2 methods for adding coupon codes to your emails:

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type