VALOTRIX Cart Rewards
How it works Pricing Blog Docs
Install on Shopify

How to Set Up Gift With Purchase on Shopify (2026 Guide)

July 1, 2026 · 4 min read

Gift with purchase (GWP) is one of the oldest promotions in retail: spend enough, or buy the right product, and something free lands in the bag. On Shopify it still works well, but the platform gives you three very different ways to build it, and they are not equal. This guide walks all three so you can choose with your eyes open.

What "gift with purchase" actually means on Shopify

A GWP offer has two halves:

  1. A trigger - the condition that unlocks the gift (cart hits $75, cart contains a jacket, customer is tagged VIP).
  2. A reward - the free item that should appear, at no cost, once the trigger is met.

The hard part is never the discount math. It is making the gift appear in the cart on its own and stay free through checkout without leaving junk in your catalog. Each method below handles that differently.

Method 1: Shopify's native "Buy X Get Y" automatic discount

Shopify Discounts includes a built-in Buy X Get Y automatic discount. It can say "buy 1 jacket, get 1 beanie at 100% off."

What it does well: it is free, native, and the discount applies correctly at checkout.

Where it falls short for GWP:

  • It does not add the gift for you. The shopper still has to find the beanie and add it themselves. If they do not, they never see the discount, and most shoppers never do.
  • There is no cart messaging. Nothing tells the shopper "add a beanie, it is free."
  • Thresholds are scoped. "Buy X" can be a minimum spend as well as a quantity, but the spend requirement is tied to the products or collections you select - and there is no tiered "reach $100, get a bigger gift" progression or on-site progress messaging around it.

Native Buy X Get Y is fine when the shopper is already likely to add both items. It is a poor fit for a true "here is a free gift" moment, because the gift never shows up unprompted.

Method 2: The $0 variant hack

The oldest workaround: create a hidden variant of the gift priced at $0.00 and add it to the cart with a theme script or an app.

Why people do it: it makes the gift show at $0 without touching Shopify Discounts.

Why it hurts:

  • It clutters your catalog with $0 products that can surface in search, feeds, and Google Shopping.
  • It breaks inventory - the $0 variant carries its own stock count, separate from the real product.
  • Express checkout (Shop Pay, Apple Pay) does not always treat a $0 line the way you expect.
  • Removing the app or script later can leave the ghost variants behind.

If you have ever seen a "$0.00 - Free Gift" product floating in a store's catalog, this is why.

Method 3: Automatic gift-add on a native discount

The modern approach adds the real gift product to the cart automatically the moment the trigger is met, then applies a native 100%-off discount so it stays free through checkout. No $0 variant. No customer action. If the cart drops back below the threshold, the gift comes off again.

This is the method Valotrix Cart Rewards uses. It is built on Shopify Functions, so the free price applies the way Shopify intends, and it uses the real variant, so inventory and catalog stay clean. The mechanics are in How it works.

Setting it up

  1. Install the app and enable its theme embed - one toggle in the theme editor.
  2. Create a campaign from a starter template or from scratch.
  3. Set the trigger - for a classic GWP, "cart subtotal is at least $75."
  4. Pick the gift - any real product in your catalog.
  5. Turn on an on-site nudge (a progress bar or toast) so shoppers know how close they are.
  6. Test the cart in the built-in simulator, then publish.

When a shopper crosses $75, the gift appears on its own. Drop below, it is removed. The full walkthrough is in Threshold free gift.

Which method should you use?

  • One-off, low volume, shopper already adds both items - native Buy X Get Y is fine.
  • You want the gift to appear automatically, with a nudge, and a clean catalog - use automatic gift-add.
  • Never ship the $0 variant hack to a store you care about. The cleanup cost outlives the promotion.

Common questions

Does the gift stay free if the shopper edits their cart? With automatic gift-add, yes - the reward re-evaluates on every cart change and stays free as long as the trigger holds.

Will it work with my theme? The auto-add approach runs on Shopify's cart rather than a theme fork, so it works across standard themes without custom code.

Can I limit one gift per customer? Yes - per-customer limits are a standard option.

Keep reading

  • Free gift over a spend threshold - pick the right threshold and nudge shoppers toward it.
  • Shopify BOGO without a discount code - buy-one-get-one with no code to type.

Ready to try the clean version? Install Valotrix Cart Rewards - there is a free plan to start.

Valotrix
Cart rewards, done right. Built on Shopify Functions by a Shopify engineer who runs stores every day.

Product

  • How it works
  • Pricing
  • Blog
  • Docs
  • Shopify App Store

Legal

  • Privacy Policy
  • Terms of Service
  • valentin@valotrix.com
© 2026 Valotrix Studio · Built by a Shopify engineer who uses Shopify daily Romania