Ecom:Group.Icon
Version: - stringSummary
Returns the path to icon for the group.
Settings
The value is based on the Icon input field for a group.
(Ecommerce > Product Catalog > Shop > Group > Details > Media > Icon)
Remarks
The tag is only rendered if an icon is selected.
Examples
Outputting the template tag
@GetString("Ecom:Group.Icon")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Group.Icon"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Group.Icon");
}
Outputting the template tag
<!--@Ecom:Group.Icon-->
Check if string has a value
<!--@If Defined(@Ecom:Group.Icon)-->
Let's output this tag here: <strong><!--@Ecom:Group.Icon--></strong>
<!--@EndIf(@Ecom:Group.Icon)-->