• Resolved elixrdev

    (@elixrdev)


    Hi guys,

    i’m here looking for info,
    We are wanting to display 4 decimal points in the Email_New_Order with the value before the prices have been rounded up, but we don’t want customers seeing the 4 decimals only 2

    i have spent a few hours trying different configurations to no avail,
    would you have some insight on this at all?

    Thanks!
    Elixr Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @elixrdev This sounds like you want to have the email sent to the admin to be 4 decimals, but everywhere else be 2 decimals, correct?

    If so, you could probably use the wc_get_price_decimals filter to change the decimals to 4 instead of 2. You would just need to override the admin-new-order.php template to add and remove the filter.

    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @elixrdev We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Decimal Display’ is closed to new replies.