How to set up coupons for BigCommerce

Last updated at:

You will learn

Sending coupons in your emails is a great way to provide an incentive to new signups, customers that are on the edge of making a purchase but need a little push, and customers that may be slipping away. In the email below, the customer is receiving a coupon as a thanks for providing feedback.

This guide walks through how to use your BigCommerce coupon codes and add them to emails you send from Klaviyo. There are two methods outlined. The first uses a static code that you create in your BigCommerce store, and then add to your emails. The second method utilizes a third-party app to help you create coupons in bulk. You can then upload those bulk codes into both your Klaviyo account and your BigCommerce store, and send unique codes to each of your subscribers.

Sending a Static Coupon Code

Static coupons codes are the easiest to create and send, but they are also very easy for customers to share, which can dampen exclusivity. You can remedy this by setting an expiration date for your static codes, and changing them every few weeks or every month. Just be sure to make this information apparent to your customers so they understand how long their coupons are valid.

To start, navigate to your BigCommerce admin and create a new coupon code. You can read all the details on BigCommerce coupons in this BigCommerce guide to using coupon codes.

In the example coupon above, take note of a few things:

  • Number of Uses
    We set this to "1 per customer" to ensure that each customer only uses this coupon code once.
  • Expiry Date
    We set the expiry date to the end of the month (in this case February), because we want to ensure our code isn't used beyond that date.

Next, to share this coupon, all we need to do is copy the Coupon Code from BigCommerce, and paste that into our Klaviyo emails. For our coupon, we can see the code in the image below:

Inside of our template we've got a number of options for pasting in our code. One great way to display a coupon is through a button. Make the font large and use a color that stands out. Also, be sure to include a text block above or below the coupon to help inform your customers about what the code is, and how to use it.

There are a few things to keep in mind when using static coupons:

  • As previously mentioned, if you're worried about your coupon spreading to too many customers, control the expiry date, and just send out another coupon when needed.
  • Klaviyo doesn't manage any of the metadata about your coupons, including the code, expiration date, discount amount, etc. All of this information is managed inside of your BigCommerce store.
  • If you're offering a coupon to a specific product, include a link to the product so your customers can easily click through your email to make a purchase.

Sending Unique Coupons Using a Bulk Upload

Using unique coupons is a great way to offer a personalized discount code to all of your individual customers.

Please keep in mind that this method requires a third party app to upload your bulk coupon codes into BigCommerce. There is no built-in method to create bulk coupon codes within BigCommerce, but you can ask for help in this thread.

First, create some unique coupon codes. There are a number of ways you can do this. For this example, we are going to use the website to create 1000 coupon codes. Navigate to and delete the default fields. Add a new field and set the type to Character Sequence, then enter in a series of asterisks. In the image below our coupon code is 10 characters long, so there are 10 asterisks.

Click Download Data and your codes will be saved to your computer in a CSV file. We will use this file to upload our coupons to both our Klaviyo account and our BigCommerce store.

To upload the coupons to your BigCommerce store you'll need to use a third-party app, such as Coupon Buster

Once you've installed an app that uploads coupons, you can import the CSV file containing your coupon codes.

After uploading your csv file to BigCommerce, you can monitor the progress of your upload on the Imports tab. Now that your coupon codes have been added to your BigCommerce store, it's time to add them to your Klaviyo account.

First, you must enable uploaded coupons in Klaviyo, if this feature is not toggled on already. To turn it on, navigate to Account > Settings > Profile Maintenance. Toggle on the Show an Uploaded Coupons tab on the Coupons Page option.


Once you enable uploaded coupons, you will see a corresponding tab in Coupons.

Then, navigate to your coupons tab and click Add Coupon.

Set the name and other metadata for your coupon within Klaviyo. If you choose to set an expiration date, make sure it matches the date of the coupons you set up in your BigCommerce store. Once your coupon is set up, click Add Coupon.

After you create a coupon, you have to add codes to it. This is where we will use the CSV file we just uploaded to our BigCommerce store.

On the coupons tab, click the Edit dropdown for your coupon, and select Add Codes.

Select the CSV file containing your codes, and click Start Import.

Your coupon codes will begin to import. You can check the status of your codes on the coupon tab. There are a few important things to note before sending uploaded coupons.

When sending uploaded coupon codes in emails, if your send list is larger than your available coupon codes, then the messages scheduled will be skipped.

  • If the code is used in a campaign message, Klaviyo will compare the number of expected recipients to the number of available codes for the coupon used. A warning is displayed if there aren't enough codes available, and you are unable to send the campaign.
  • If the code is used in a flow message, Klaviyo will compare the number of expected recipients to the number of available codes for the coupon used. Flow emails that contain coupon codes with 0 available cannot be turned live. At send time, if a flow email contains a coupon with no available codes, the email will be skipped. You can see who was skipped by clicking into the analytics of the flow email and clicking Recipient Activity > Other.

Keep in mind that once you have used all of your codes in Klaviyo, you will have to upload new codes to both your BigCommerce store as well as your Klaviyo account.

The last step is to add your coupon code to your email. To start, copy down the coupon name as it is displayed on your Coupons tab inside of Klaviyo.

Next, inside of your email template, add the following snippet wherever you want to paste in your code. Make sure to replace "CouponName" with the actual name of your coupon.

{% coupon_code 'CouponName' %}

Below are a few visual examples to help you out.

Adding a coupon to a text box:

Adding a coupon to a button:

Using Coupons in SMS Messages

Unique coupons are also available for your SMS/MMS messages. Generate the codes just like you would for email. Then, use the template tag below to add the coupon code to your SMS or MMS message:

{% coupon_code 'CouponName' %}.

In the snippet, change CouponName to the name of the coupon you want and add it into the message (either flow or campaign).


Like with flow emails, you can only use one coupon code per SMS message. If you try to use more than one, you will receive the following error. 


More Coupon Resources

We also have a guide on How to Use Coupons in Klaviyo, which covers more details on coupons, such as using barcodes if you have a physical store.

For inspiration on how to style your email, check out to see some example email templates that have coupons.


Was this article helpful?
43 out of 61 found this helpful