CustomFields
Summary
The CustomFields
loop lets you display information about the custom product fields for a product.
Remarks
The custom product fields are created in Management Center > Ecommerce > Product catalog > Product fields.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
[TemplateTag]
Returns the value of the input field for the custom product field.
@GetString("[TemplateTag]")
[TemplateTag].Clean
The value of the input field for the custom product field.
@GetString("[TemplateTag].Clean")
[TemplateTag].Fullpath
The value of the input field for the custom product field.
@GetString("[TemplateTag].Fullpath")
[TemplateTag].Name
Returns the name of the custom product field.
@GetString("[TemplateTag].Name")
[TemplateTag].System
Returns the system name of the custom product field.
@GetString("[TemplateTag].System")
[TemplateTag].Template
Returns the template tag for the custom product field.
@GetString("[TemplateTag].Template")