Ecom:Group.Detail.Image.Clean

Version: 9.9.0 string  

Summary

Returns a file path to an asset item.

Settings

The value is based on an file path 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.Image.Clean")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Group.Detail.Image.Clean"); }

Outputting the template tag

<!--@Ecom:Group.Detail.Image.Clean-->

Check if string has a value

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