How to Automatically Add a Free Gift to the Cart on Shopify

Shopify's Buy X Get Y discount won't put the gift in the cart for you. Here's how to auto-add a free gift on Shopify, and what happens when customers remove it.

By the MCE team · · 3 min read

The most common complaint about free gift offers on Shopify: "the customer qualified, but the gift wasn't in their order." That's because Shopify's built-in Buy X Get Y discount makes the gift free, but doesn't add it to the cart. The customer has to find the gift product and add it themselves, and many don't.

Here's how to make the gift appear automatically.

Why Shopify doesn't add the gift by itself

Shopify discounts change prices of items that are already in the cart. A Buy X Get Y discount set to "Get 1 Tote at 100% off" will make the tote $0, but only once the tote is in the cart.

So you need something that adds the gift line. There are three ways.

Option 1: Tell customers to add it (no app)

Set up the Buy X Get Y automatic discount, then:

  • Mention the gift on the product page and in an announcement bar.
  • Link to the gift product: "Add your free tote →".
  • Show the gift product in your cart drawer's recommendations, if your theme has them.

Works for: short campaigns where you can live with some customers missing the gift.

Option 2: A product-page bundle that includes the gift

With MCE Bundles, the gift is part of the bundle tier the customer picks on the product page. When they click Add to cart:

  1. The tier's items go into the cart.
  2. The gift is added in the same step, at $0.
  3. The discount is a Shopify automatic discount, so there's no code.

Customers can choose the gift's variant (shade, size, flavour) inside the widget before adding to cart, so you don't ship the wrong one.

You can also use Progressive Gifts, where gifts unlock as customers pick bigger tiers: "Buy 2 to unlock" a sample, "Buy 3 to unlock" a full-size product.

Works for: gifts tied to how many units customers buy.

Option 3: A cart rewards or gift app

Cart-based apps watch the cart and add the gift when a rule is met, often with a popup or progress bar. See our list of free gift apps.

Works for: gifts tied to cart value ("spend $75"). See how to give a free gift over a certain amount.

Handling the tricky cases

Whatever you use, test these before launch:

The customer removes the gift

Most apps, including MCE Bundles, don't force the gift back in. That's usually what you want: some customers genuinely don't want it.

The customer lowers the quantity

With MCE Bundles, the tier discount moves to the tier that matches the new quantity, but the gift stays in the cart. If the new quantity no longer qualifies, the gift is charged at its regular price, so the customer should remove it. Make that clear in your gift title, for example "Free with 3 or more".

The gift is out of stock

Pick a gift you have plenty of, and check stock before big campaigns. A gift that sells out mid-sale causes more support tickets than having no gift at all.

The gift is a variant product

Let customers choose the variant, or create a single-variant gift product so there's nothing to choose.

Quick setup with MCE Bundles

  1. Install MCE Bundles and enable the app embed.
  2. Create a Buy More Save More offer.
  3. Expand the tier that earns the gift and switch on Free Gifts. Pick the product, quantity, image and title.
  4. Add the Bundle widget block to your product page.
  5. Test: add the tier, check the gift is in the cart at $0, then go to checkout.

More ideas: how to offer a free gift with purchase.

MCE Bundles app icon

Start your free trial

Set up your first bundle or volume discount in minutes. Free plan available.