
Originally Posted by
Defkon1
I have the following problem: in the product page the points are calculated on base price (wrong) and when I add it to the cart they are calculated on the subtotal (base price+taxes - right).
how to fix the points amount shown in product page?
thanks in advance
Actually I temporarily fixed adding to reward_points_function.php:90 the following code:
PHP Code:
//DFK - add taxes to reward_price
$taxrate = zen_get_tax_rate($result->fields['products_tax_class_id']);
$reward_price+= $reward_price*$taxrate/100;
and adding "p.products_tax_class_id" field in the select query...
there's any cleaner way to fix this?
Bookmarks