category
The category
object contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
category.id | String | Returns the unique identifier of the category. |
category.title | String | Returns the title of the category. |
category.url | String | Returns the full URL of a category. |
category.products_count | Number | Returns number of products in the category. |
category.children | Array | Returns an array of child categories. |
Code Example
<li>
<a href="{{ category.url }}">
{{ category.title }}
<i href="{{ category.id }}"></i>
</a>
</li>
Updated about 1 year ago