Home Forums WoodMart support forum header cart total remove decimal

header cart total remove decimal

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #718221

    souravv9900
    Participant

    how to remove decimal value from cart totals in header

    show only the amount without the decimal values

    check screenshot

    Attachments:
    You must be logged in to view attached files.
    #718270

    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

    #718314

    souravv9900
    Participant

    it is removing decimals from all places including cart and checkout pages , i just want to hide decimals in header totals

    #718349

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    WooCommerce does not provide a built-in option to hide decimals only for the header cart subtotal, as the “Number of decimals” setting under WooCommerce > General > Currency options is a global configuration and affects all prices across the entire site, including product pages, cart, checkout, and widgets. It requires customizations and this is beyond our limitations and support policy.

    Best Regards

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