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 Colour item condition matches any product whose colour is green. With How many items are needed? set to 1, each matching item fills the set on its own.
  • The A percentage off reward 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 50 and Stop — don't apply anything else make 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

  1. Open your project's Promotions page and click New promotion.
  2. Choose % or $ off specific products, then click Continue.
  3. Under What's the deal?, enter the name and description, and set Priority to 50. The full set of values is in the settings reference below.
  4. Under What customers get, keep the A percentage off reward and set Percentage off to 25. Leave Maximum discount per cart at 0 and How many times per cart? at no limit.
  5. Under When does this apply?:
    • Turn on Turned on.
    • Set Starts, Ends and Timezone to cover the day of the special.
    • Leave Needs a coupon code? off.
    • Leave the order conditions empty.
  6. Under Which products?, set up the template's product set:
    • Give the set a name in Set name, such as Green items.
    • Leave How many items are needed? at 1 and This set gets the discount on.
    • In the set's item conditions, turn on Advanced rule editor, then choose colour from Add another condition….
    • Leave the comparison as is and enter green. If Colour uses the One value from a set type, the comparison is is one of, and you pick or type the value instead.
  7. Under Limits, leave both limits at 0.
  8. Under Advanced, check Currencies, set After this promotion applies to Stop — don't apply anything else, and turn on Don't let other promotions discount these items again.
  9. 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 Colour condition for another, such as Material is Organic Cotton.
  • To change the discount, adjust Percentage off.
  • To run the special for longer, widen Starts and Ends.
  • To let other promotions apply alongside this one, set After this promotion applies to Keep checking other promotions.
  • To cap the total discount per cart, set Maximum discount per cart.

Testing

  1. Add a green item to your cart and confirm the 25% discount appears.
  2. Add several green items and confirm each one is discounted.
  3. Add an item in another colour as well and confirm it isn't discounted.
  4. If After this promotion applies is still Stop — 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:

SectionSettingValue
What's the deal?NameGreen Items 25% Off
What's the deal?Description25% off all green items
What's the deal?Priority50
What customers getWhat do customers get?A percentage off
What customers getPercentage off25
What customers getMaximum discount per cart0 (no maximum)
What customers getWhich items get the discount?Whichever saves the customer most (default)
What customers getHow many times per cart?Unlimited
When does this apply?Turned onOn
When does this apply?Starts2026-03-17 00:00
When does this apply?Ends2026-03-17 23:59
When does this apply?TimezoneAustralia/Sydney
When does this apply?Needs a coupon code?Off
When does this apply?Order conditions(none)
Which products?Set nameGreen items
Which products?How many items are needed?1
Which products?This set gets the discountOn
Which products?Item conditionsColour is green
Which products?Which sets must be in the cart?All of them (default)
LimitsHow many times can it be used in total?0 (unlimited)
LimitsHow many times per customer?0 (unlimited)
AdvancedCurrenciesAUD
AdvancedAfter this promotion appliesStop — don't apply anything else
AdvancedDon't let other promotions discount these items againOn

Did this page help you?