Theme.Liquid Error on Dawn Theme

Solved
plantpill
New Member
2 0 0

I keep getting this error message on my product page where the product pictures are supposed to be coming up.

"Liquid error (sections/main-product.liquid line 38): Could not find asset snippets/product-thumbnail.liquid"

LINK TO PAGE: https://getplantpill.com/products/the-complete-multivitamin-for-vegans

What does this mean and how do I fix it? Thank you!!!!

 

 

Accepted Solution (1)

Accepted Solutions
PaulNewton
Shopify Partner
4765 391 1022

This is an accepted solution.

It's telling you your theme is missing a file for some reason product-thumbnail.liquid in your themes snippets folder

You should either download a fresh undamanged copy of the theme or created that file

For reference the file source https://github.com/Shopify/dawn/blob/main/snippets/product-thumbnail.liquid 

 

And the file where it calls that snippet, section/main-product.liquid, should also look like the reference

https://github.com/Shopify/dawn/blob/main/sections/main-product.liquid#L39 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com

View solution in original post

Replies 3 (3)
PaulNewton
Shopify Partner
4765 391 1022

This is an accepted solution.

It's telling you your theme is missing a file for some reason product-thumbnail.liquid in your themes snippets folder

You should either download a fresh undamanged copy of the theme or created that file

For reference the file source https://github.com/Shopify/dawn/blob/main/snippets/product-thumbnail.liquid 

 

And the file where it calls that snippet, section/main-product.liquid, should also look like the reference

https://github.com/Shopify/dawn/blob/main/sections/main-product.liquid#L39 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
plantpill
New Member
2 0 0

So would I essentially just copy that entire code and paste it in the correct snippet and replace the code that's currently in there?

 

 

PaulNewton
Shopify Partner
4765 391 1022

@plantpill wrote:

So would I essentially just copy that entire code and paste it in the correct snippet and replace the code that's currently in there?


If you can find the file from the error message that says it cannot be found then that means it exists right?

And If it exists then error message is indicating some other problem which doesn't make any sense from the information you've presented.

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com