oc-shopaholic-plugin icon indicating copy to clipboard operation
oc-shopaholic-plugin copied to clipboard

Bug in price filter

Open zaqsk opened this issue 4 years ago • 3 comments

Hi I found a little bug, please check it and update your code.

In price filter you set max and min in the attributes for price filtering. But when you have products which costs more than 999 Dollars/Euro, you set the min and max attribute like this: max="1 450" and then you parsing it with javascript with parsefloat() function, which became 1 and thats the problem. Thanks for update ;)

zaqsk avatar Jul 31 '20 10:07 zaqsk

Hi! What theme do you mean?

kharanenka avatar Aug 03 '20 14:08 kharanenka

Sneakers theme for shopaholic

zaqsk avatar Aug 04 '20 05:08 zaqsk

https://github.com/oc-shopaholic/oc-shopaholic-js-helpers/pull/28/files

wobqqq avatar Aug 16 '21 13:08 wobqqq