Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Theme.Liquid Error on Dawn Theme

Solved

Theme.Liquid Error on Dawn Theme

plantpill
Visitor
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)

PaulNewton
Shopify Partner
7450 657 1562

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 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Replies 3 (3)

PaulNewton
Shopify Partner
7450 657 1562

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 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


plantpill
Visitor
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
7450 657 1562

@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.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org