Price Format
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Steve Abraham
always returns 0.00
Bug Report
ExpressionEngineNewbie
|
Posted: 04 February 2013 08:09 AM |
|
|
|
My code:
{exp:price_format price="{price}" decimals="2"}
The channel field {price} is a text input/decimal. It has a valid value in in. When I output just {price}, I see the correct value. The problem is only when I use price_format.
I copied/pasted the double quote from here: http://devot-ee.com/add-ons/support/price-format/viewthread/1587. Still nothing. I also checked to see if formatting was set to XHMTL (per http://devot-ee.com/add-ons/support/price-format/viewthread/6247); it was set to None.
When I first installed this, it was working fine. It just stopped working (not sure when). I’‘m not sure what I could have done to break this.
|
|
|
Steve Abraham
|
Posted: 04 February 2013 08:11 AM |
# 1
|
|
Developer
|
Hi there,
Can you try putting a numeric value straight into the price paramater (rather than {price}), see what comes out?
Thanks!
|
|
|
ExpressionEngineNewbie
|
Posted: 04 February 2013 08:18 AM |
# 2
|
|
|
{exp:price_format price=“12345” decimals=“2”} <—works as intended.
|
|
|
Steve Abraham
|
Posted: 04 February 2013 08:21 AM |
# 3
|
|
Developer
|
OK, can you output {price} on a test page somewhere that I can see? Just want to see if I can spot any odd formatting that’s creeping in.
|
|
|
ExpressionEngineNewbie
|
Posted: 04 February 2013 08:26 AM |
# 4
|
|
|
I emailed link to support@uk42.net
|
|
|