Request a Call Back

Enter your number and one of our friendly ecommerce experts will be in touch. All fields are required.

Speak to our experts today 0333 004 0333
Speak to one of our experts today or Request a Callback
User Guides

EKM Tag: [ekm:productcondition]

This tag is used to output the product condition attribute.

This tag can only be used on the product page. You must enable the the "product attributes" feature in your EKM shop.

  • Tag Information
  • Nesting This Tag
Basic Use
In its basic use the tag will output just the product condition with no surrounding text.

[ekm:productcondition]show='yes';[/ekm:productcondition]
                                
Advanced Use
The tag can also be used to output HTML around the product condition.

[ekm:productcondition]
    show='yes';
    htmlbefore='Product Condition [';
    htmlafter=']';
[/ekm:productcondition]
                                
Tag Attributes
Show?
show='no'';

Specify whether or not you want the tag to be output on the page.

Value
Description
yes
The tag will be displayed
no
The tag will not be displayed
HTML Before
htmlbefore='Product Condition [';

Define the text or HTML that will appear before the product condition value

Value
Description
{user defined}
Define any HTML you wish to display before the product condition.
HTML After
htmlafter=']';

Define the text or HTML that will appear after the product condition value

Value
Description
{user defined}
Define any HTML you wish to display after the product condition.

The EKM system allows for some tags to be nested within other tags.

Nesting This Tag

When nesting this tag you do not need to make any alterations.


[ekm:if]
    iftype='EQUALS';
    ifvalue='1';
    ifvalue2='1';
    ifthen='[ekm:productcondition]show='yes';[/ekm:productcondition]';
    ifelse='';
[/ekm:if]