Skip to content

The price is rounded down when using comma instead of dot in the price format #277

@AndreeaCristinaRadacina

Description

Description

A user reported that the price appears weird on the product page.

ref: https://wordpress.org/support/topic/option-are-weirdly-presented-in-subtotal-list/#post-17538113

I am not sure if it's a bug or a feature request for providing support for commas.

Step-by-step reproduction instructions

  1. Add a checkbox
  2. Insert two options: Test - 1,50 and Test2 - 2,50
  3. Save and check the product

It appears correctly when using 1.50 instead of 1,50.

Screenshots, screen recording, code snippet or Help Scout ticket

image image

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.small(1-3h) This label is used for issues that can be completed within 3 hours or less.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions