ProductCategoryFields
Summary
The ProductCategoryFields
loop lets you display various information the product categories fields that you can create in the Management center in a product category that can be attached to a product group in eCommerce. The product category fields are filled in the detail page for a product.
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
Ecom:Product.CategoryField.CategoryID
Returns the ID for the Product category.
@GetString("Ecom:Product.CategoryField.CategoryID")
Ecom:Product.CategoryField.DefaultValue
Returns the value of the product category field option that is selected by default.
@GetString("Ecom:Product.CategoryField.DefaultValue")
Ecom:Product.CategoryField.ID
Returns the ID for the Product category field.
@GetString("Ecom:Product.CategoryField.ID")
Ecom:Product.CategoryField.Label
Returns the name of the product category field.
@GetString("Ecom:Product.CategoryField.Label")
Ecom:Product.CategoryField.OptionLabel
Returns label of the category field, based on an value in the field definition.
@GetString("Ecom:Product.CategoryField.OptionLabel")
Ecom:Product.CategoryField.PresentationType
Returns the display type for the chosen list type that's used for this field.
@GetInteger("Ecom:Product.CategoryField.PresentationType")
Ecom:Product.CategoryField.TemplateTag
Returns the field template name.
@GetString("Ecom:Product.CategoryField.TemplateTag")
Ecom:Product.CategoryField.TypeID
Returns the ID of the field type.
@GetString("Ecom:Product.CategoryField.TypeID")
Ecom:Product.CategoryField.Value
Returns the value of the field.
@GetString("Ecom:Product.CategoryField.Value")
Ecom:Product.CategoryField.Value.Clean
Returns the value of the field.
@GetString("Ecom:Product.CategoryField.Value.Clean")