barrystein Posted July 20, 2011 Share Posted July 20, 2011 Is there any way to get the Full Retail Price,Discount Percentageand Final Price to show in the productwhen using Group Discounts.When I set the price under the price tab in the product, and say select 10% reduction,the product does show full retail price slashed out, percentage discount and final price.Why can't I do the same when I am using a discount in the Customer Groups.I am using Customer Groups, Default Groupand assigning discounts to specific product categories and to the group as a whole Link to comment Share on other sites More sharing options...
shokinro Posted July 21, 2011 Share Posted July 21, 2011 if you are able to modify themes, I think it is possible to do so, because the data are all there. Link to comment Share on other sites More sharing options...
jonarve Posted November 10, 2011 Share Posted November 10, 2011 if you are able to modify themes, I think it is possible to do so, because the data are all there. Any idea on where to find that data? Link to comment Share on other sites More sharing options...
shokinro Posted November 10, 2011 Share Posted November 10, 2011 I think it might be different to handle it in PrestaShop 1.3x and 1.4x. but the idea is the same, you can call static function of Product class to get price value. Pass different parameter to get different price based on your purpose. Product::getPriceStatic(....); Here is the function definition public static function getPriceStatic($id_product, $usetax = true, $id_product_attribute = NULL, $decimals = 6, $divisor = NULL, $only_reduc = false, $usereduc = true, $quantity = 1, $forceAssociatedTax = false, $id_customer = NULL, $id_cart = NULL, $id_address_delivery = NULL) { ..... } Link to comment Share on other sites More sharing options...
w3bsolutions Posted May 15, 2012 Share Posted May 15, 2012 Did anyone get to figure this out? I am trying to do the same... Link to comment Share on other sites More sharing options...
Recommended Posts