Version: - string  


Returns groupid from a group that is in the shop context we are in.


The value is generated automatically.


So if there are 3 shops with 3 groups and 1 product is member of all 3 groups and one of the groups are primary, this tag will use the groupid from the shop context of the website instead of the primary groupid.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product.LinkGroupShopContext.Clean"); }

Outputting the template tag


Check if string has a value

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