kongkiat Posted December 2, 2016 Share Posted December 2, 2016 I can not disable decimal number on prestashop 1.7.0.2. Please advice me. Thank you. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted December 3, 2016 Share Posted December 3, 2016 Basically it can be configured on:Back Office > Configure > Shop Parameters > field option "Number of decimals"But somehow it still show decimal, so this is a bug.Please create a bug report on http://forge.prestashop.com Link to comment Share on other sites More sharing options...
bellini13 Posted December 21, 2016 Share Posted December 21, 2016 so now decimals are just a global option? I can't support multiple currencies on the same store, some with decimals and some without? way to go Prestashop! 1 Link to comment Share on other sites More sharing options...
culex Posted February 1, 2017 Share Posted February 1, 2017 Hello guys, any solution for the decimal issue? i've been testing 1.7 and is the only thing that don't work Link to comment Share on other sites More sharing options...
mysho Posted February 9, 2017 Share Posted February 9, 2017 Removing decimals: in this file web/translations/cldr/main--xx-XX--numbers , change "standard":"#,##0.00\u00a0\u00a4" to "standard":"#,##0\u00a0\u00a4" xx-XX is language/translation which you use 3 1 Link to comment Share on other sites More sharing options...
Serge Goujon Posted May 23, 2017 Share Posted May 23, 2017 (edited) Thank you very much, mysho. That did the trick for cart and catalogue but not for front page. The latter still shows decimals.Its' 1.7.1.1 already, but still no official fix... Off topic: The more I see such flaws in the code (dozens of ways to save different data that lead to errors and bugs eventually) the more I understand that Open Source is a great way to create apps, but when it comes to support, they try to fix things, but nobody cares about integrity. Instead of polishing half-working 1.6 they switched to Symphony (which is not bad by itself) and called it 1.7. Still half-working. Check the amount of unresolved or closed unsolved tickets on Forge... Edited May 23, 2017 by Serge Goujon (see edit history) Link to comment Share on other sites More sharing options...
asesora2 Posted September 27, 2017 Share Posted September 27, 2017 Removing decimals: in this file web/translations/cldr/main--xx-XX--numbers , change "standard":"#,##0.00\u00a0\u00a4" to "standard":"#,##0\u00a0\u00a4" xx-XX is language/translation which you use Excelent! Thanks You! Link to comment Share on other sites More sharing options...
joseantgv Posted October 16, 2017 Share Posted October 16, 2017 With this module https://addons.prestashop.com/en/price-management/27821-currency-format-and-remove-decimals.html you can manage currency format as in PS 1.6. Link to comment Share on other sites More sharing options...
NavidTAvakoli Posted April 20, 2019 Share Posted April 20, 2019 Thanks You 👌🙏 Link to comment Share on other sites More sharing options...
Himanshubishtt Posted April 22, 2019 Share Posted April 22, 2019 Here is the solution. http://asktaw.com/how-to-change-number-of-decimals-in-prestashop-1-7/#comment-13 Hope it helps Link to comment Share on other sites More sharing options...
884483048 Posted May 13, 2019 Share Posted May 13, 2019 This solution is half working actually. If you remove .00 but your items has prices with decimals then final price will be incorrectly calculated in the basket. As for an examle: you have product#1 with price "10.55", if you remove .00 at standard section of the file then its price will be shown at frontend as "10" but if you add 2 pcs of product#1 to the basket final price will be "21" but not "20". Additional removal of .00 at accounting section of the file does nothing. Any ideas? Link to comment Share on other sites More sharing options...
Himanshubishtt Posted May 13, 2019 Share Posted May 13, 2019 @884483048 Sir, you cannot have both. Either you can remove the decimals or you can have the exact price. If you want the exact price then don't remove the decimals. Thanks Link to comment Share on other sites More sharing options...
884483048 Posted May 13, 2019 Share Posted May 13, 2019 (edited) 17 minutes ago, Himanshubishtt said: @884483048 Sir, you cannot have both. Either you can remove the decimals or you can have the exact price. If you want the exact price then don't remove the decimals. Thanks You don't understand - removing decimals in translation file "standard section" cause only visual effect. If goods prices in sql base were filled with decimals basket calculations will be incorrect. I tested what I am saying on Presta 1.7.3.2 Edited May 13, 2019 by 884483048 (see edit history) Link to comment Share on other sites More sharing options...
884483048 Posted May 13, 2019 Share Posted May 13, 2019 (edited) Update: this solution seems working correctly with prices (unsure about discounts etc) but only if "number of decimals" is set to 0 at shop parameters and corresponding rounding is enabled. Edited May 13, 2019 by 884483048 (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted May 20, 2019 Share Posted May 20, 2019 On 5/18/2019 at 6:01 PM, KILIYATSIA said: Back Office > Configure > Shop Parameters > field option "Number of decimals" This doesn't modify the number of decimals displayed, this is only for precision. Link to comment Share on other sites More sharing options...
Amorino Posted December 13, 2019 Share Posted December 13, 2019 Bonjour J'ai tout essayé avec 1.7.6 mais ça ne marche pas Link to comment Share on other sites More sharing options...
Yundar YK Posted March 30, 2020 Share Posted March 30, 2020 Saya juga ingin menghapus desimal di prestashop 1.7.5.2 , bagaimana caranya??? plesss help me.. Thx you 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