Page:Ecom.ProductList.GroupName
Version: - stringSummary
Renders the Ecommerce product group name.
Settings
The value is generated automatically.
Remarks
The tag is rendered when the Product Catalog module is available on the page with an ecommerce product list from a specific group (querystring with a group is required).
Examples
Outputting the template tag
@GetString("Page:Ecom.ProductList.GroupName")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Page:Ecom.ProductList.GroupName"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Page:Ecom.ProductList.GroupName");
}
Outputting the template tag
<!--@Page:Ecom.ProductList.GroupName-->
Check if string has a value
<!--@If Defined(@Page:Ecom.ProductList.GroupName)-->
Let's output this tag here: <strong><!--@Page:Ecom.ProductList.GroupName--></strong>
<!--@EndIf(@Page:Ecom.ProductList.GroupName)-->