How to add a link that applies an item to a BigCommerce cart

Estimated 2 minute read
|
Updated Aug 29, 2024, 4:58 PM EST
You will learn

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

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.

Add your item link

Add your item link

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

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

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

Outcome

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

Additional resources

Additional resources

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.
Live training
Join a live session with Klaviyo experts to learn about best practices, how to set up key features, and more.
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