LOCATE THE QUANTITY PICKER CODE
Locate the theme file where the quantity picker is located. Most often in the cart-template.liquid (eg. in the DAWN theme).
ADD A SNIPPET OF CODE
{% if item.properties['FREE GIFT'] %}
1
{% else %}
... quantity picker code here ...
{% endif %}
Once the free gift is automatically added to your cart, it will show. The quantity picker next to it will be disabled, and the quantity will be set to "1". Other non-gift items will still have the quantity picker.
Important #1
In some themes, there are two snippets for the quantity picker, one for desktop and one for mobile. That's the case in the DEBUT theme (see screenshot above).
Important #2
If you use a drawer cart (ajax cart), the quantity picker snippet will not be located in cart-template.liquid. Each theme has a different file name for the drawer/ajax cart, search for it in your theme files.
It's also possible that your store has a mini-cart/drawer in addition to the cart page in the customer flow, meaning customers can check out from the drawer/mini-cart OR go to the cart page.
In this case, you will have to implement the script above in more than one theme file.
If you still need help with your promotions, please don't hesitate to contact us at tabarnapp.help@staytuned.digital