> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weblium.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).

# Creating promo codes in the online store

Promo codes are an effective marketing tool that helps attract new customers and encourage existing ones to increase their purchases in your store. You can create a promo code in your site settings, provide it to your customer (e.g., add it to email newsletters or specify it on the site), and your customer can then apply it in the shopping cart during checkout to receive a discount.

${youtube}[Creating promo codes in the online store](d-O-7V0-8cw)

# Creating a promo code
1. Open your site settings, go to **Your Store** section, select **Promo codes**, and click **Add promo code**:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-1_tzbc2p.png)

2. Configure the promo code:
① In the **Promo code** field, enter the code that will be given to your customers;

| ${color}[#1aa900](Note:) By clicking on the arrows in this field, you can generate a promo code value.

② In the **Promo code name** field, enter a name for easier promo code's identification by you and your team (the name for internal use);
③ In the **Discount type** dropdown, choose either **Fixed amount** or **Percentage**;
④ Enter the **Discount** amount in the corresponding field, which can be a specific sum or a percentage depending on your choise in the previous item.

|| ${color}[#ffa800](Note:) You can set a percentage discount from 1% to 100%, but keep in mind that if you have integration with a [third-party payment system](https://help.weblium.com/en-us/category/payment-methods-1fwj5d3/) and your customer makes a payment with it at a 100% discount, the order may not be paid, because most payment systems have a minimum payment amount of $0.50-1$. Add a [manual payment method](https://help.weblium.com/en-us/article/setting-up-manual-payment-in-your-online-store-9oea63/), or do not use payment methods if you need clients to apply 100% promo codes.

⑤ Select which products you can apply the promo code to - it can be either all products or a specific product category.
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-2_13zbe1o.png)

3. Save the created promo code by clicking **Save** at the top:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-3_1whoawh.png)

# Additional settings for the promo code

① The **Number of Uses** option allows you to define how many times a promo code can be used. You can either select **Unlimited** or set a limit using the **Limited** option.
② You can also set the time frame during which the promo code will be active or set it to have an unlimited validity period. 
③ In the **Applies to orders from** field, you can set a limit on the order amount from which this promo code can be applied.
④ In the **Promo code notes** field, you can add any comments you need.
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-21_syk420.png)
###### Deactivating a Promo Code
If you need to deactivate a promo code, click on its **Active** status at the top left of the promo code name and select **Inactive**:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-4_1ety5nx.png)
You can also change the status in the general promo codes list (you can access it as described in step 1 above).

# Displaying the promo code field in the shopping cart
If you installed your online store before June 2024, you need to add the promo code field to your cart in the editor. After creating the first promo code, you will see a notification prompting this action:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-5_1p9z2za.png)
| ${color}[#1aa900](Tip:) For stores created after June 2024, this action will be automatic — the promo code field will be displayed in the cart by default on all new websites.

1. To do this, open your site **editor**, go to the **page list** in the upper left corner, go to the **Store** tab, and click on **Shopping cart**. Then select the **Order details** element (it is almost always the first element) and activate the **Promo code field** checkbox:
![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-6_bhv8dc.png)
| ${color}[#1aa900](Tip:) If you need to hide the promo code field, follow the same steps and uncheck the "Promo code field" box.

On a published website, this field will look like this:

![](https://storage.crisp.chat/users/helpdesk/website/fa84b4d83a50e800/promokodi-angl-7_2zvn2c.png)

2. [Publish](/en-us/article/publishing-a-site-tgxmch/) your site to apply the changes.
