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:productmpn]

This tag outputs the full product name and product page edit buttons. For SEO purposes you can allow the tag to output a H1 tag around your product's name.

This tag can only be used on the product page.

  • Tag Information
  • Nesting This Tag
Basic Use
In its basic use the product name tag will output the product's full name within a H1 tag. The size, font face and colour can be changed within the Design section of your EKM shop.

[ekm:productname][/ekm:productname]
                                
This would output something like...

Panasonic SCPM38DB Micro system - with iPod Dock & DAB in Black

Full Use

If used with a font_formatting attribute (set to no) the name will be output without any of the systems predefined formatting. This strips out all <font> tags and will not prepend or append the name with a h1 tag.

If you wish to output H1 tags around the name using font_formatting='no'; you will need to manually add these.


[ekm:productname]
    font_formatting='no';
    name_only='no';
[/ekm:productname]
                                
This would output something like...
Panasonic SCPM38DB Micro system - with iPod Dock & DAB in Black
Tag Attributes
Font Formatting
font_formatting='no'';

Specify whether or not you want the product's name to be output with font formatting.

Value
Description
yes
Formatting will be applied
no
Formatting will not be applied
Name Only
name_only='no'';

Specify whether you want the tag to output the name as well as edit buttons. If set to no, edit buttons WILL appear. If set to yes edit buttons WILL NOT appear.

Value
Description
yes
Only the name will be output. No edit buttons will be output.
no
Both the name and edit buttons will be output.

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='[ekm:productname]font_formatting='no'; name_only='yes';[/ekm:productname]';
    ifvalue2='Panasonic SCPM38DB Micro system - with iPod Dock & DAB in Black';
    ifthen='The same';
    ifelse='Not the same';
[/ekm:if]