---
title: Working with product coupons
related:
  - https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/products.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Product coupons are virtual vouchers that your [customers](https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/customers.md) can exchange for financial discounts when purchasing selected [products](https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/products.md). If the users enter the product coupon codes during the [checkout process](https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/checkout-process.md) (customers on the live site), or while adding new [orders](https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/orders.md) or editing existing ones (store administrators in the administration interface), the system applies the discounts on the corresponding products.

## Adding product coupons

To add product coupons:

1. Open the **Product coupons** application.
2. Click **Enter product coupon**.
3. Enter the product coupon [properties](#reference).
4. Click **Save**.

The system creates a new product coupon. You can now specify to which products the coupon applies.

## Adding selected products to the coupons

To specify products that the customers can purchase with discount if they apply the product coupon:

1. Open the **Product coupons** application.
2. **Edit** () a selected product coupon.
3. Switch to the **Products** tab.
4. Select which products the coupon applies to:
   - **Only the following products**
   - **All products except for these**
5. Select the products.

   1. Click **Add products**.
      - The system opens the **Select product** dialog.
   2. Select the product(s).

      ![Selecting the products](https://docs.kentico.com/docsassets/k8/working-with-product-coupons/selecting_products.png "Selecting the products")
   3. Click **Select**.
      - The system closes the **Select product** dialog.

The system adds the selected product(s) to the product coupon. You can now [export](#exporting-product-coupon-codes-to-offer-to-the-customers) the coupon's code and distribute it among your customers.

## Removing selected products from the coupons

To remove selected products from the coupon:

1. Open the **Product coupons** application.
2. **Edit** () a selected product coupon.
3. Switch to the **Products** tab.
4. Select the products you want to remove.
5. Click **Remove selected**.

The system removes the products from the coupon.

## Exporting product coupon codes to offer to the customers

To export the coupon codes:

1. Open the **Product coupons** application.
   - The system displays a list of all available product coupons.
2. Click  in the **Actions** column.

   - This opens the **Actions** drop-down menu.

     ![Exporting the coupon codes](https://docs.kentico.com/docsassets/k8/working-with-product-coupons/exporting_coupon_codes.png "Exporting the coupon codes")
3. Select **Advanced export**.
   - This opens the **Advanced export** dialog.
4. Configure advanced export:
   - **Export to**: Select as required; available options include exporting to an XLSX file (Microsoft Excel), CSV file, and XML file.
   - **Export raw database data**: Yes (checked)
   - **Export column header**: Yes (checked)
   - **Columns**: _DiscountCouponDisplayName_ and _DiscountCouponCode_

     ![Configuring advanced export](https://docs.kentico.com/docsassets/k8/working-with-product-coupons/configuring_advanced_export.png "Configuring advanced export")
5. Click **Export**.

   > **Info:** Your browser's standard file download dialog pops up. The dialog allows you to open or save a file with the exported data just as if you were downloading any other file.

You can now distribute the coupon codes among your customers via any appropriate communication channel available.

## Configuring the pages to allow the customers to enter product coupon codes

To configure a page to allow the customers to enter product coupon codes and receive discounts on the selected products:

1. Open the **Pages** application.
2. Select the required page from the content tree.
3. Switch to the **Edit -> Design** tab.
4. Add the **Discount coupon** [web part ](https://docs.kentico.com/k8/developing-websites/developing-websites-using-the-portal-engine/using-and-configuring-web-parts.md)to the selected web part zone.

   ![Adding the Discount coupon web part to the selected web part zone](https://docs.kentico.com/docsassets/k8/working-with-product-coupons/adding_discount_coupon_web_part.png "Adding the Discount coupon web part to the selected web part zone")
5. Enter the web part properties as required.

   > **Tip:** If you enable the web part's **Show apply** **button** property, the customers can use the button for instant application of the coupon while viewing the page.
   >
   > ![Applying the product coupon code](https://docs.kentico.com/docsassets/k8/working-with-product-coupons/applying_product_coupon.png "Applying the product coupon code")
6. Click **OK**.

The system adds the **Discount coupon** web part into the page. If you distribute the product coupon codes among your customers, they can now use these codes to receive discounts on selected products.

## Modifying product coupons

To modify product coupons:

1. Open the **Product coupons** application.
2. Select a product coupon and click **Edit** ().
3. Modify the product coupon [properties](#reference) as required.
4. Click **Save**.

You can now use the product coupon with its updated settings.

## Removing product coupons

To remove product coupons:

1. Open the **Product coupons** application.
2. Select a product coupon.
3. Click **Delete** ().
4. Confirm that you want to remove the coupon (**OK**).

The system removes the product coupon from your on-line store.

## Reference

| General      |                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Display name | The name of the product coupon used in various parts of the system's administration interface, e.g. in the product coupons lists.<br>The system can display this name also to your on-line store customers while:<br>viewing the invoice<br>viewing the details of the product price in the **Product price detail** dialog<br>etc.                                                                    |
| Coupon code  | Here you can specify the code of the product coupon, e.g. _PC7-PXW_. The customer (store administrator) enters the code during the purchase to apply the discount.                                                                                                                                                                                                                                     |
| Discount     | Here you can specify the form of discount:<br>**By %** - use this option if you want to reduce the price of selected products by a percentage.<br>**By&#x20;**&#x20;- use this option if you want to reduce the price of selected products by a given amount in your on-line store [main currency](https://docs.kentico.com/k8/e-commerce-features/configuring-and-managing-your-store/currencies.md). |
| Value        | Indicates an absolute discount value (in your on-line store main currency) or relative discount value (in per cent).<br>The system reduces the price of items of the selected products that the customer adds to the shopping cart by the discount value and calculates all applicable taxes accordingly.                                                                                              |
| Valid from   | Indicates since when the product coupon is valid. You can click **Now** to insert the current date and time or you can click  to choose the date and time from the calendar.<br>For unlimited validity, leave the field empty.                                                                                                                                                                         |
| Valid to     | Indicates until when the product coupon is valid. You can click **Now** to insert the current date and time or you can click  to choose the date and time from the calendar.<br>For unlimited validity, leave the field empty.                                                                                                                                                                         |
