[TemplateTag].Fullpath
Version: - stringSummary
The value of the input field for the custom product field.
Settings
The value is based on the custom product field on the product detail page.
(Ecommerce - Product - Details - Product fields - Customfield)
Remarks
Mainly used together with fields of the type link or File manager.
Contains /Files or /Files/Billeder if Link or File manager is used.
Examples
Outputting the template tag
@GetString("[TemplateTag].Fullpath")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("[TemplateTag].Fullpath"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("[TemplateTag].Fullpath");
}
Outputting the template tag
<!--@[TemplateTag].Fullpath-->
Check if string has a value
<!--@If Defined(@[TemplateTag].Fullpath)-->
Let's output this tag here: <strong><!--@[TemplateTag].Fullpath--></strong>
<!--@EndIf(@[TemplateTag].Fullpath)-->