Build two codes in early December and let their dates do the rest. GIFT20 takes 20% off your gift collection and makes shipping free on orders of $75 or more, and it ends on the last day you can get orders out before Christmas. BOXING30 takes 30% off everything at full price, with free shipping over $50, and starts at 12:00 AM on 26 December. OneCode: Stackable Discounts puts the product discount and the free shipping on one code, and Active dates starts and stops each code in your store’s time zone. Shopify’s own discount codes each hold one kind of discount, so each of these offers would otherwise be two codes.

The plan

CodeOfferRuns
Before ChristmasGIFT2020% off the Gift Shop collection, free shipping over $75Now until your last shipping day, for example 18 December at 11:59 PM
BetweennoneFull priceFrom the end of GIFT20 until Boxing Day
Boxing DayBOXING3030% off full-price items, free shipping over $5026 December at 12:00 AM until the end date you choose, for example 31 December at 11:59 PM

The last shipping day is yours to choose. Work it out from your own carriers and fulfilment times.

Before Christmas: GIFT20

What customers get:

  • A $60 gift set from the Gift Shop collection and a $30 scarf that isn’t in it: the gift set is $48, the scarf stays $30, and the order is $78. The cart is $90 before the discount, so shipping is free.
  • The $60 gift set on its own is $48, but the cart is under $75, so the customer pays for shipping.
  • $80 of gift items cost $64 after the discount and still ship free, because the $75 is checked before the 20% comes off.

GIFT20 at checkout. The $60 Candle gift set from the Gift Shop is $48, the $30 Wool scarf is full price, Economy shipping is free instead of $8, and the total is USD $78.00.

Set it up:

  1. Click Create discount, keep Discount code, and enter GIFT20.
  2. Click Add Discount Type and enter 20 in Percentage. Set Target to Specific Collections, click Browse and pick your gift collection.
  3. Click Add Discount Type, set Discount Type to Shipping Discount, and keep Free Shipping.
  4. On the shipping discount, under Per-Discount Conditions, click Add Condition. Set Field to Cart Subtotal, Operator to Greater than or equal to, and Value to 75.
  5. In Active dates, set the Start date and Start time, or leave them to start straight away. Tick Set end date and choose your last shipping day, for example 2026-12-18 at 11:59 PM.
  6. Click Save discount.

The OneCode editor for the code GIFT20: a 20% Product Discount on the Gift Shop collection, a Free Shipping discount with Cart subtotal at least 75 USD, and Active dates from 2026-12-01 at 12:00 AM to 2026-12-18 at 11:59 PM

Things to check:

  • The collection is read at checkout. Products you add to the gift collection in December get the 20% automatically.
  • Gift cards aren’t discounted by a collection target. Like Shopify’s own discounts, a gift card is only discounted when you pick the gift card product under Specific Products, so a gift card in your gift collection stays full price.
  • The $75 counts the whole cart. Cart Subtotal includes items outside the gift collection, like the scarf above. To give free shipping only when the cart has something from the gift collection, add Match Another Discount’s Rules to the shipping discount. See free shipping only when another discount applies.

Boxing Day: BOXING30

Items you’ve already marked down with a compare-at price shouldn’t get another 30%. OneCode treats an item as on sale when its compare-at price is higher than its price, and a sale item rule leaves those items out.

What customers get:

  • A $100 coat at full price and a $40 sweater on sale (was $60): the coat is $70, the sweater stays $40, and the order is $110. The cart is $140 before the discount, so shipping is free.
  • A $60 pair of jeans at full price is $42 and ships free, because the cart is $60 before the discount.

The sweater isn’t discounted, but it still counts toward the $50. Cart Subtotal looks at the whole cart, including excluded items.

BOXING30 at checkout. The $100 Wool coat is $70, the Knit sweater on sale at $40 (was $60) stays $40, Economy shipping is free instead of $8, and the total is USD $110.00.

Set it up:

  1. Click Create discount, keep Discount code, and enter BOXING30.
  2. Click Add Discount Type and enter 30 in Percentage. Keep Target as All Products.
  3. On the same product discount, click Add sale item rule and choose Exclude sale items.
  4. Click Add Discount Type, set Discount Type to Shipping Discount, and keep Free Shipping. Under Per-Discount Conditions, add Cart Subtotal, Greater than or equal to, 50.
  5. In Active dates, set Start date to 2026-12-26 and Start time to 12:00 AM. Tick Set end date and choose when the sale ends, for example 2026-12-31 at 11:59 PM.
  6. Click Save discount. It shows as Scheduled on the OneCode home page until 26 December.

The OneCode editor for the code BOXING30, shown as Scheduled: a 30% Product Discount on All Products with Sale items set to Exclude sale items, a Free Shipping discount with Cart subtotal at least 50 USD, and Active dates from 2026-12-26 at 12:00 AM to 2026-12-31 at 11:59 PM

To give sale items a smaller discount instead of none, add a second product discount for them. See 20% off full price and 10% off sale items.

Timing gotchas for both codes

  • Times are your store’s time zone, shown in the labels, for example Start time (EST). Midnight on 26 December is midnight where your store is set, not where the customer is. Change the time zone in Shopify’s Settings > General.
  • Set the dates before you save. A new discount starts straight away unless you change Start date. Saving BOXING30 without its date makes it live in December.
  • Check the status on the OneCode home page. BOXING30 should show Scheduled, and GIFT20 Active from its start until its end date, then Expired.
  • To stop either code early, open it, tick Set end date, set the end to now, and click Save. There’s no on/off switch. You can also deactivate it on Shopify’s Discounts page, which sets the end date to that moment. To bring it back, clear the end date or move it later.
  • To start Boxing Day early, move BOXING30’s Start date earlier and save. Changes take effect at checkout as soon as you save.

After the holidays

Both codes switch off at their end dates, so there’s nothing to turn off on 1 January. Compare-at prices you set for the sale don’t change by themselves. Change those back in Shopify yourself.

For the run-up to Christmas, see Black Friday on one Shopify code and a Cyber Monday code.

OneCode costs $9.90 USD every 30 days after a 7-day free trial, billed by Shopify. Install it from the Shopify App Store.