johanyohan Posted December 6, 2009 Share Posted December 6, 2009 I have this problem, if the product has a reduction price, the state tax is applied on the "base price" but not on the "final price", there's a problem with this in the shopping cart because the customer will see the final price with a tax based on the "base price" w/c is quite confusing for the customers to look at.for example: state tax= 6.25%(0.0625)base price = $100 <---- tax is applied herereduction = $20final price = $80 <-- tax is not applied hereupon purchase, the cart is showing 80$(final price) but the displayed tax calculation is $6.25(applied from the "base price") and not 5$(applied from the "final price"), its how its doing now. HOW CAN I MAKE THAT THE COMPUTATION FOR TAX WOULD APPLY FROM THE "FINAL PRICE" instead?Any good hearts in here who can help me??? Link to comment Share on other sites More sharing options...
aliaspt Posted November 6, 2010 Share Posted November 6, 2010 Having same problem and it is a big issue. Anyone solved this? This is not the way the taxes should be calculated! Link to comment Share on other sites More sharing options...
aliaspt Posted November 27, 2010 Share Posted November 27, 2010 Anyone fixed this??? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 27, 2010 Share Posted November 27, 2010 PS attributes are set to INCLUDE tax already.My Tax on a separate line Modification includes changes to make the impact Exclude tax.http://www.presto-changeo.com/prestashop-modifications/15-taxman.html Link to comment Share on other sites More sharing options...
aliaspt Posted November 27, 2010 Share Posted November 27, 2010 I don't know how that works. I have been using your module for a while. It puts the tax separately but doesn't affect tax calculation when there is a discount. The tax is still applied to the initial price - not the discounted price. Link to comment Share on other sites More sharing options...
tomerg3 Posted November 27, 2010 Share Posted November 27, 2010 I'm not sure about discounts, it affects the price impact of attributes.I'll check out the discounts when I get a chance, what type of discount are you using? Link to comment Share on other sites More sharing options...
aliaspt Posted November 27, 2010 Share Posted November 27, 2010 This happens when someone uses a voucher. I even tested a 100% voucher and it applied tax to the initial price of the product. So, with $0.00 to pay for a product, a customer would still have to pay a tax. Link to comment Share on other sites More sharing options...
crystalized Posted March 2, 2011 Share Posted March 2, 2011 Also looking for a fix for this. Using v.1.3.7 and not able to find a way to compute tax AFTER discount/voucher and BEFORE shipping costs. Any help would be much appreciated. Thank you. Link to comment Share on other sites More sharing options...
tomerg3 Posted March 4, 2011 Share Posted March 4, 2011 That happens in /classes/Product.php in the function public static function getPriceStaticYou can try to lower the tax addition below the vouchers if ($usetax) $price = $price * (1 + ($tax / 100)); To under // Group reduction if ($usereduc) $price -= Tools::ps_round($price * Group::getReduction(((isset($id_customer) AND $id_customer) ? $id_customer : 0)) / 100, 2); Link to comment Share on other sites More sharing options...
crystalized Posted March 5, 2011 Share Posted March 5, 2011 Thanks for the suggestion tomerg3. What version of Prestashop is the fix for? I tried looking in classes/Cart.php but couldn't find the suggested code. Link to comment Share on other sites More sharing options...
tomerg3 Posted March 5, 2011 Share Posted March 5, 2011 I meant Product.php (not Cart.php) in public static function getPriceStatic(....) Link to comment Share on other sites More sharing options...
Recommended Posts