Articles on: Regios Discounts

Auto Add to Cart FAQ

Frequently asked questions about the Auto Add to Cart / Free Gift With Purchase feature. For setup, see that article. For known issues and fixes, see Troubleshooting Auto Add to Cart.


Why doesn't the free gift come back after the customer removes it?

By default, Auto Add to Cart remembers when a customer manually removes an auto-added item and will not re-add it again during that browsing session.


This is intentional behavior designed to let customers dismiss unwanted free gifts or add-ons.


If you want removed gifts to return automatically whenever the customer still qualifies for the promotion, enable:


Theme Editor → App embeds → Add to Cart Embed → Re-add items after manual removal


Once enabled, the app will continue re-checking eligibility and automatically restore the free gift after cart updates, refreshes, or navigation events.


Why can't it be based on the subtotal after other discounts?

Why can't I base a discount on the subtotal after other discounts?


The auto add to cart feature uses the subtotal before any other discounts are applied as the basis for its calculation. This is because the Shopify Function API calculates product discounts in parallel, without any knowledge of the results of other discounts.


There are 2 components to this feature:


  • JavaScript (JS) code that auto adds items to the cart.
  • A Shopify Functions discount.


Even though the JS code has visibility into the cart's total after other discounts, we still use the subtotal before any other discounts. Otherwise, there would be unreconcilable inconsistency between the two components, which would cause tons of confusion.


Can auto add to cart offers combine with other discounts?

Yes. They combine with product, order, and shipping discounts. If you would like to be able to change this, please reach out to us.


Can the customer remove the auto-added items?

Yes. We’ve implemented a feature in our app that prevents items from being added back to the cart if the customer removes them. If anything besides our app removes an item from the cart, our app will refrain from re-adding items from that specific "Add to Cart" step during that user's session.


What happens to the free gift if the customer removes the trigger product from the cart?

The gift is removed too. The cart no longer qualifies for the promotion, so the app cleans it up.


Can the cart drawer refresh when items are added/removed?

It's theme-specific.


Unfortunately, every theme and cart drawer app has a completely different approach for managing the cart display state. Therefore, we would have to add dedicated integrations for each. We can only support this for a finite number of themes at a time.


If we don't have a dedicated integration for your theme/cart drawer app, you'll need to write custom code. Our app will dispatch a regios-dopp:auto-add-to-cart:update event on the window after adding/removing items to/from the cart. We recommend adding custom code to your cart to listen for this event and trigger a reload of the cart/cart drawer section on your site. For more information, please read this closed thread in our public feedback board.


Why do I see some lines of code on my Cart page when using the Auto Add to Cart feature?


private line items properties


Those are private line item properties. Most themes hide these out of the box. You may need to reach out to the developer of your theme to get assistance with editing their cart liquid code. This behavior is theme specific and is not actually an issue in our app.


I want a create an Auto Add to Cart discount logic that adds 1 free gift per 1 quantity of item purchased. Two for Two, Three for Three and so on.


How to Auto Add Multiple Gifts Based on Quantity/Price


Does Auto To Add To Cart work on Headless Shopify setups?


Unfortunately, our app requires the Shopify Online Store to use the app embeds, which means it is not compatible with headless setups. For more information, read about Headless Shopify Compatibility.


Your Feedback Matters

Your review helps keep this small business running. Please leave one on the Shopify App Store.


Updated on: 06/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!