Everything Green Special
When to use this
Use this template when you want to spotlight items with a particular attribute value, here anything whose Colour is green. It's the same pattern you'd use for a "blue items week", an "organic cotton only" sale or any other flash promotion based on a custom attribute.
How it works
This is a product deal built from the % or $ off specific products starting point. Three settings do the work:
- A product set with a
Colouritem condition matches any product whose colour isgreen. WithHow many items are needed?set to1, each matching item fills the set on its own. - The
A percentage offreward takes 25% off each item in the set.How many times per cart?is left at no limit, so every green item in the cart is discounted. - A priority of
50andStop — don't apply anything elsemake this the main discount. The priority puts it ahead of product deals with lower numbers, and once it applies, promotions considered after it are skipped. Promotions already applied stay applied, and final deals still run.
Don't let other promotions discount these items again is also turned on, so a green item can't receive a second discount. For the underlying concepts, see Which products?, What customers get and Advanced in Creating a Promotion. For how priority decides the order, see Understanding the Promotion Evaluation Process.
Before you start
The promotion needs a colour attribute to check against. Add a custom product attribute called Colour in project settings, using the Text (exact match) type if your store sends the colour name as plain text. If colours are held in an Algolia or Typesense index, use One value from a set instead, so you can search for them by name. See Custom attributes and Attributes.
On Shopify projects, the simplest approach is to tag the products, for example with green, and match on the tags attribute instead, as in Clearance Sale.
Step-by-step setup
- Open your project's
Promotionspage and clickNew promotion. - Choose
% or $ off specific products, then clickContinue. - Under
What's the deal?, enter the name and description, and setPriorityto50. The full set of values is in the settings reference below. - Under
What customers get, keep theA percentage offreward and setPercentage offto25. LeaveMaximum discount per cartat0andHow many times per cart?at no limit. - Under
When does this apply?:- Turn on
Turned on. - Set
Starts,EndsandTimezoneto cover the day of the special. - Leave
Needs a coupon code?off. - Leave the order conditions empty.
- Turn on
- Under
Which products?, set up the template's product set:- Give the set a name in
Set name, such asGreen items. - Leave
How many items are needed?at1andThis set gets the discounton. - In the set's item conditions, turn on
Advanced rule editor, then choosecolourfromAdd another condition…. - Leave the comparison as
isand entergreen. IfColouruses theOne value from a settype, the comparison isis one of, and you pick or type the value instead.
- Give the set a name in
- Under
Limits, leave both limits at0. - Under
Advanced, checkCurrencies, setAfter this promotion appliestoStop — don't apply anything else, and turn onDon't let other promotions discount these items again. - Check that the summary beside the form describes 25% off green items, then click
Save promotion.
Variations
- To match a different attribute or value, swap the
Colourcondition for another, such asMaterialisOrganic Cotton. - To change the discount, adjust
Percentage off. - To run the special for longer, widen
StartsandEnds. - To let other promotions apply alongside this one, set
After this promotion appliestoKeep checking other promotions. - To cap the total discount per cart, set
Maximum discount per cart.
Testing
- Add a green item to your cart and confirm the 25% discount appears.
- Add several green items and confirm each one is discounted.
- Add an item in another colour as well and confirm it isn't discounted.
- If
After this promotion appliesis stillStop — don't apply anything else, add an item that a lower-priority promotion would discount, and confirm that promotion doesn't apply while this one does.
Settings reference
Every setting this template uses:
| Section | Setting | Value |
|---|---|---|
| What's the deal? | Name | Green Items 25% Off |
| What's the deal? | Description | 25% off all green items |
| What's the deal? | Priority | 50 |
| What customers get | What do customers get? | A percentage off |
| What customers get | Percentage off | 25 |
| What customers get | Maximum discount per cart | 0 (no maximum) |
| What customers get | Which items get the discount? | Whichever saves the customer most (default) |
| What customers get | How many times per cart? | Unlimited |
| When does this apply? | Turned on | On |
| When does this apply? | Starts | 2026-03-17 00:00 |
| When does this apply? | Ends | 2026-03-17 23:59 |
| When does this apply? | Timezone | Australia/Sydney |
| When does this apply? | Needs a coupon code? | Off |
| When does this apply? | Order conditions | (none) |
| Which products? | Set name | Green items |
| Which products? | How many items are needed? | 1 |
| Which products? | This set gets the discount | On |
| Which products? | Item conditions | Colour is green |
| Which products? | Which sets must be in the cart? | All of them (default) |
| Limits | How many times can it be used in total? | 0 (unlimited) |
| Limits | How many times per customer? | 0 (unlimited) |
| Advanced | Currencies | AUD |
| Advanced | After this promotion applies | Stop — don't apply anything else |
| Advanced | Don't let other promotions discount these items again | On |
Updated 13 days ago