Formatting commerce base price

Created on 6 November 2015, about 9 years ago
Updated 4 December 2024, about 2 months ago

Hi,
I am using Search Api Ranges with base price field (field: Price amount decimal). The problem is that input fields show unformatted values like 65000 (instead 650,00). I know that I can rewrite replace(/(\d)(?=(\d{2}$)+(?!\d))/, "$1.")) input using JS and recover raw values just before form submission but it is for me unnecessary complication and I would like avoid such solutions.

Is this issue a matter of configuration or am I missing something?

💬 Support request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇵🇱Poland krystianbuczak

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024