> For the complete documentation index, see [llms.txt](https://help.mimeeq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.mimeeq.com/commerce-and-integrations/woocommerce/discount-codes.md).

# WooCommerce Discount Codes

Run WooCommerce coupons on your configured products. Learn to target Mimeeq products with the mimeeq-custom tag and how discounts behave with bundles.

WooCommerce's regular coupon system works with Mimeeq products. This guide covers the simple case (a single configured product) and the case where several parts are bundled together in one cart.

***

## The basics

### Every configured product gets a tag automatically

Products created from a customer's configuration are automatically tagged **`mimeeq-custom`** — you don't have to set this up yourself. You can use this tag to target Mimeeq products specifically with a coupon, without having to list every product one by one.

### Bundled products need a little more care

If several parts are bundled together into one cart line (see [WooCommerce Add to Cart Methods](/commerce-and-integrations/woocommerce/add-to-cart.md)), a coupon aimed at "one product" needs to specifically target the right part of that bundle — more on this below.

***

## Setting up a basic discount code

{% stepper %}
{% step %}

### Group your Mimeeq products (optional)

You can filter or group products by the automatic `mimeeq-custom` tag, or create your own product category and assign it manually if you'd like more control over which products a coupon applies to.

1. Go to **WP Admin → WooCommerce → Products**
2. Filter by tag: `mimeeq-custom`
   {% endstep %}

{% step %}

### Create the coupon

1. Go to **WP Admin → WooCommerce → Coupons**
2. Click **Add coupon**
3. Enter a coupon code
4. Choose the discount type (fixed amount, percentage or free shipping)
5. Restrict it to Mimeeq products — two ways to do this, depending on what you need:
   * **By product or category:** WooCommerce's own **Usage restriction → Products** or **Product categories** fields
   * **By the `mimeeq-custom` tag:** WooCommerce doesn't support restricting by tag out of the box, so this plugin adds its own **Mimeeq products only** checkbox to the **Usage restriction** tab, right under **Individual use only**. Tick it and the coupon only applies when the cart contains at least one product tagged `mimeeq-custom` — no need to list products or maintain a category
6. Set any other conditions you need
7. **Publish** the coupon

![Mimeeq products only checkbox in the coupon's Usage restriction tab](https://621103948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsqWfi8ifBhTdkvf1vOlY%2Fuploads%2FySLsAd6DAXrEw4c37iAX%2F08-discount-codes-01-mimeeq-pr_dgjgs4.png?alt=media)
{% endstep %}

{% step %}

### Test it

1. Visit your store
2. Add a Mimeeq-configured product to the cart
3. Go to checkout
4. Apply the discount code
5. Confirm it applies correctly
   {% endstep %}
   {% endstepper %}

***

## Discount codes with bundled products

### Discounts for the whole order

These work exactly as you'd expect, no special setup needed:

* A percentage off the whole order
* A fixed amount off the whole order
* Free shipping

### Discounts targeting a specific product

When several parts are bundled into a single cart line, WooCommerce only "sees" one main (master) item for that line. So a coupon restricted **by product or category** needs to target that **master component** specifically — either directly, or through a category it belongs to.

The **Mimeeq products only** tag-based checkbox doesn't have this limitation — it checks the whole cart, not a specific line item.

{% hint style="warning" %}
**Important to know:** the discount applies to the value of the **entire bundle**, not only the master component's own price.
{% endhint %}

**Example:** if the master component is worth £1,000 inside a £3,000 bundle, a 10% coupon targeting that master component gives a £300 discount (10% of the full £3,000), not £100.

***

## Best practices

* **Target the master component:** when discounting bundles
* **Test first:** try any bundle-related coupon before making it live
* **Keep a note of master components:** record which products act as "master" components in your bundles, so this doesn't catch anyone off guard later
* **Prefer order-level discounts:** for simplicity, consider them instead of product-specific ones when bundles are involved

***

## Other ways to offer a discount

* **Adjust the price directly in Mimeeq:** if you want the discount to show up as the price — no coupon code needed
* **WooCommerce automatic discounts:** for storewide or category-wide promotions that don't need a code
* **Dynamic pricing plugins:** such as WooCommerce Dynamic Pricing, can be used alongside Mimeeq products

***

## Related articles

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>WooCommerce Add to Cart Methods</strong></td><td>Turn configurations into cart items, bundles or modular products.</td><td><a href="/commerce-and-integrations/woocommerce/add-to-cart.md">WooCommerce Add to Cart Methods</a></td></tr><tr><td><strong>WooCommerce Admin Settings</strong></td><td>Configure API, cart, product naming and sync settings.</td><td><a href="/commerce-and-integrations/woocommerce/admin-settings.md">WooCommerce Admin Settings</a></td></tr><tr><td><strong>WooCommerce FAQ</strong></td><td>Find answers on pricing, tax, currencies and page speed.</td><td><a href="/commerce-and-integrations/woocommerce/faq.md">WooCommerce FAQ</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.mimeeq.com/commerce-and-integrations/woocommerce/discount-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
