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
9695 1938 1973

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! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- 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.