Liquid error question

Hey @alpca3877 I would be more than happy to fix this issue.

This kind of error can be super frustrating, especially when it’s inconsistent and happen only sometimes on certain filters or refresh.

By the way if I take a look on this code and found totally valid:

{%- if collection.products.size == 0 -%}

It just says: "If this collection has no products, show an empty message.

Here is possible Solution and I hope this will surely work.

I found the issue in this line of code.

| t: link: collection.url, class: 'underlined-link link'

With this one:

| t: link: collection.url | default: '/', class: 'underlined-link link'

And if this was helpful mark as Solution and Like it.

Thanks

1 Like