Ques/Help Using format in a template modification failing

D

Dannymh

Guest
Hi All I have a template modification on 'custom_fields_macros'

The change looks for a specific custom field with an XF:if statement

It then replaces it with

Code:

Code:
				<dl class="{$valueClass}" data-field="{$fieldId}">
					<dt>{$fieldDefinition.title}</dt>
					<dd>${$fieldValue|currency}</dd>
				</dl>

Basically changing that numeric custom field to a currency.
The problem is that it is taking the return value as $1.00 when the initial value was 4200

I had similar issues when...

Read more

Continue reading...