This plugin is outdated and might not be supported anymore
Advanced Custom Fields: Price Field

Advanced Custom Fields: Price Field

Details
View on WordPress

How it works

  • Plugin will store your “price” as float so any time you will change desire number format there will be no reformatting problems.
  • Best column type in database for “price” related fields is decimal. As WordPress keep meta as type “text” I can only cast it to float. Keep it in mind.
  • Field validation is “live” thanks to https://github.com/teamdf/jquery-number.
  • When you use get_field function you will get preformatted number based on your settings.

Options

format

Available formats:
* 1 337.55
* 1 337,55
* 1,337.55
* 1.337,55
* 1337
* 1 337

Default parameters result

1 337.00

Compatibility

This ACF field type is compatible with:
* ACF 5
* ACF 4

Details

Plugin code:
acf-price
Plugin version:
1.2.1
Outdated:
Yes
WP version:
3.5 or higher
PHP version:
or higher
Test up to WP version:
4.8.25
Total installations:
500
Last updated:
2017-07-16
Rating:
Times rated:
2
acf
advanced-custom-fields
price