Ecom:Group.Name

Version: - string  

Summary

Returns the name of the group.

Settings

The value is based on the Name input field for a group.

(Ecommerce > Product Catalog > Shop > Group > Settings > Name)

Examples

Outputting the template tag

@GetString("Ecom:Group.Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Group.Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Group.Name"); }

Outputting the template tag

<!--@Ecom:Group.Name-->

Check if string has a value

<!--@If Defined(@Ecom:Group.Name)--> Let's output this tag here: <strong><!--@Ecom:Group.Name--></strong> <!--@EndIf(@Ecom:Group.Name)-->