---
updatedAt: 2026-05-20T05:10:02.000Z
agentTools:
  projectIndex: https://docs.deducto.io/llms.txt
---

# Everything Green Special

## When to use this

Use this template when you want to spotlight items with a particular product attribute value – here, anything where the `Colour` attribute is `green`. It's the same pattern you'd use for a "blue items week", an "organic-cotton-only sale", or any other custom-attribute-driven flash promotion.

## How it works

This is an `Item Group` promotion that matches against a custom product attribute. A few pieces of the configuration do the actual work:

* **Item Group conditions** – the promotion matches any product whose `Colour` attribute equals `green`. With `Quantity` set to `1`, each matching item forms its own item group.
* **Percentage action** – a flat 25% discount is applied to each matched item group. The `Batch Limit` is `0`, so every green item in the cart receives the discount.
* **High priority + `Stop` after-processing action** – the promotion runs early in the evaluation order, and once it applies it prevents further non-`Whole Cart (Final)` promotions from being processed for the cart. Use this when the green-items deal should be the *primary* promotion the customer receives.

For this to work, your project's catalogue needs a `Colour` attribute (or whichever attribute you're matching on). See [Attributes](https://docs.deducto.io/docs/attributes#) for how to define one if you haven't already. For the underlying concepts see [Trigger Conditions](https://docs.deducto.io/docs/creating-a-promotion#trigger-conditions), [Item Groups](https://docs.deducto.io/docs/creating-a-promotion#item-groups), and [Promotion Action](https://docs.deducto.io/docs/creating-a-promotion#promotion-action) in *Creating a Promotion*.

## Step-by-step setup

1. From your Deducto Dashboard, open the promotions list for your project and click `New`.
2. Choose `Item Group` as the promotion type.
3. On the `General Information` tab, set the name, schedule, and behaviour. The full set of values is in the [field reference](#field-reference) below.
4. On the `Trigger Conditions` tab, leave the conditions empty.
5. On the `Item Groups` tab, configure the default group:
   * Name it `Green Item`.
   * Set `Quantity` to `1`.
   * Add one condition: select `Colour` as the attribute, set the operator to `equals` (or `is one of` if `Colour` is configured as a Membership-type attribute), and enter the value `green`.
6. On the `Action` tab, choose `Apply A Percentage Discount to Item Group(s)`, set `Percent` to `25`, and check the `Green Item` group under `Target Item Groups`. Leave all the limits at `0`.
7. Click `Save`.

## Variations

* **Different attribute or value.** Swap `Colour`/`green` for any other custom attribute and value combination (e.g. `Material` equals `Organic Cotton`).
* **Different discount amount.** Adjust `Percent` on the Action tab.
* **Multi-day window.** Change `Start` and `End` to cover a longer period instead of a single day.
* **Don't stop other promotions.** If the green-items deal should sit alongside other discounts, set `After Processing Action` to `Continue`.
* **Cap total discount.** Set `Maximum Discount Amount` on the Action tab.

## Testing

1. Add a green item to your cart and confirm the 25% discount appears.
2. Add multiple green items and confirm each receives the discount.
3. Add a non-green item alongside and confirm it does *not* receive the discount.
4. (Only if `After Processing Action` stays at `Stop`.) Add another, lower-priority promotion that would otherwise apply, and confirm it doesn't trigger when the green-items promotion fires.

***

## Field reference

The full set of fields used by this template:

| Section             | Field                           | Value                                        |
| :------------------ | :------------------------------ | :------------------------------------------- |
| General Information | Name                            | Green Items 25% Off                          |
| General Information | Description                     | 25% off all green-coloured items             |
| General Information | Requires Coupons                | No                                           |
| General Information | Supported Currencies            | AUD                                          |
| General Information | Timezone                        | Australia/Sydney                             |
| General Information | Status                          | Enabled                                      |
| General Information | Start                           | 2026-03-17 00:00:00                          |
| General Information | End                             | 2026-03-17 23:59:59                          |
| General Information | Priority                        | 50                                           |
| General Information | After Processing Action         | Stop                                         |
| General Information | Lock Affected Items             | Yes                                          |
| General Information | Max Use Count Per Coupon        | 0                                            |
| General Information | Max Use Per Email Address Count | 0                                            |
| Trigger Conditions  | –                               | (none)                                       |
| Item Groups         | Name                            | Green Item                                   |
| Item Groups         | Quantity                        | 1                                            |
| Item Groups         | Condition                       | `Colour` `equals` `green`                    |
| Action              | Type                            | Apply A Percentage Discount to Item Group(s) |
| Action              | Percent                         | 25                                           |
| Action              | Maximum Discount Amount         | 0 (no cap)                                   |
| Action              | Batch Limit                     | 0 (unlimited)                                |
| Action              | Item Group Qty Limit            | 0 (no limit)                                 |
| Action              | Item Group Qty Limit Mode       | (default – not used at these settings)       |
| Action              | Target Item Groups              | Green Item                                   |