Hello all! I’m trying to create a discount code where once it’s added, a free product is added to the cart. Right now on Shopify this is not possible - we have to add the product first and then use the code. This adds some friction which is not ideal.
Any workaround available for this? Or any free app that’s able to do the job?
Thanks!
1 Like
Hi DylanJudi,
In Shopify, discounts are only capable of calculating price reductions on items. They can’t affect the cart in other ways, such as adding new line items.
You might want to search for an “auto add to cart” or “free gift with purchase” app in the Shopify App Store.
Alternatively, if you’re on Shopify Plus, you might consider building a Checkout UI extensions custom app that:
- Checks which discounts have been applied to the cart
- If the desired discount has been applied, add the desired item to the cart
- Add a special metafield or line-item property to the item you added, so that you can prevent automatically adding it again
Best,
Tobe
Thanks Tobe! Thought so, will give look for an app and give an update here on what works in case someone has the same problem.
Hi @DylanJudi
If you still haven’t found a solution, I’d like to suggest trying the BOGOS: Free Gift Bundle Upsell app. You can set it up exactly the way you described. Here are two options:
Option 1: Auto-add free products to the cart (no discount code needed)
When shoppers meet your conditions (BOGO, Buy X Get Y, Spend More Get More, etc.), the free gift will be automatically added to the cart. You can also apply additional conditions as shown in the image.
Option 2: Use a discount code at checkout to get a free product
(Available for Shopify Plus stores only)
First, create a discount code in Shopify’s native discount settings.
Next, set up a Checkout Upsell offer in the BOGOS app and fill in the details as shown in the image.
Finally, tick the “Discount code required” option so the offer can work together with Shopify’s native discount code.