andreik Posted December 10, 2010 Share Posted December 10, 2010 Hello, I am new to this board and would love to solve a problem I recently noticed on my site.I offer a discount for some products, however PrestaShop charges tax on the full total, then subtracts the discount. If the user checks out through PayPal, the calculation on PayPal is done by subtracting the discount first, then charging tax. So, the two totals paid are different by a little bit. And, the Back Office Orders shows the error message such as "Warning: $30.69 paid instead of $31.86 !"Ideally, I would like PrestaShop to subtract the discount before taxing, like it's done on PayPal. Any help or suggestions?I am running version Version 1.3.1.1 - 0.575s. Link to comment Share on other sites More sharing options...
andreik Posted December 16, 2010 Author Share Posted December 16, 2010 Does anyone know if this has been modified in v.1.3.3. I noticed a lot of bug fixes relating to discounts. Link to comment Share on other sites More sharing options...
jimmiqbaa Posted March 10, 2011 Share Posted March 10, 2011 quick fix I have no idea why for each item the price with tax is calculated wrong but for the whole cart is ok edit redirect.tolline 27 from <input type="hidden" name="amount_{$k+1}" value="{$product.price_wt}" />to <input type="hidden" name="amount_{$k+1}" value="{$product.price}" />and after line 35 ( end if)add this line <input type="hidden" name="tax_cart" value="{$tax}" /> Link to comment Share on other sites More sharing options...
Recommended Posts