> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Create an Advanced Promo Code

> Different codes for different products

This article shows you how to create a promotion code that applies different discounts to different products. You also learn how to create an optional mandatory product which is a required purchase before Upmind applies the promo code discount.

Upmind offers two offer types of discounts.

* For store-wide discounts, create a [single discount](/using-upmind/marketing-tools/how-to-create-a-basic-promotion-code) code for every product or service.

* For a [group discount](/using-upmind/marketing-tools/how-to-create-a-promo-code-for-a-group-of), create a single code that applies a single discount to multiple items.

## Opening the Promotions page

1. Log in to your Upmind account.

2. Click Settings.

3. Click the Promotions tile.

4. On the next page, click the Add promotion button.

## Setting promotion details

Fill fields and customise options on the Add promotion page.

1. Check the box to activate the promotion code.

2. Enter a name for the promotion.

3. Enter a brief description.

4. Enter a code.

<Frame caption="Enter details">
  <img src="https://mintcdn.com/upmind/uxzVUXAKtJ2bRWCI/images/fb/650df1a3b57436d1.png?fit=max&auto=format&n=uxzVUXAKtJ2bRWCI&q=85&s=5f6c5449b6fe8622e0ec3ac3a216fc3a" alt="a-1.png" width="1274" height="851" data-path="images/fb/650df1a3b57436d1.png" />
</Frame>

5. Click the Individual promotion per product tile.

<Frame caption="Choose Individual promotion per product">
  <img src="https://mintcdn.com/upmind/Lh8hC132BWHpvRbz/images/fb/4b8f9a6bbf967b32.png?fit=max&auto=format&n=Lh8hC132BWHpvRbz&q=85&s=713ecb59e03878ae587f9561fae5ee6d" alt="c-1.png" width="1816" height="586" data-path="images/fb/4b8f9a6bbf967b32.png" />
</Frame>

## Adding products

1. Click the Manage products button.

2. Click Attach new product.

<Frame caption="Attach new product">
  <img src="https://mintcdn.com/upmind/Lh8hC132BWHpvRbz/images/fb/4df38e20f115cf16.png?fit=max&auto=format&n=Lh8hC132BWHpvRbz&q=85&s=3759fbdd465b6a2a0bb21e520d0813ad" alt="a-2.png" width="580" height="440" data-path="images/fb/4df38e20f115cf16.png" />
</Frame>

3. On the new window, click the field and select a product.

<Frame caption="Select product">
  <img src="https://mintcdn.com/upmind/Dgjmf3QWYVBR40cE/images/fb/5c1026792728a89d.png?fit=max&auto=format&n=Dgjmf3QWYVBR40cE&q=85&s=4a21724446e3bbc8efd65009abf21309" alt="a-3.png" width="921" height="799" data-path="images/fb/5c1026792728a89d.png" />
</Frame>

4. Select a discount type: fixed amount or percentage.

5. Enter a discount value.

<Frame caption="Select a discount type">
  <img src="https://mintcdn.com/upmind/VnCXiz5rboywDnvn/images/fb/d86426f1a645a45b.png?fit=max&auto=format&n=VnCXiz5rboywDnvn&q=85&s=03a57a2ccf77250ed4b0efcdf842080d" alt="a-4.png" width="1456" height="378" data-path="images/fb/d86426f1a645a45b.png" />
</Frame>

6. Scroll down the page and customise the settings.

7. Check or uncheck boxes as required.

8. Click Save.

9. Repeat steps to add another product.

<Note>
  By default, the Limit quantity box is unchecked. If you check the box, add a minimum and maximum quantity.
</Note>

<Frame caption="Limit quantity box">
  <img src="https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/22422fb44d507287.png?fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=12f17f58c9fa71f0f90403995e279c73" alt="a-5.png" width="2024" height="986" data-path="images/fb/22422fb44d507287.png" />
</Frame>

## Adding a mandatory product

You can make promotion codes conditional upon the purchase of one or more mandatory products.

