Ecom:ProductList:Page.GroupName
Version: - stringSummary
Returrns the name of the product group.
Settings
The value is generated automatically.
Remarks
The value is rendered if the product is rendered by the group ID.
Examples
Outputting the template tag
@GetString("Ecom:ProductList:Page.GroupName")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:ProductList:Page.GroupName"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:ProductList:Page.GroupName");
}
Outputting the template tag
<!--@Ecom:ProductList:Page.GroupName-->
Check if string has a value
<!--@If Defined(@Ecom:ProductList:Page.GroupName)-->
Let's output this tag here: <strong><!--@Ecom:ProductList:Page.GroupName--></strong>
<!--@EndIf(@Ecom:ProductList:Page.GroupName)-->