How gifts are added and removed in the cart
When a cart qualifies for a free gift offer, the app adds the gift for the shopper, or opens a picker so they can choose one. When the cart stops qualifying, the app takes the gift out again. This article explains each case and the three settings that change what shoppers see.
Before you start
- Turn on the app embed. The gift is added and removed by the app on pages where the embed is on. See How to turn on the app embed.
- Know which gift mode your offer uses: Add all gifts, Customer picks 1, or one gift only. See How to create a free gift offer.
When a gift is added
| Situation | What happens |
|---|---|
| Add the gift automatically is on and the offer adds all gifts, or has one gift | The app adds the gift as soon as the cart qualifies. |
| Customer picks 1 with two or more gifts in stock | The picker opens with the title "Choose your free gift". The shopper picks one gift and selects Add to cart. |
| Add all gifts with Add the gift automatically off | A card titled "Your free gift" or "Your free gifts" lists the gifts. One button adds all of them. |
| Add the gift automatically is on, but only one gift is in stock | The gift is added without the picker. |
| The shopper already removed the gift | The app does not add it again for that cart. The picker or card stays available. |
Each add happens in one step, so the cart changes once. Gift lines are added by the app, and the discount makes them free or reduced at checkout. A gift added by hand from the product page is not discounted, except with an offer that needs a discount code.
The gift picker
The picker opens by itself when the cart qualifies. If the shopper closes it, it does not reopen for that cart state. It can reopen once if the cart stops qualifying and then qualifies again because the shopper changed the cart. It never opens more than 3 times per tier in one cart. The goal card in the cart keeps the gift choice available.
If adding the gift fails, shoppers see "Couldn't add the gift. Please try again."
When a gift is removed or changed
The app keeps each gift line at exactly the quantity the offer allows.
- The cart drops below the rule. The gift is removed. The status shows "Gift removed".
- The shopper lowers the gift quantity or removes the gift. The offer will not add it again in this cart.
- A higher tier is reached with "Swap the gift for the higher tier’s gift". The lower gift is removed and the higher gift is added.
- The offer is deleted, paused or changed. Gifts in carts are removed the next time the shopper opens a page where the embed is on.
The rule counts the price of non-gift items before discounts, so adding a gift never moves the cart over the threshold.
When a gift is out of stock
By default a gift that is out of stock is never added and does not show in the picker. If only one gift is left in stock, it is added without the picker. If none is in stock, nothing is added. Open Settings and turn off Skip gifts that are out of stock to list sold out gifts in the picker, greyed out with the label "Sold out". Out of stock gifts are never added to the cart in either case.
Settings that change what shoppers see
Open Settings in the app. See Settings: storefront, language, gift products and data.
| Setting | What it does |
|---|---|
| After a gift is added | Chooses what the cart does after the app adds, removes or changes a gift. |
| Skip gifts that are out of stock | On by default. The picker only shows gifts shoppers can get. |
| Hide new gift products from search and collections | When you save an active offer with a free gift, the gift product is set to unlisted so shoppers cannot buy it at full price by mistake. The product stays available by link and in the cart. It is off by default and needs permission to edit products. |
The cart drawer options work on the Dawn theme only. On any other theme, the shopper sees the message "Gift added" or "Gift removed" with a View cart link, whichever option you choose.
The After a gift is added options are:
| Option | What happens |
|---|---|
| Refresh the cart drawer | If the cart drawer is open on the Dawn theme, it updates. On other themes, the shopper sees "Gift added" or "Gift removed" with a View cart link. |
| Open the cart drawer | On the Dawn theme, the drawer opens and shows the new cart. On the cart page it behaves like Refresh the cart drawer. |
| Reload the cart page | On the cart page, the page reloads once so the new gift shows. On other pages it behaves like Refresh the cart drawer. |
Choose Reload the cart page if your cart does not update after a gift is added.
[!INFO] Shopify decides the final price at checkout. The cart messages and the picker are only what shoppers see before that. If a gift was not added or priced as you expected, see Why wasn't the free gift added or removed?.