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
7892 1533 1563

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 and Accept solution or ❤Donate❤
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. 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.