liquid error (product-block line 85): comparison of string with 0 failed

liquid error (product-block line 85): comparison of string with 0 failed

Piccolinoshair
Visitor
1 0 0

Hello!


I was trying to install the scripts for a review app and suddenly I started getting a "liquid error (product-block line 85): comparison of string with 0 failed" below one of our product at the feature collection carousel in the home page.

Screen Shot 2022-02-27 at 2.04.17 PM.png

Website URL: https://piccolinoshair.com/

When I go to the product-block.liquid file this is where the error is poiting:

This first line is line 85:

{%- if product.metafields.reviews.rating_count != blank and product.metafields.reviews.rating_count > 0 -%}


<div class="product-block__rating theme-product-reviews-summary">
{% render 'rating', rating_value: product.metafields.reviews.rating.value %}
<span class="cc-rating-custom-caption">
{{ product.metafields.reviews.rating_count }} {{ 'products.product.reviews_link' | t: count: product.metafields.reviews.rating_count | downcase }}
</span>
</div>
{%- endif -%}

 

Will appreciate your help. We are just about to share our live website with our clients in a couple of days.

Replies 0 (0)