Jump to content

Help Needed - Prices for Products in Front Office being rounded up to nearest dollar


Recommended Posts

Greetings all

Have a customer/client using PrestaShop and it seems when they are adding products in the Back Office they enter the price as say for example 19.99 .... then in the Front Office and also catalog listing in the Back Office all the prices for items are being rounded to whole dollars ie 19.99 shows as $20

I've checked the settings for the currency they are using it says it is set to show decimals and when you edit a product it shows the correct price but these do not seem to be showing up correctly anywhere else

Thanks in advance

WildeThang

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...

Hi,

my shop has low prices. (ex. 0,015€ / product).
i have changed code:

define('_PS_PRICE_DISPLAY_PRECISION_', 2);


with this:

define('_PS_PRICE_DISPLAY_PRECISION_', 3);



On Back office i set price for product 0,015 €...

...but on front page price is rounded from 0,015€ to 0,020€ (i have 3 decimals!!!)

I will be very grateful for any assistance

8663_DG0mDSOVW3mGewr2v1Sn_t

8664_ydi6Vv9Ys7siRaWCkbFM_t

Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...
×
×
  • Create New...