> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.spreadsimple.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Setting up Promo codes

In this help article we will explain how you can create and configure promo codes — the feature that will allow to offer your customers items or a certain group of items at discount.
----
### Enable promo codes

Go to the `Checkout` Tab -> **Promo codes** menu and switch on the **Enable promo codes** toggle.
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-1_1t9cri1.png)

Once the promo codes are enabled, you will immediately see a new dedicated field in your checkout form.
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-2_nl09wq.png)

### Configure a promo code

To create a new promo code, click on the **+Add promo code** button 
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-3_ljgxzi.png)

Then you will be able to configure your promo code by filling in the settings fields:
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-4_1b3o96d.png)

Into the **Code** field type in the code which is the combination of letters and numbers that your customers will need to enter during checkout. Please note, **the code сan contain only Latin letters and numbers with no spaces but you can use dash** `-` **or underscore** `_`.
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-6_hjexs.png)

In the **Discount type** menu, select one of the available discount options:
![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-5_k0rmld.png)

Select `-` to reduce the order subtotal by a specific amount, for example, **$10**

Select `%` to reduce the order subtotal by a certain percentage, for example, **15%**

Select `Shipping discount (%)` if you want to offer free shipping or shipping at discount. Please note, that only certain percentage (e.g. 50%) can be set for promo codes for shipping.

Enter the necessary value into the **Discount value** field and enter the number of times that promo code can be used to the **Usage limit**

![This means your order amount will be reduced by 15% after applying the promo code and can be applied no more than 100 times](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-7_1s3k7vd.png)

Select **Code expiration** date and time (time will be set in user's local time zone).
![In this example, the promo code will automatically expire on March 31st at 12 PM](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-8_1q0ch4y.png)

Also, you can define which items your discount will be applied to. If you want it to work for all the items, leave the `*` (asterisk) in the field, click on the **Add** button and save the changes. 

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-9_1yrni4l.png)

Now we can see our promo code in the list, and we can also see how many times it was applied:

![You can edit or/delete your promo code any time](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-10_1cccm9d.png)

And we can see our Subtotal reduced once the promo code is applied on site

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-11_j5gd4y.png)

### Setting up promo code only for a certain group of items

|| Please note that this option won't be available for shipping discount!

You can define the group (or category) of items the promo code can be applied to. 

To do that, you need to make sure one of the columns in your Google Sheet is mapped to the **SKU** element in the Content Tab.

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-12_1mmys6t.png)

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-13_1d5g7dq.png)

Then, in your promo code settings, you can enter the SKUs of the items that you want to offer on the discount. 
You can add several SKUs separated by commas:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-14_1u607si.png)

This way, the promo code will be applied only to those items if they’re added to the cart:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-15_1po3ou2.png)

Or you can use **regex functionality** (`*`) and add not the entire SKU value, but only a certain part of it. This way you can select a group of items without adding all their SKUs to the field. 

For example, if you have several SKU values that include the word **pizza**, you can add `*pizza*` to the SKUs field – this way your promo code will be applied to all the pizzas.

![These are our SKU values in the Google Sheets](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-18_1ly2tl8.png)

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-16_ta59gf.png)

|| Please note that regex is case sensitive, so if your SKU includes **capital letters**, you need to use them in the SKUs field as well. For example, if the SKU in the Sheet is **Pizza123**, the item won’t be found if you enter `pizza*` to the SKUs field.

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-17_2um5vs.png)

And if the SKU value ends with **burger**, you can add `*burger` to the SKUs field and have promo code working for all the burgers.

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-19_kwfy72.png)

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-20_1w0yzdr.png)

And after promo code is applied on the order form, all the burgers’ prices are reduced:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-21_p59go7.png)

|| Please note, if you are using a promo code that reduces the price by a certain amount, the reduced price can’t be less than 0! 

For example, we have a promo code **- $15** for burgers:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-22_1d6z6ak.png)

So if we add a burger that costs **$11.99** and we apply our promo code…

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-23_1akd0u6.png)

… we'll see its price reduced to zero:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-25_4mu70d.png)

And the discount is just - $11.99. 

But if we add another burger to the cart or change the quantity of the one that’s already added, the discount will be $15:

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-codes-26_kgugma.png)

### Create a promo code for free shipping

If you want to offer your customers a free shipping, you need to create a new promo code, select `Shipping discount (%)` in the **Discount type** menu and enter `100` into the **Discount value** field: 

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/shipping-promo-code_1ujmiq3.png)

After your customers enter this promo code during the checkout, the shipping fee will be reduced to 0.

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/shipping-promo-code-1_1h6r03d.png)

### Adding promo code information to the email notifications/receipts

To include the applied promo code and discount to the [email notifications](https://help.spreadsimple.com/en/article/setting-up-email-notifications-n8iyqz/) or [email receipts](https://help.spreadsimple.com/en/article/how-to-set-up-email-receipts-158mx3i/) add the following replacement tags to the necessary template in the Checkout Tab:

```Applied code: {{promoCodeApplied}}
Total discount: {{totalDiscount}}
Total discount formatted: {{totalDiscountFormatted}}```

![](https://storage.crisp.chat/users/helpdesk/website/918f9541750fe800/promo-code-26_7sc1qc.png)