<Note>
  For example, a 10% discount on Moka coffee pots is not valid unless the customer adds a bag of coffee beans (the mandatory product) to the basket.
</Note>

1. Under the Mandatory products heading, click the Manage products button.

2. Click Attach new products.

3. Complete the workflow to add a product or service.

## Setting availability and eligibility

Scroll down the page and set the conditions for all items attached to this promotion code.

1. Set the start and end dates.

2. Check the maximum number of uses (all clients). The default is Unlimited.

3. Select Single or Multiple if you want to limit the number of times this code can be used by all clients. (optional)

4. Check the maximum number of times an individual client can use the promo code. The default is Unlimited.

5. Select Single or Multiple if you want to limit the number of times this code can be used by any client. (optional)

6. Review the Recurring count option.

7. Review the checkboxes and customise as required.

8. Click Save.

<Frame caption="Review choices">
  <img src="https://mintcdn.com/upmind/h8h5zREaX7k8Y-3x/images/fb/0c8b0f474fab47c2.png?fit=max&auto=format&n=h8h5zREaX7k8Y-3x&q=85&s=b76c113c14535f5afcae36b6c014b4a6" alt="a-6.png" width="862" height="649" data-path="images/fb/0c8b0f474fab47c2.png" />
</Frame>

<Warning>
  On the checkout page in the client area, each selected product must have one mandatory product to apply a discount. To apply discounts to two selected products, add two mandatory products to the cart.
</Warning>

## Editing a promotion

To modify a promotion:

1. Open the Promotions page.

2. Click the three dots.

3. Click Manage promotion.

4. Make changes.

5. Click Save.

<Frame caption="Click the three dots">
  <img src="https://mintcdn.com/upmind/Lh8hC132BWHpvRbz/images/fb/4ddc12380d99848a.png?fit=max&auto=format&n=Lh8hC132BWHpvRbz&q=85&s=7108e0e0cd1e5d729e734c0c6f23938e" alt="c-2.png" width="1382" height="364" data-path="images/fb/4ddc12380d99848a.png" />
</Frame>

## Removing a promotion

To delete a promotion:

1. Open the Promotions page.

2. Click the three dots.

3. Click Delete.

4. Enter the number in the confirmation pop-up window.

5. Click Delete.

## Tracking promo code use

1. Go to the Edit promotion page.

2. Click the Uses menu tab.

* Upmind shows the clients who have used the code.

<Frame caption="Click Uses menu tab">
  <img src="https://mintcdn.com/upmind/2ooSxDpt6PiIGMr-/images/fb/092e6d25b4b97392.png?fit=max&auto=format&n=2ooSxDpt6PiIGMr-&q=85&s=12c0d5bb753bf55e68566a27e551b351" alt="b-3.png" width="1548" height="857" data-path="images/fb/092e6d25b4b97392.png" />
</Frame>

## Customer view

Upmind applies the discount at the checkout.

* If you enable the auto-apply option, the discount is applied automatically.

<Frame caption="Auto-apply enabled">
  <img src="https://mintcdn.com/upmind/z5ofg3t7by4uN44v/images/fb/f0d0dafded88f7e5.png?fit=max&auto=format&n=z5ofg3t7by4uN44v&q=85&s=7e32c9a4458848592a6c757ba905cb5d" alt="d-6.png" width="1156" height="981" data-path="images/fb/f0d0dafded88f7e5.png" />
</Frame>

* If you disable the auto-apply option, the customer must enter the discount code and click the Add button.

<Frame caption="Auto-apply disabled">
  <img src="https://mintcdn.com/upmind/ZsIo0APxdVb_gFS-/images/fb/2398605925253827.png?fit=max&auto=format&n=ZsIo0APxdVb_gFS-&q=85&s=20e57cc328cbd984dab62aa54e1d3810" alt="d-5.png" width="1064" height="836" data-path="images/fb/2398605925253827.png" />
</Frame>
