Ecom:Group.Number

Version: - string  

Summary

Returns the number of the group.

Settings

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

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

Examples

Outputting the template tag

@GetString("Ecom:Group.Number")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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