How can I resolve a liquid error on my collection pages?

Today I installed & removed a couple of apps as they didn’t do what I thought they would. I’ve noticed now that I have this message at the bottom of all the collection pages in my shop:

Liquid error (sections/collection-template.liquid line 238): Could not find asset snippets/spurit_dmr_collection_template_snippet.liquid

Any idea how to get rid of this? Any help will be much appreciated.

Thank You!

Hello @AnaBee ,

Edit sections/collection-template.liquid here at line 238 you will find

{% include ‘spurit_dmr_collection_template_snippet’ %} once you find it remove/comment it.

Anyhow if you can’t find it then under snippets create a blank file and name it ‘spurit_dmr_collection_template_snippet’

Thanks

Thank you so much! Before I try it, can I ask what you mean by “comment it”?. Not sure if it’s a typo or if it’s an action I need to do.

It’s an action btw you can ignore it and follow ‘remove’

Thank you @Guleria I appreciate your help.

I have just checked my code & this is line 238: {% if dm_paginate_by %}{% render ‘spurit_dmr_collection_template_snippet’, paginate_by: dm_paginate_by %}{% endif %}{% schema %}

Which part shall I delete?

{% if dm_paginate_by %}{% render ‘spurit_dmr_collection_template_snippet’, paginate_by: dm_paginate_by %}{% endif %}

Hi I am getting this on my collection pages but when I try to delete the line and save it says error

{% comment %}{% if dm_paginate_by %}{% render ‘spurit_dmr_collection_template_snippet’, paginate_by: dm_paginate_by %}{% endif %}{% schema %}{% endcomment %}

First change this line

{% comment %}{% if dm_paginate_by %}{% render 'spurit_dmr_collection_template_snippet', paginate_by: dm_paginate_by %}{% endif %}{% schema %}{% endcomment %}

with

{% comment %}{% if dm_paginate_by %}{% render 'spurit_dmr_collection_template_snippet', paginate_by: dm_paginate_by %}{% endif %}{% endcomment %}{% schema %}

Now remove this one

{% comment %}{% if dm_paginate_by %}{% render ‘spurit_dmr_collection_template_snippet’, paginate_by: dm_paginate_by %}{% endif %}{% endcomment %}

wow thank you so so much it worked on the first try

.Then I pasted your new code on top and saved.. Then I checked and its gone