Discount function · Plan: Basic
How do I automatically discount a collection, a product tag, or a few specific products?
Add a line condition on collection membership, product tags, or product or variant ids to a product discount rule. Every matching cart line gets the discount at checkout, on any Shopify plan, and you can combine the targeting with quantity or cart total conditions.
- Function typeDiscount
- Plan neededBasic
- Shopify PlusNot required
- TemplateShips in the app as "Collection discount"
- Updated
What the shopper sees
Any item from the targeted collection shows the discount in cart and checkout as soon as it is added. Items outside the collection are untouched.
How the rule is built
The Collection discount template creates a product discount rule with a condition product is in collection and lets you pick the collections. The same rule can target by other fields:
| Target | Condition field |
|---|---|
| One or more collections | Line product collections |
| Products with a tag | Line product tags |
| Specific products | Line product id |
| Specific variants | Line variant id |
| Products with a metafield value | Product or variant metafield |
Combine conditions with AND or OR inside one rule, for example “in the Sale collection AND not tagged final”.
Variations
- Different percentages per collection. One rule per collection, each with its own value, up to ten rules.
- Tag-driven percentages. Tag products
off-10,off-20, and write one rule per tag. Marketing can then move products between discounts by editing tags. - Exclusions. Add a “does not contain tag” or “not in collection” condition to keep some products out.
- Only above a quantity or cart total. Add a line quantity or cart total condition to the same rule.
Limits to know
- Collection and tag membership is read from Shopify’s checkout input, so it reflects the product’s current collections and tags. Automated collections work.
- Up to ten rules per function. If you need more targets, group them with tags.