-
Notifications
You must be signed in to change notification settings - Fork 1
liquid_page_category
Vladimir Krõlov edited this page Jul 23, 2014
·
3 revisions
In addiotion to Default Collection methos has next ones:
- roots - collection of root elements
- id
- name
- handle
- parent - parent category
- level - shows how deep you are
- url
- root - returns root category element
- root?
- current?
- open?
- descends_from (other)
- parents - collection of all parent categories
- children - collection of children categories
- children?
- products - collection of this category products
- products_with_children - collection of products from this category and category childrens