Ecom:Group.Number

Version: -  

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

Examples

Outputting the template tag

@GetObject("Ecom:Group.Number")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if object has a value

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