This topic has 3 replies, 2 voices, and was last updated 5 years ago ago by Olga Barlow
The sale percentage is calculated incorrectly after the update. What I can see is that sale-flash.php file was removed, if I add it back in, then on the shop page the calculation is correct.
woo.php
$element_options[‘regular_price’] = (int)$product_object->get_regular_price();
$element_options[‘sale_price’] = (int)$product_object->get_sale_price();
I guess (int) should not be used here.
Hello,
1) sale-flash.php file should be removed.
2) Replace (int) by (float). Or if you provide FTP access to your site we’ll be able to fix it for you. Also, fix will be included in the next theme update.
Regards
You must be logged in to reply to this topic.Log in/Sign up