MindFlash Studio
Shopify merchant guides / MindFlash Studio

How to automatically add free gifts in Shopify

Set up a gift-with-purchase offer, check qualifying carts, and confirm checkout behavior before launching a promotion.

A gift-with-purchase offer can reward shoppers when their carts qualify for a promotion. A straightforward setup makes the offer clear: the cart shows the eligible gift, removes it when conditions no longer apply and preserves correct pricing at checkout.

This guide describes a practical setup using Gift Engine by MindFlash Studio, a Shopify app for automatic free-gift campaigns. It focuses on the decisions and checks that matter before a campaign goes live.

Choose the right gift campaign condition

Start by deciding what should make a shopper eligible:

  • Cart subtotal: a gift when qualifying cart value meets a threshold.
  • Selected product: a gift when a specified product is added.
  • Collection: a gift when the cart contains a qualifying product from a chosen collection.

Choose an available gift variant that is different from the qualifying product. Keep the rules simple for the first test. Gift Engine is designed to select an eligible gift and avoid stacking multiple gifts in the same cart.

1. Install the app and review the plan

Visit Gift Engine on the Shopify App Store to compare current plans, limits and trial conditions. The Shopify subscription approval screen is authoritative for the amount you authorize.

Open the app and create an initial campaign based on a product, collection or cart subtotal. Select the gift variant and check that it has the necessary inventory.

2. Enable the theme integration

Open Shopify's theme editor and locate App embeds. Enable Gift Engine, save the theme and return to the app to verify the connection status for the storefront theme being tested.

Do not assume enabling an embed on one theme activates it for a different draft or published theme. Use the storefront you intend to test.

3. Test the qualifying cart

Use a fresh cart and follow a controlled sequence:

  1. Add a product or quantity that meets the campaign condition.
  2. Verify that the eligible free gift appears automatically.
  3. Confirm the cart includes only the gift selected by the active campaign rules.
  4. Remove a qualifying product or reduce the subtotal below the threshold.
  5. Confirm the gift disappears when the cart no longer qualifies.
  6. Requalify the cart and check the final price through checkout.

A correct-looking cart is not enough: the customer should not be charged for a gift that the campaign promises for free.

4. Check overlapping offers and discounts

When multiple campaigns could qualify, review priorities and the plan's supported limits. Also test Shopify discounts and other installed discount apps. Promotions can interact in ways that only a complete cart-and-checkout test exposes.

Check the same scenario on mobile as well as desktop. Consider out-of-stock gift variants and carts containing products that do not qualify.

5. Review and manage your campaign

Once the behavior is verified, enable the campaign for the intended store and period. Review campaign activity in the app where available under your plan. If you schedule campaigns or change priorities, retest the qualifying and nonqualifying scenarios.

Common questions

Can the gift be added without a coupon code?

Yes. Gift Engine is designed to apply supported gift-with-purchase rules automatically rather than requiring the customer to enter a coupon code.

What happens when a shopper no longer qualifies?

The app is designed to remove the eligible gift when the campaign conditions cease to be met. Verify this behavior in your specific storefront and checkout configuration.

Why is the gift missing?

Check the campaign status, eligibility condition, gift inventory and whether the app embed is enabled in the theme actually being viewed.

Why does checkout show an unexpected price?

Review discount combinations and other installed discounts, then retest the cart and checkout. Do not publish an offer until its price matches the advertised terms.

Next steps

Gift eligibility, discount combinations and app-plan limits must be checked in your own Shopify store before publishing a promotion.