Multiply, divide, plus, minus doesn’t work
-
I found that these operations doesn’t work as they should.
Fixed them by change this line
if (((!is_string($pd_value)) AND ($pr_array['than_attribute'] != "shipping"))){
into this
if (is_numeric($pd_value)){
in class-get-products.php
However, this is a temporary solution, as i don’t use shipping attribute.
I think there needs to be an additional OR condition, something like this
if (((!is_string($pd_value)) AND ($pr_array['than_attribute'] != "shipping" OR $pr_array['attribute'] != "shipping" ))){
but i can’t test this now.
Also please consider to include alternative category path option in future versions
https://www.ads-software.com/support/topic/category-path-problem-2/
- The topic ‘Multiply, divide, plus, minus doesn’t work’ is closed to new replies.