Dylan Hunt Free Shopify Scripts and Shopify Liquid Tutorials

This site is a collection of guides for highly requested and searched features that you can do with Shopify, but there isn't a lot of documentation on. I love hearing comments and feedback on the current guides, how they can be made better, and what new ideas you would love to see.

I started learning to code while working at Shopify and I have been practicing a ton while working on a number of projects.

I plan to blog about HTML, CSS, JS, and Ruby on Rails. If there are any guides you would like to see, please reach out on the About page.

Happy Coding!

- Dylan Hunt


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.

Read More >>


by: Dylan Hunt | Published: October 10, 2019 18:24

I have had a lot of comments for people looking to have this guide work specifically for the Impulse theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.

If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Supply theme.

1. Find the product-grid-item.liquid snippet and open it. This is the loop that is used to display all products in the collection.

2. Replace the product-grid-item with the code below.

You should be all set now.

Comment below if you're struggling.

Read More >>


by: Dylan Hunt | Published: June 06, 2019 14:34

I have had a lot of comments for people looking to have this guide work specifically for the Supply theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.

If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Supply theme.

1. Find the product-grid-item.liquid snippet and open it. This is the loop that is used to display all products in the collection.

2. Replace the product-grid-item with the code below.

You should be all set now.

Comment below if you're struggling.

Read More >>


by: Dylan Hunt | Published: May 06, 2019 12:04

I have had a lot of comments for people looking to have this guide work specifically for the Debut theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.

If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Debut theme.

1. Find the product-card-grid.liquid snippet and open it. This is the loop that is used to display all products in the collection.

2. Replace the product-grid-item with the code below.

3. Find the Collection-template.liquid section and remove the codes on line 158 and 160. These should start with li and /li respectively.

You should be all set now.

Comment below if you're struggling.

Read More >>


by: Dylan Hunt | Published: March 12, 2019 15:03

I have had a lot of comments for people looking to have this guide work specifically for the Minimal theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.

If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Brooklyn theme.

1. Find the product-grid-item.liquid snippet and open it. This is the loop that is used to display all products in the collection.

2. Replace the product-grid-item with the code below.

You should be all set now.

Comment below if you're struggling.

Read More >>


by: Dylan Hunt | Published: March 07, 2019 13:54

I have had a lot of comments for people looking to have this guide work specifically for the brooklyn theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.

If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Brooklyn theme.

1. Find the product-grid-item.liquid snippet and open it. This is the loop that is used to display all products in the collection.

2. Replace the product-grid-item with the code below.

You should be all set now.

Comment below if you're struggling.

Read More >>


Need help implementing any of these guides?

Contact Me