EKM Tag: [ekm:loyaltypoints]
This tag is used to output the number of loyalty points a customer will earn when purchasing the product they are viewing.
This tag can only be used on the product page.
- Tag Information
- Nesting This Tag
[ekm:loyaltypoints][/ekm:loyaltypoints]
[ekm:loyaltypoints]
output_start='';
output_item='You Will Earn <b>[loyaltypoints]</b> points which is the equivalent of [loyaltypoints-value]';
output_end='';
[/ekm:loyaltypoints]
output_start='<strong>';
Specify any HTML you want to be output before the loyalty points value. This is only output when loyalty points are enabled.
output_item='You Will Earn <b>[loyaltypoints]</b> points which is the equivalent of [loyaltypoints-value]';
Specify the layout of the information output. Here you can choose to output either the points value or the monetary value of the points or both.
Within [ekm:tags] you would need to open and close them in the same way you would open and close HTML tags. However with attribute tags, like the ones below, they are self closing and work alone without any need to close them.
output_end='</strong>';
Specify any HTML you want to be output after the loyalty points value.
value_only='yes';
Specify whether to output the value with or without the surrounding formatting.
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';
ifvalue2='0';
ifthen='[ekm:loyaltypoints][/ekm:loyaltypoints]';
ifelse='';
[/ekm:if]