Home Forums WoodMart support forum Cart total display with decimals

Cart total display with decimals

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #714960

    agentiaclickclick
    Participant

    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.
    #715020

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    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

Viewing 2 posts - 1 through 2 (of 2 total)