How to fix error "Could not find asset snippets/product.liquid"

Solved

How to fix error "Could not find asset snippets/product.liquid"

Cr0dex
Tourist
7 1 0

Hey, on the Index-Page in my Shopify shop, there is the following error displayed and I am not familiar enough with liquid to know how to fix it:

Liquid error (sections/index-product line 22): Could not find asset snippets/product.liquid

The code in Line 22 of sections/index-product is the following:

{% render 'product', product: product, section: section, unique: section.id %}
Accepted Solution (1)

Cr0dex
Tourist
7 1 0

This is an accepted solution.

The solution to the problem, is to remove the comma right behind the 

render 'product'

statement.

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
11584 2271 2449

Your theme is missing product.liquid file in your Online store > Themes > Edit code > Snippets folder. Please create a product.liquid file or remove that line of code 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Cr0dex
Tourist
7 1 0

There is a product.liquid file in the snippets folder.

Cr0dex
Tourist
7 1 0

This is an accepted solution.

The solution to the problem, is to remove the comma right behind the 

render 'product'

statement.