Ecom:Group.Name

Version: -  

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 > General tab)

Examples

Outputting the template tag

@GetObject("Ecom:Group.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ var storedTag = GetObject("Ecom:Group.Name"); }

Outputting the template tag

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

Check if object has a value

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