How to make a delivery date estimator that avoids weekends for a Shopify product page
April 28, 2021 15:11
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.
If you enjoyed this article and it helped you, I would love you more than you know if you entered your email below so that I can let you know of future blog posts and guides that can improve your Shopify store, or inform you until you are ready to start your business.