Articles on: Regios Automatic Discounts

Auto Add to Cart/Free Gift With Purchase

Screenshot of an "auto add to cart" logic flow

Our app now supports creating "auto add to cart" offers, where 1 or more product variants are automatically added at checkout when specific conditions are met.

Use Cases


Offering a free gift with purchase (ex. Spend $300 or more, get this item for free)
Automatically adding "shipping protection," "purchase protection," or similar warranties to the cart

IMPORTANT NOTE: THIS FEATURE IS IN EARLY ACCESS.


If you'd like to be one of the first to try it, schedule a quick call with our founder this week using the link below:
https://calendly.com/tobebuilds/1-1-meeting

On the call, we’ll grant you access, help with setup, and answer any questions. We’d also love to hear your feedback on the app!

How it works


Screenshot of a product being automatically added to the cart

Similarly to discounts, you will use the advanced logic builder to create these types of offers.

Instead of adding "Apply discount" steps at the end, though, you will add "Add to cart" steps.

The "Auto add to cart" works via two parts:

JavaScript that continually checks the customer's cart to see if they're eligible for an automatically added product, and if so, adds it.
A Shopify Functions discount that applies a discount to those products, only if the conditions from their logic are met. This makes it more secure and prevents the wrong people from receiving discounts.

Setup


Screenshot of the "Create discount > Auto add to cart" option

Click "Create discount," then click "Auto add to cart."

Screenshot of auto add to cart logic

Enter a title for your offer, and create logic for when products should be added to the cart, using our advanced logic builder.

Screenshot of the "Add to Cart Embed" in the Theme Editor

Lastly, enable the "Add to Cart Embed" in the Theme Editor. This will handle actually adding products to the cart.

Limitations of auto add to cart offers


Because these require JS to actually add the product to the cart, they currently have some limitations:

It does not work in the POS
It does not work in draft orders/manual orders
The customer must visit at least one page in the Online Store before reaching the checkout

As we continue development of this feature, we will try to work around these API limitations.

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.

Troubleshooting Auto Add to Cart


If you are noticing the product is not being added to the cart automatically, make sure it is published to the Online Store sales channel first.

Updated on: 12/10/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!