A customer has added enough products for a gift, but the gift is missing or still has a price. In Shopify's built-in Buy X get Y discount, the customer must add both the qualifying products and the gift. The automatic discount changes an eligible gift's price; it does not put the gift in the cart. Shopify's Buy X get Y rules
Compare two carts
An ad reads: “Free mug when you spend $100 on selected coffee. Add the mug to your cart.” The example offer is an active automatic discount. The mug costs $15 and is in Customer gets, not Customer buys. Both carts below use eligible one-time products, an eligible customer and market, available stock, and no other discounts. The results are illustrative, before tax and shipping.
Cart A — below the minimum
Eligible coffee $90 + mug $15. Amount counted toward the $100 minimum is $90. Expected gift discount is $0. Merchandise total after discount is $105.
Cart B — at the minimum
Eligible coffee $100 + mug $15. Amount counted toward the $100 minimum is $100. Expected gift discount is $15. Merchandise total after discount is $100.
The mug does not count toward the coffee threshold. Shipping and tax are excluded from the minimum. Actual checkout tax and shipping depend on the store and destination.
Illustrative result: the $15 mug is added as a separate line and discounted to $0; coffee remains $100 before tax and shipping.
Now remove the mug from the second cart. The $100 coffee still qualifies as the purchase, but no gift is present to discount. Add the eligible mug again and verify that its discount returns. The campaign needs to tell customers how to add it, or the store needs a separately verified way to place it in the cart.
Try one more cart with a $100 item outside Customer buys and the $15 mug. The qualifying amount is $0, even though the items add up to $115. If a separate product discount also applies to qualifying coffee, inspect the discount lines in checkout. Shopify excludes an item already receiving a combinable product discount from this minimum. Which offer the customer actually receives depends on the combination settings and the eligible discounts. Shopify discount combinations
Repeat the check in your store
- In Shopify admin, open Discounts and inspect the active Buy X get Y offer. Record the method, dates and store time zone, customer and market eligibility, minimum amount, products in Customer buys, and the product and quantity in Customer gets. Under Customer gets, check that the quantity is one and the discount is Free. Confirm that the exact gift variant is in stock.
- Open the landing page named in the ad and start a fresh cart in the intended market. Add eligible purchase items just below the threshold and the exact gift. Open checkout and record the discount lines and merchandise total. Then repeat with eligible purchase items that meet the threshold. Stop before payment.
- Remove the gift from the qualifying cart and check whether the storefront adds it back. If it stays absent, add it manually and confirm the offer applies. A theme or app may add a gift separately; test the actual storefront rather than assuming its behavior.
- If the ad promises another discount alongside the gift, repeat the two carts with that offer active and record which discount applies.
For a discount code, add the items and enter the code at checkout. If the qualifying cart fails, check the exact variant, stock, customer, market, dates and other discounts against the offer settings. If the ad sends shoppers to a prefilled cart, check that its link includes the right variants and quantities, then repeat the discount check there. Give the campaign owner the checked URL, market, cart contents and checkout result. The ad can run with this wording only when the actual store lets customers add the mug and gives the promised discount.