How do I fix a liquid error message on my collection pages?

Hi Guys,

The collection pages on my website show this message: “Liquid error: Could not find asset snippets/product-customizer-asw.liquid”. How can I remove this? Need your support. Thanks a lot.

Regards,

Nueve

1 Like

Hello, Nueve

You will need to go to the theme files of your theme and search for the place that this snippet is being called an remove it. Since it appears only on collection pages, it’s probably in a file related to it, but since I don’t have access to the theme you have or its files, I can’t help you further than that

Hi @nueve ,

The liquid error is just saying that there is no product-customizer-asw.liquid file in the Snippet folder. If you are code savvy, I would suggest to find the file where the error is coming from and delete the code. The code would be

{% render "product-customizer-asw" %}

or

{% include "product-customizer-asw" %}

Delete the block of code if you are not using it.

Other dirty way, if you do not have coding experience is to create a Snippet file.

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Snippet folder, create a new file and name it product-customizer-asw. Name bolded might be exact name to your file. Then click save.

This will create a file that is blank.

Hi @made4Uo

Thank u for your time and help. It works!

Any Liquid error that starts with “Liquid error: Could not find asset…” means that you have code in place that wants to use a file, but it doesn’t exist. Reasons why it doesn’t exist: The code is wrong, and is asking for the wrong file

Greetings,
James