Category


Describes a product category.

active_filters

Returns the active filters for this category, null if none is set.

all_products_count

Returns the total amount of products in this category

breadcrumbs

Prints category breadcrumbs.

categories

Returns the child categories for this category.

child_current

Tells whether any of this category children is currently active

current

Tells whether this category is currently active.

default_sort_by

Returns the default property this category is sorted by.

description

Returns the category description.

filters

Returns the available filters for this category, null if none is set.

handle

Returns the handle for this category.

has_parent

Returns true if this category has parent, false otherwise.

id

Returns the category id.

image

Returns the category image if such is set.

parent

Retrieves the parent category if category has parent, returns false otherwise.

products

Lists category products.

products_count

Returns the amount of products in this category that are currently viewed. Filtering will affect this value.

seo_description

Returns description for search engines.

seo_keywords

Returns keywords for search engines.

seo_title

Returns title for search engines.

sort_by

Returns the property this category is currently sorted by.

sort_by_param

Returns the query parameter name for sorting property.

sort_options

Returns possible sort options for this category.

title

Returns the category title.