Ecom:Group.MetaKeyWords
Version: - stringSummary
Returns the meta keywords for the group.
Settings
The value is based on the Keywords input field under the Meta information section for a group.
(Ecommerce > Product Catalog > Group > Details > Meta information > Keywords)
Remarks
You need to enable Customized URLs in Management Center – Customized URLs. You also need to enable “Convert Module URLs” in “Internal links”.
The Ecommerce meta keywords overrides the meta keywords on the page.
Examples
Outputting the template tag
@GetString("Ecom:Group.MetaKeyWords")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Group.MetaKeyWords"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Group.MetaKeyWords");
}
Outputting the template tag
<!--@Ecom:Group.MetaKeyWords-->
Check if string has a value
<!--@If Defined(@Ecom:Group.MetaKeyWords)-->
Let's output this tag here: <strong><!--@Ecom:Group.MetaKeyWords--></strong>
<!--@EndIf(@Ecom:Group.MetaKeyWords)-->