Add a free item to checkout automatically if price over $100 Shopify

Posted By: Dylan Hunt

Published: November 28, 2019 22:49

Hey guys, This script will allow you to offer a free gift that will be added to the checkout automatically if the user loads the checkout and their cart is over the minimum threshold. the minimum below is $100, which is written in cents and is 10000. The variantId is where you would enter your variant ID. Put this code directly above the closing tag in the checkout.liquid to have it work and add the item once.

This will ensure that if your cart is over $100 then the free item will be added.

Need help implementing any of these guides?

Contact Me