Cart total display with decimals
-
Hi,
Currently, the prices are shown with decimals (for example: 104.00). I would like the decimals to be removed only when they are .00, so the price would display as 104 instead of 104.00.
If the value includes non-zero decimals, they should remain visible (e.g., 100.50).
Could you please help me implement this?
Thank you!
Attachments:
You must be
logged in to view attached files.
Hello,
Navigate to WooCommerce > Settings > General > Currency options > Number of decimals and Set Number of decimals = 0. This will remove decimals for all prices.
https://postimg.cc/QKM1Bx31
Best Regards