Can Shopify automatically add a free gift to the cart?
No. Shopify's native discounts never add a product to the cart. Use an app or a custom cart change that adds the gift variant when the rule is met and removes it when the rule breaks. Keep the gift's real price, and discount it to $0.
Disclosure: Oxify is our app. It is free, with every feature included, and it attaches free gifts to a quantity or a bundle and shows them before checkout.
What are the key takeaways?
- Buy X get Y does not add the gift. The shopper has to.
- Auto-add means add and remove.
- Do not create the gift at a $0 catalog price. Show its normal price instead.
- Start with one auto gift until you have tested two.
- Turn the offer off when the gift is out of stock.
The offer design, meaning what the gift is and what someone must buy, is covered in free gift with purchase. This page covers only the cart mechanic. The quantity version is in free gift tiers by quantity.
What does Shopify do on its own?
Shopify's Buy X get Y discount never adds the free item. It sets an item to Free only after the shopper adds it to the cart.
That gap causes the support ticket: 'It said free pouch. There is no pouch.' The shopper never found the pouch product, so the discount sat unused.
A $0 product hidden in the catalog, added by a note, is not auto-add either. It fails on your busiest day.
Bottom line: Native discounts make the gift free only after it is in the cart, so you need an app or custom code to add it.
What should auto-add do?
It should add the gift once when the rule is met, show its value, and remove it when the cart drops below the rule.
- Cart crosses the rule (a product, a quantity, or a spend).
- The gift variant is added once.
- Its line shows a compare price and a $0 price, so the value is visible.
- The shopper cannot raise the gift quantity to 4.
- If they remove the qualifying items, the gift leaves too.
- Checkout still works if the gift stock hits zero, because the offer hides first.
Skip the removal step and shoppers learn to add the qualifier, take the gift, and delete the qualifier.
Bottom line: Auto-add has to add the gift, show its value, and take it back out when the rule breaks.
Should the gift cost $0 in the catalog?
No. Give the gift its real retail price, such as $12, and let the rule discount it to $0.
A product created at $0 looks like a glitch and shows no value. It is also a problem if the rule fails and someone checks out with a free product you cannot explain.
Your cost still counts. A $12 pouch that costs you $3 is 5% of a $60 order, which is cheap. On a $15 order, the same $3 cost is 20%, which is not.
The cost math is in why gifts can beat a deeper percent off.
Bottom line: Keep the gift at its real price so the reward shows, and check its cost against the order it unlocks.
How do you build auto-add?
Set one rule, keep the gift at its real price, let an app or Cart API code add and remove it, lock the quantity, and test both directions.
- Create the gift at its real price. Do not set the catalog price to $0. Track real stock.
- Pick one rule. A product, a quantity, or a spend threshold. Write it in one sentence.
- Add and remove automatically. Use an app or custom logic. The gift goes in when the rule is met and leaves when it is not.
- Lock the quantity. The shopper should not increase the free line.
- Test both directions. Qualify, then drop back under the rule. Also test the gift at zero stock and confirm the offer hides.
- An app that watches the cart and adds or removes the gift variant. It is the simplest route, and it should survive a theme update. Oxify is one option: it attaches free gifts to a quantity or a bundle and shows them before checkout.
- Cart API code plus a native discount. JavaScript calls the cart when the rule is met and removes the variant when it is not. A Buy X get Y discount set to Free makes the price $0. This breaks when the theme changes, so budget for updates.
Two limits apply to every method. A gift with zero stock cannot be discounted, so hide the offer the same day. Your store also shares a limit of 25 active automatic discounts with every other automatic deal, including ones created by apps.
Run these six checks in a private window, at phone width as well as desktop, before you announce the gift:
- Cart under the rule: no gift.
- Cart over the rule: the gift appears once, in the cart drawer as well as the full cart page.
- Remove the qualifying product: the gift leaves.
- Two gift rules live at once: either both gifts appear, or only the one you chose.
- Gift stock at zero: the offer hides and checkout still completes.
- A second discount code on a cart just above the spend rule: the gift does not vanish.
Bottom line: Pick an app or Cart API code, hide the gift when its stock runs out, and run the six checks before launch.
How do you handle stock and two gifts?
Keep the gift product active and in stock on the Online Store channel, and decide in writing which gift wins before you add a second rule.
- The gift product must be Active, in stock, and available on the Online Store channel. A draft product will not appear in the cart.
- Write the cart line in plain words, such as 'Free pouch added. Your items are over $50.'
- Put a start and an end on each rule. When two rules can both match, write which one wins. See discount conflicts.
Bottom line: Keep the gift active and in stock, and write down which gift wins before you turn on a second rule.
Frequently asked questions about auto-add free gifts on Shopify
Can Shopify automatically add a free gift to the cart?
Not with a standard discount. Buy X get Y can make a product free only after it is in the cart. Automatic add needs an app or custom cart logic that adds the variant when the cart qualifies and removes it when the cart no longer does.
Should the free gift product cost $0?
No. Set the real retail price and discount it to $0 when the rule is met. A $0 product hides the value and becomes a problem if the rule fails and the item still checks out free.
What if the shopper removes the qualifying product?
The gift should leave the cart too. If it stays, shoppers will add the qualifier, keep the gift, and delete the qualifier.
What if the gift is out of stock?
Hide the offer before checkout. A promise that becomes an error at payment costs you the whole order, not only the gift.
Can I auto-add two different gifts?
Yes, after one gift works in a test cart. Two rules can add both gifts or block each other, so test every combination before you announce them.


