Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean
Version: - stringSummary
Returns the value of the field.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean");
}
Outputting the template tag
<!--@Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean-->
Check if string has a value
<!--@If Defined(@Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean)-->
Let's output this tag here: <strong><!--@Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean--></strong>
<!--@EndIf(@Ecom:Product.CategoryField.[ProductCategoryGroup].[Field].Value.Clean)-->