> For the complete documentation index, see [llms.txt](https://support.storefront.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.storefront.co.za/features/promotions/promo-codes.md).

# Promo Codes

Promo codes give customers a discount when they enter a code at checkout. They are a marketing tool: you distribute the code by email, social media or paid advertising, and the code both delivers the offer and tells you which campaign produced the sale.

Unlike discounts, which apply automatically, a promo code only takes effect when the customer enters it.

### How to Create a Promo Code

1. Click on Promotions > Promo Codes
2. Click on the Create button
3. Select which store you wish to add the promo code to
4. Enter the code that customers will use
5. Enter the promo code name
6. Select a valid from and valid to date
7. Choose Amount or Percentage from the dropdown and enter the value
8. Fill in the rules associated with the promo code
9. Click on the Create button to add a policy
10. Add your allow and deny characteristics
11. Click OK, then click Create
12. Click the kebab menu against the code and select active to make it usable

{% hint style="warning" %}
A promo code does nothing until its status is set to active. This is the most common reason a new code is reported as not working.
{% endhint %}

{% hint style="info" %}
When filling in the rules, a value of zero means unlimited. Add your deny policies before your allow policies, as the order they are added in matters.
{% endhint %}

Redemptions, and which customers used which code, are shown in the Promo Codes Report.
