Search the Community
Showing results for tags 'price rounding'.
-
Hello folks! When i Have price in my product catalog with 3 decimals, how i can rounding my price and show only 2 decimals in cart and checkout? Do this fumction exist?
-
Hi there, I hope you can help me finding the file I have to change. I have prestshop 1.6. Now my problem : I have a currency with four decimals. When I buy something and the order confirmation is send everything looks good so far, but the unit price in the order confirmation mail is showing for 1.6100 instead of the corecct value of 1,6090. So it rounds the price like having 2 decimals. The total of the order confirmations value is correct only the unit price is shown wrong. Any ideas ? Thank you in advance. Sam
-
problem with rounding of prices
David Henry posted a topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
We encountered a problem with payments when rounded, the amount paid is actually different from the amount confirmed, this gave us the error on orders where the status would be Payment Failed due to a 2c difference. To fix this we changed the 2 to a 3 on this line in defines.inc.php define('_PS_PRICE_DISPLAY_PRECISION_', 3); But now all of our products are listed with 3 decimal places, like €9.990. Is there a better solution? David- 2 replies
-
- price rounding
- decimal point
-
(and 2 more)
Tagged with:
-
I have installed Prestashop and finally got it configured to put products in etc but now only to hit a brick wall with price rounding. I've looked about for help on it but everyone's needs seem to be unique to everyone else's. I have a much more easy question here; I have a product at £2.29p. After tax (@ 20%) it goes up to £2.75. Brilliant. I just want that to be the price of the product but price rounding is screwing it up. As it is being displayed at £3 now. Now I understand why it's doing this (I think), due to it being on classic mode it see's the price at 2.75 and rounds up to £3. But how can I prevent this? Or what must I do to fix/circumvent this rounding? I understand price rounding features cannot be disabled because it's hardcoded into the framework but what solutions are there for this (most obviously) a typical problem? I really did look before posting this, I know it must be a common request/issue or has been answered 1,000 times before but please guys, i'm desperate! Thanks. [i am using Prestashop v1.5.6.1 and it is installed with us-gb language by default, I have found it too difficult to change that too. However I have configured it to use British Pounds! Does this matter?]