Ecom Store Pro

How do you offer a free gift with purchase on Shopify?

Published ·
At a glance
Short answer
Buy X get Y makes the gift free, but shoppers add it; Shopify docs we read in October 2026 show no built-in auto-add, so apps promise it.
Code or automatic
Both work; with a code, shoppers add the items and enter the code at checkout.
Spend threshold
Customer buys can require a minimum quantity or a minimum purchase amount; shipping and taxes don't count.
Gift sold out
When the free product's inventory drops to zero, shoppers can't use the discount.
Stacking
Except on Plus, products in a Buy X get Y discount take no further product discounts.
Shopify's blog
Its BFCM post says the free item is added automatically; the Help Center says it never is.

Does a Buy X get Y discount add the free gift to the cart?

No. Code or automatic, Shopify's Buy X get Y documentation leaves every item to the shopper, the gift included:

The free or discounted 'get' item is never automatically added to the cart.
Shopify Help Center — Buy X get Y discounts ·

With an automatic discount, shoppers add the qualifying products and the gift, then the discount applies by itself in the cart and at checkout; with a code, they add the same items and enter the code at checkout. Before launch, add those items to your own cart and check what a shopper sees.

Shopify's own blog says the opposite

Shopify's Black Friday promotion ideas post (updated August 21, 2026) says the gift triggers at a minimum purchase amount “and the free item is added automatically.” The Help Center says it never is (both read October 27, 2026). Build on the Help Center, and don't promise an automatic gift in promo copy until you've seen one land in a test cart.

Which route fits your store: Buy X get Y or an auto-add app?

Buy X get Y alone fits when you can tell shoppers to add the gift; use an app whose listing promises auto-add when the gift must already be in the cart.

Buy X get Y only
  • The gift is free, but the shopper adds it, so say so on the product page and in the cart.
Buy X get Y plus an auto-add app
  • Pick an app whose listing promises to put the gift in the cart.

How do you set up the gift with Buy X get Y?

From Discounts, click Create discount, choose Buy X get Y and pick a code or automatic method. Under Customer buys, select Minimum quantity of items or Minimum purchase amount; the amount counts only the prices of Customer buys products, never shipping or taxes. Under Customer gets, add the gift product, and in At a discounted value select Free.

In Shopify adminOpen in your store
  1. Discounts
  2. Create discount
  3. Buy X get Y
Under Customer gets, pick At a discounted value, then Free, so the gift item costs nothing.
  • On a code or an automatic Buy X get Y discount, Set a maximum number of uses per order caps how often the gift applies to one order; see which limits an automatic discount can carry.
  • If the gift's inventory drops to zero, it shows as sold out and shoppers can't use the discount.
  • On an automatic discount, if both sections use the same product or collection, the lower-priced item the shopper chooses is the one discounted.
  • Admin-created Buy X get Y discounts don't apply to the post-purchase page at checkout (see post-purchase offers).
  • Except on Plus, products in the discount take no further product discounts; on Plus, the gift can combine with them on the same line (see how Shopify combines discounts).
  • An automatic gift counts toward the store's maximum of 25 active automatic discounts.

Shopify's Help Center video below shows an automatic setup. It dates from August 2023, so trust the field names above over the video's screens.

How to Setup a Buy X, Get Y Automatic Discount Code || Shopify Help CenterShopify Academy walks through creating an automatic Buy X get Y discount in the Shopify admin.

Which apps add the gift to the cart automatically?

App Store apps whose listings promise it, like the four below. None of the Help Center or shopify.dev pages we read on October 27, 2026 (the Buy X get Y, automatic-discount, combination and Cart Transform docs) describes a built-in setting that puts a separate gift in the cart. Shopify's changelog of February 2025, which ended auto-add in checkbox upsell blocks of the Checkout Blocks app, says auto-added free gift promotions at checkout “will now require third-party apps available in the Shopify App Store.”

AppListing promisePrice (Oct 27, 2026)Plan limits
BOGOSAuto-add or a gift popupFree plan: 30 orders lifetime; paid $29.99–$109.99/month, each with a monthly order allowance, then $0.05 per extra orderBasic plan for Basic stores only; Plus plan for Plus stores only
KiteAuto add and remove at cart value thresholdsFirst 50 discount orders/month free, then $29/monthFree and Starter not for Advanced or Plus; checkout gifts (Pro, $99) Plus only
CartBotAdds gifts when set products are boughtFree; Premium $9.99/month—
MDB Auto Free Gift (0 reviews)Auto-add; discount created natively in Shopify$0.99/month—

Read on each App Store listing on October 27, 2026; the promises are the vendors' own and untested by us.

Treat each listing as a promise: before launch, test the app in your own cart and, if you use Kite, check that it removes the gift when the cart drops below your threshold, as its listing promises.

For discount logic Shopify doesn't ship, shopify.dev points to Shopify Functions, which create discount functionality “that isn't offered out of the box with Shopify.”

The Cart Transform API changes how cart lines look and what they cost, with three listed use cases: expand a bundle line, merge lines into a bundle, or update a line's price, title or image. Its lineUpdate operation needs a Shopify Plus store (or a development store).

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Marketing & SEO
Can you create unique single-use discount codes in bulk on Shopify?

Yes, through an app or the Admin API (250 codes per call), not the discount form; the admin exports codes but can't import them.

October 20, 2026

Marketing & SEO
Do Shopify discount codes apply to sale items?

Yes, a code can apply on top of a sale price. No Help Center page we read offers an exclude-sale toggle; aim it at a collection without sale items.

October 23, 2026

Payments & payouts
How do you limit quantity per customer on Shopify?

Shopify's add-to-cart limit caps each variant per cart, not per customer; for a per-customer cap, use an App Store app with a validation Function.

October 25, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.