EKM Tag: [ekm:productprice]
This tag is used to output the product price on a product page.
This tag can only be used on the product page.
- Tag Information
- Nesting This Tag
[ekm:productprice][/ekm:productprice]
[ekm:productprice]
display_type='auto';
price_colour='auto';
price_font='auto';
price_size='auto';
price_text_layout='auto';
price_symbol_layout='auto';
[/ekm:productprice]
display_type='standard';
Define the text or HTML that will appear before the product weight value
price_colour='#ff7800';
Define the text or HTML that will appear before the product weight value
#8B0000
) #df6900
price_font='no';
Specify whether or not to use font formatting on the price tag and which font face to use.
Arial, Verdana
price_size='3';
Specify the font size to use.
3, 4, 2
price_text_layout='Price: [price]';
Specify how you would like the price to be output.
This attribute allows you to nest attribute tags within, this allows you to output data within your own custom HTML and text.
price_symbol_layout='auto';
Specify the order in which to output the price and symbol. Useful for internation sites. It is advised you use auto
unless you specifically need to output in a different order.
£123.99
123.99£
value_only='no';
Specify whether or not you want the price outputting with no currency symbol or surrounding HTML.
The EKM system allows for some tags to be nested within other tags.
When nesting this tag you do not need to make any alterations.
[ekm:if]
iftype='EQUALS';
ifvalue='0.00';
ifvalue2='[ekm:productprice]price_text_layout='[price]'; value_only='yes';[/ekm:productprice]';
ifthen='FREE';
ifelse='[ekm:productprice][/ekm:productprice]';
[/ekm:if]