Buy Jeans, Get Free Shipping
When to use this
Use this template when you want a triggered free-shipping offer that only fires if the cart contains a specific product or category – for example "free shipping when you buy any pair of jeans". This is different from the simpler Free Shipping over $100 template, which is gated on cart subtotal rather than cart contents.
How it works
This is a Whole Cart promotion gated by a content-based trigger and applying a shipping discount.
Product with Specific Attributescondition group – this is a specialised trigger condition that fires when the cart contains at least one item matching the conditions inside the group. Here, the group contains a single condition:Category is one of [Jeans].- Shipping discount action with
100%off – the promotion zeros out shipping. You can target all shipping methods or only specific named ones.
For the underlying concepts see Trigger Conditions and Promotion Action in Creating a Promotion.
Whole Cart vs Whole Cart (Final) for shippingBoth promotion types support shipping discounts. This template uses
Whole Cartso the promotion participates in normal evaluation ordering – it can be stopped or excluded by earlier promotions if you want it to. If you'd rather the shipping discount always run regardless of how other promotions resolve, switch the promotion type toWhole Cart (Final), which always runs last. See promotion types for the trade-off.
Note for Shopify integrationsShipping discounts require custom checkout behaviour and are only supported on Shopify Plus stores. See Shopify Integration for details.
Step-by-step setup
- From your Deducto Dashboard, open the promotions list for your project and click
New. - Choose
Whole Cartas the promotion type. - On the
General Informationtab, set the name and behaviour. The full set of values is in the field reference below. Leave the schedule blank so the promotion runs indefinitely. - On the
Trigger Conditionstab:- Leave the condition orchestration as "If all of these conditions are true".
- Click
Add Condition Groupand selectProduct with Specific Attributes. - Inside the new group, click
Add Condition:- Select
Categoryas the attribute. - Set the operator to
is one of. - Use the Entity Searcher (if you have a search integration set up) to pick the
Jeanscategory, or useBulk Addto enter the value directly.
- Select
- On the
Actiontab, chooseApply a Percentage Discount to Shipping, selectApply discount to all shipping methods, and enter100as the discount percentage. - Click
Save.
Variations
- Different trigger product. Update the
Categorycondition (e.g.Jackets,Footwear). - Trigger on a specific product instead of a category. Use
Product ID is one of [...]inside the condition group. - Combine with a subtotal threshold. Add a sibling condition outside the group:
Discounted Subtotal is greater than or equal to N. - Partial shipping discount. Lower the discount percentage from
100to e.g.50for half-off shipping when jeans are in the cart. - Specific shipping methods only. Target only named methods (e.g. "Standard" but not "Express") instead of all methods.
- Always apply, regardless of other promotions. Switch the promotion type to
Whole Cart (Final)so the discount always runs.
Testing
- Add a non-jeans item to your cart and confirm shipping costs are normal.
- Add any pair of jeans and confirm shipping drops to zero.
- Try each available shipping method and confirm they are all free.
- Remove the jeans and confirm shipping costs return.
Field reference
The full set of fields used by this template:
| Section | Field | Value |
|---|---|---|
| General Information | Name | Buy Jeans, Get Free Shipping |
| General Information | Description | Get free shipping for the order when buying any jeans |
| General Information | Requires Coupons | No |
| General Information | Supported Currencies | AUD |
| General Information | Timezone | Australia/Sydney |
| General Information | Status | Enabled |
| General Information | Start | Choose a date and time or leave blank |
| General Information | End | Choose a date and time or leave blank |
| General Information | Priority | 1 |
| General Information | After Processing Action | Continue |
| General Information | Max Use Count Per Coupon | 0 |
| General Information | Max Use Per Email Address Count | 0 |
| Trigger Conditions | Condition Group | Product with Specific Attributes: Category is one of Jeans |
| Action | Type | Apply a Percentage Discount to Shipping |
| Action | Target Shipping Methods | All shipping methods |
| Action | Percent | 100 |
Updated 14 days ago