A space to discuss online store customization, theme development, and Liquid templating.
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!!!!
Solved! Go to the solution
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
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
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?
@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