-Liquid error (product-label line 59): Computation results to 'NaN'(Not a Number)%

myshopideas
New Member
2 0 0

Dear Team member,

I am getting an error message on every product ' -Liquid error (product-label line 59): Computation results to 'NaN'(Not a Number)%'. Please check if someone can get me to help out with this error. Thanks 

Website link# https://myshopideas.com/collections/smart-watches-and-digitals-watches/products/t500-full-touch-scre...

Replies 4 (4)
crownbox2021
New Member
1 0 0

I have the same issue. Have you found a fix?

Chandan1
New Member
1 0 0

Have you got the Solution !

I am facing a same problem.

 

tlborba
New Member
1 0 0

After so much searching, I found a solution.

 

I dont'n know if it's the best one but I believe it can help if you heven't found one yet.

 

In my theme, I went to "edit code", then "Snippets", then "product-label.liquid".

My error referred to line 57, but on line 56 it was like this:

 

{% if variantCount > 1 %}

 

I switched to:

 

{% if variantCount > 100 %}

 

And that solved my problem. I hope it helps.