Ecom:Group.Detail.Link
Version: 9.9.0 stringSummary
Returns an URL to an internal link when asset is defined as link.
Settings
The value is based on an control's lnk added to specific asset category in the product group definition.
(Ecommerce > Product Catalog > Shop > Product group > Assets )
Examples
Outputting the template tag
@GetString("Ecom:Group.Detail.Link")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Group.Detail.Link"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Group.Detail.Link");
}
Outputting the template tag
<!--@Ecom:Group.Detail.Link-->
Check if string has a value
<!--@If Defined(@Ecom:Group.Detail.Link)-->
Let's output this tag here: <strong><!--@Ecom:Group.Detail.Link--></strong>
<!--@EndIf(@Ecom:Group.Detail.Link)-->