Repeats a Product Category template for each Category under the specified parent Category.
Used in place of a
<data:repeater>, to provide administrators with an improved page editing experience, by allowing the control attributes to be changed via options presented in the page editor left panel.
To edit the default template used to render Product Categories:
- Navigate to Dashboard > Website > Designs
- Click 'Dynamic Displays' located underneath a website design, followed by 'Product Category Details' or 'Product Categories List'
dataFilter
array
A Filter Array which will be used to filter results from the datasource.
dataLimit
int
Data Limit defining the [strong]Maximum[/strong] number of templates to be displayed.
This value is superceeded by paging and pagingrows
dataOrder
array
Data Order
dataStart
int
The number of results to skip, if datasource is a function that supports a Query Array.
id
string
Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
paging
bool
Whether to enable paging for this control. With paging enabled, the initial number of results will be limited to the value of pagingrows, and a 'Show More' button will appear.
Each click of the button will append pagingrows more rows. Default = false.
pagingRows
int
Use in conjunction with paging, to control the initial number of rows to be shown, and the number of rows loaded when 'Show More' is clicked. Default = 10.
templateType
string
(Required) The template type.
Possible Template Types:
details
list
variant
string
Template display variant
When component="\Components\Commerce\Products\Categories" templateType="details"
Possible Variants:
classic
stoic
When component="\Components\Commerce\Products\Categories" templateType="list"
Possible Variants:
classic
descriptive
parentproductcategory
string
Integer representing the Product Category ID/s.