Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I want to gift my customers with a free product if they buy a product within one collection (Baby-Schlafsack). This should automatically appear in their cart. I don't want them to put the gift item in the cart or to enter a voucher code.
And I don't want to install an app as we have - beside the above case - no further need.
Our shopify theme is Dawn. I cannot install script. But I am sure, there must be a possibility to enable a code
I found https://jayanetty.com/blog/give-free-product-using-shopify-script-editor/ but cannot use it as we have neither the opportunity using adding skript editor nor Dawn contains "cart.liquid"
Hi,
If you do not want to use any app to do this OR you can not use the script editor. Then you need to edit your theme codes to do this. It's not that simple though.
I know but its worth to me
✓ Just do it !
I would do but I need help with the code. That's why I created this post
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025