Daffuzz Posted January 3, 2018 Share Posted January 3, 2018 Somebody has find a solution on price rounding problem, I'm tiret to search at google for nothing, I'm trying many ways, but problem is same, when I add 75 products per 7.00Eur final price is 525.44, not 525 Link to comment Share on other sites More sharing options...
13thjoker Posted January 3, 2018 Share Posted January 3, 2018 Hi, Please include link to your website and which version you using? Thanks 13thjoker Trainee IT Link to comment Share on other sites More sharing options...
Daffuzz Posted January 4, 2018 Author Share Posted January 4, 2018 19 hours ago, 13thjoker said: Hi, Please include link to your website and which version you using? Thanks 13thjoker Trainee IT I'm Using Presta 1.7.2.4 and web adress is http://vairumtirdznieciba.greenhive.lv Link to comment Share on other sites More sharing options...
Vilius PromoApranga Posted January 8, 2018 Share Posted January 8, 2018 can you make a screen shot of admin panel price? how did you imported products? Link to comment Share on other sites More sharing options...
Daffuzz Posted January 11, 2018 Author Share Posted January 11, 2018 On 2018.01.9. at 12:56 AM, Vilius PromoApranga said: can you make a screen shot of admin panel price? how did you imported products? I add products in top pf page button '' Add products'' Link to comment Share on other sites More sharing options...
Daffuzz Posted January 11, 2018 Author Share Posted January 11, 2018 On 2018.01.9. at 12:56 AM, Vilius PromoApranga said: can you make a screen shot of admin panel price? how did you imported products? In Your page is the same problem! If Tax is 21% cauculation is wrong Link to comment Share on other sites More sharing options...
ecommerce16 Posted January 11, 2018 Share Posted January 11, 2018 Just take more decimals in your price excl tax. For example 10 euro incl. 21% tax, take 8,264462 excl. tax Link to comment Share on other sites More sharing options...
Daffuzz Posted January 12, 2018 Author Share Posted January 12, 2018 10 hours ago, Curious said: Just take more decimals in your price excl tax. For example 10 euro incl. 21% tax, take 8,264462 excl. tax This don't solve the problem prestashop after than round it up or down and than prices are not correct Link to comment Share on other sites More sharing options...
HavanA Posted January 12, 2018 Share Posted January 12, 2018 maybe you can find the solution in the 'rounding' settings in [settings]-[general] ? Link to comment Share on other sites More sharing options...
Daffuzz Posted January 12, 2018 Author Share Posted January 12, 2018 2 minutes ago, HavanA said: maybe you can find the solution in the 'rounding' settings in [settings]-[general] ? This settings I checked, I think all is ok, I change it many ways bet the problem is same Link to comment Share on other sites More sharing options...
Daffuzz Posted January 15, 2018 Author Share Posted January 15, 2018 Maybe this fix has a solution of this problem? #8468: Fix wrong typehinting on attribute prices? Link to comment Share on other sites More sharing options...
Daffuzz Posted April 5, 2018 Author Share Posted April 5, 2018 On 1/15/2018 at 10:56 AM, Daffuzz said: Maybe this fix has a solution of this problem? #8468: Fix wrong typehinting on attribute prices? Solution not fixed yet, maybe presta has fixed with 1.7.4.0 update, searching for solution in google, I see it's always been huge problem. Link to comment Share on other sites More sharing options...
HairMaker.Gr Posted November 4, 2019 Share Posted November 4, 2019 Same problem and for me. i want to disable round price option in 1.7.6.1. thanks Link to comment Share on other sites More sharing options...
JKoele Posted April 18, 2020 Share Posted April 18, 2020 (edited) Just had to walk through the entire fricking application in my spare time to find this problem..... Change the file "classes/Tools.php" and find the "public static function ps_round($value, $precision = 0, $round_mode = null)" Add the following line: if($precision == 0){ $precision = 2; } //Or any other number you want Somehow the precision was always empty this fixed it for me. Hope this helps atleast someone Edited April 18, 2020 by JKoele (see edit history) 1 Link to comment Share on other sites More sharing options...
m.rtr Posted August 30, 2020 Share Posted August 30, 2020 (edited) Hope some one can help me out. Used this fix, and it did something, but not exact. When i use 4.94, incl. 21% tax, price round up to 4.95 - thats good. If i use 4.95, incl 21% tax, price rounds up to 4.96 - not good. Strange thing, when i use a combinations which add 10 incl, tax on price 4.95, price does displayes corrects at 14.95. What am i doing wrong? Using PS 1.7.5, price rounding in shop parameters is set at round up to closest value, using 2 decimals and rounding on each rule. If i use round up when halfway there, price 4.94 becomes 4.95 - thats good. But - the price + combination that became 14.95 (good ) now suddenly becomes 14.94 (wrong). So, i problem solved triggers another XD On 4/18/2020 at 5:39 PM, JKoele said: Just had to walk through the entire fricking application in my spare time to find this problem..... Change the file "classes/Tools.php" and find the "public static function ps_round($value, $precision = 0, $round_mode = null)" Add the following line: if($precision == 0){ $precision = 2; } //Or any other number you want Somehow the precision was always empty this fixed it for me. Hope this helps atleast someone Edited August 30, 2020 by m.rtr (see edit history) Link to comment Share on other sites More sharing options...
neich78 Posted December 6, 2021 Share Posted December 6, 2021 Having same issue. Mostly happens in big orders, with many products in cart. It seems, Prestashop calculates taxes in each product line, but not in the totals. Tried to solve the problem many ways but always with a little difference of cents in taxes and invoices. What we did is to configure rounding configurations like this: Round mode: Round up away from zero...recommended Round type: Round on total. Anyways, this does not solve completely the error, as we have some orders with 1 to 5 cents differences, between total taxes and taxes on left side of the invoice, see attached. This is an intolerable mistake from an ecommerce service. Using Prestashop 1.7.7.5. Link to comment Share on other sites More sharing options...
faDdy Posted Thursday at 06:58 PM Share Posted Thursday at 06:58 PM This have been a problem since Prestashop 1.4 and there is still no solution to it. I tested PS 8 and it's same there. I am not sure how can they make a system this big and not even work on resolving an issue that is so big and cause so many problems. If you enter those order values into quickbooks you get caught in a second that the values are not showing up correctly. I say that we go viral with this post every where so someone will actually notice this and work on this. Link to comment 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