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