Price Format
Developer
3rd Party (Free)
2 downloads (last 90 days)
EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
Formats a supplied price (decimal places, thousands separator, decimal point separator) and adds or displays tax amount (percentage supplied as an optional parameter).
Accepts six parameters:
price (required, numeric value)
decimals (optional, number of decimal points to show, defaults to “2”)
point (optional, character to use as point separator, defaults to “.”)
thousands (optional, character to use as thousands separator or “none”, defaults to “,”)
tax (optional, tax percentage - numeric value only, defaults to “0”)
show (optional, value can be “tax” to show just the tax amount or “total” to show the price including tax, defaults to “total”)
Example usage:
{exp:price_format price="1000"}
(Output: 1,000.00)
{exp:price_format price="1000" decimals="0"}
(Output: 1,000)
{exp:price_format price="1000" tax="20"}
(Output: 1,200.00)
{exp:price_format price="1000" tax="20" show="tax"}
(Output: 200.00)
Download Price Format
EE Support | Downloads | Add-On Version | Release Date |
---|---|---|---|
Not Specified | Download | 1.0 | Feb 7, 2011 |
This entry was created February 7, 2011, 2:14 pm.
This entry was last updated May 30, 2011, 3:16 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
4 Reviews:
kubik101 06.01.16
Works great. Thanks to the developer. This definitely needs to be worked into EE core.
DanTreasure 03.03.13
Fantastic plugin, easy to set up and worked a treat! Thanks heaps!
Custom Studio 07.20.12
Great help, thanks!
Bix 05.07.12
I’m not sure why number formatting isn’t built into EE2 but apparently it isn’t. This plugin seems to do the trick.