# Coupon Code

## WooCommerce: Creating a Coupon Code

### Overview

This documentation provides a step-by-step guide on how to create a coupon code in WooCommerce to offer discounts and promotions to your customers.

### Steps to Create a Coupon Code

1. **Log In to WordPress Dashboard**:
   * Navigate to your WordPress website and log in to your WordPress admin dashboard.
2. **Navigate to Coupons**:

   * In the left-hand sidebar, find and click on **Marketing**.
   * From the Marketing submenu, click on **Coupons**.
   *

   ```
   <figure><img src="https://3551520170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpVsMkaPqOO4DRfPxTh7%2Fuploads%2FE0wLUnkDZ5pzI5VVB2L7%2FScreenshot%202024-06-28%20at%206.34.34%E2%80%AFPM.png?alt=media&#x26;token=faa2ec45-289a-4a2d-ad7f-555b4e837ab1" alt=""><figcaption></figcaption></figure>
   ```
3. **Add New Coupon**:
   * On the Coupons page, click the **Add Coupon** button at the top.
4. **Enter Coupon Details**:

   * **Coupon Code**: Enter a unique code that customers will use to apply the coupon (e.g., SAVE20).
   * **Description**: Optionally, add a description for the coupon to help you remember its purpose.
   *

   ```
   <figure><img src="https://3551520170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdpVsMkaPqOO4DRfPxTh7%2Fuploads%2FfvCtOplr0T4T7Qov3nRM%2FScreenshot%202024-06-28%20at%206.35.04%E2%80%AFPM.png?alt=media&#x26;token=9debab76-5f9d-4d2f-a27a-0421ee1c6b2c" alt=""><figcaption></figcaption></figure>
   ```
5. **Configure Discount Type and Amount**:
   * **Discount Type**: Choose the type of discount from the dropdown menu. Options include:
     * Percentage discount (e.g., 20% off).
     * Fixed cart discount (e.g., $10 off the entire cart).
     * Fixed product discount (e.g., $5 off a specific product).
   * **Coupon Amount**: Enter the value of the discount based on the type selected.
6. **Set Coupon Usage Restrictions** (Optional):
   * **Minimum/Maximum Spend**: Set the minimum or maximum order amount required to use the coupon.
   * **Individual Use Only**: Check this box if the coupon cannot be used in conjunction with other coupons.
   * **Exclude Sale Items**: Check this box if the coupon should not apply to items already on sale.
   * **Products**: Select specific products that the coupon will apply to.
   * **Exclude Products**: Select specific products that the coupon will not apply to.
   * **Product Categories**: Select categories that the coupon will apply to.
   * **Exclude Categories**: Select categories that the coupon will not apply to.
   * **Allowed Emails**: Restrict the coupon usage to specific email addresses.
7. **Set Coupon Usage Limits** (Optional):
   * **Usage Limit per Coupon**: Set how many times the coupon can be used in total.
   * **Limit Usage to X Items**: Set how many items the coupon can be applied to when used.
   * **Usage Limit per User**: Set how many times an individual user can use the coupon.
8. **Publish the Coupon**:
   * Once all the details are filled out, click the **Publish** button to make the coupon active and available for use.

### Summary

By following these steps, you can create a coupon code in WooCommerce to offer discounts and promotions to your customers, helping to drive sales and increase customer engagement.
