Add Link that Automatically Adds an Item to a Customer's Cart

read

Overview

If you are prompting someone to view and purchase a specific product, for example, a sale item, you may want to provide a link/button where this person can click and instantly add the item to his/her shopping cart.

Note

This process only works for products without options.

Create Link that Adds an Item to a Customer's Cart

First, find 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, or by editing the product and locating the Product ID in the URL.

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. We'll be updating the Link URL field.

addItemToCartButton.png

Here, enter the following string as the Link URL:

{{ organization.url }}cart.php?action=add&product_id=##

Where you see ##, replace these double hashes with the Product ID for the item you'd like to get added to the shoppers cart.

This button, when clicked, will take the recipient directly to his/her shopping cart on your website with the specified product already there waiting. If you don't want to use a button, you can hyperlink any text and use the same URL string.

Was this article helpful?
0 out of 0 found this helpful