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 Attributes condition 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 shipping

Both promotion types support shipping discounts. This template uses Whole Cart so 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 to Whole Cart (Final), which always runs last. See promotion types for the trade-off.

📘

Note for Shopify integrations

Shipping discounts require custom checkout behaviour and are only supported on Shopify Plus stores. See Shopify Integration for details.

Step-by-step setup

  1. From your Deducto Dashboard, open the promotions list for your project and click New.
  2. Choose Whole Cart as the promotion type.
  3. On the General Information tab, 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.
  4. On the Trigger Conditions tab:
    • Leave the condition orchestration as "If all of these conditions are true".
    • Click Add Condition Group and select Product with Specific Attributes.
    • Inside the new group, click Add Condition:
      • Select Category as the attribute.
      • Set the operator to is one of.
      • Use the Entity Searcher (if you have a search integration set up) to pick the Jeans category, or use Bulk Add to enter the value directly.
  5. On the Action tab, choose Apply a Percentage Discount to Shipping, select Apply discount to all shipping methods, and enter 100 as the discount percentage.
  6. Click Save.

Variations

  • Different trigger product. Update the Category condition (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 100 to e.g. 50 for 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

  1. Add a non-jeans item to your cart and confirm shipping costs are normal.
  2. Add any pair of jeans and confirm shipping drops to zero.
  3. Try each available shipping method and confirm they are all free.
  4. Remove the jeans and confirm shipping costs return.

Field reference

The full set of fields used by this template:

SectionFieldValue
General InformationNameBuy Jeans, Get Free Shipping
General InformationDescriptionGet free shipping for the order when buying any jeans
General InformationRequires CouponsNo
General InformationSupported CurrenciesAUD
General InformationTimezoneAustralia/Sydney
General InformationStatusEnabled
General InformationStartChoose a date and time or leave blank
General InformationEndChoose a date and time or leave blank
General InformationPriority1
General InformationAfter Processing ActionContinue
General InformationMax Use Count Per Coupon0
General InformationMax Use Per Email Address Count0
Trigger ConditionsCondition GroupProduct with Specific Attributes: Category is one of Jeans
ActionTypeApply a Percentage Discount to Shipping
ActionTarget Shipping MethodsAll shipping methods
ActionPercent100