Magikstah Posted May 18, 2022 Posted May 18, 2022 I'm having issue with calculation of price without tax, when I put price without discount it counts okay, because I made some changes in presta core, for example if I put product with price of 4,5 tax incl and 8% tax I get price - 4,17 tax excl, and that is correct. (4,5*100)/108 = 4,16666 rounds up. After giving specific price -15% I get price tax incl 3,83 which is correct, but I get 3,54 price tax excl which is incorrect (correct should be 3,55), I assume that everything counts using price tax excl instead of incl and counts like this 4,17 - (4,17*0,15) = 3,5445 (which php rounds to 3,54 instead of 3,55), Do you have any idea in which controller or source file should I look to modify PrestaShop behaviour? Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now