# Product Group List
The `product_groups` object describes a list of product groups in the store. Use this object to access all product groups or just the root product groups.
## Usage Example
```liquid
{%- comment -%} List all product groups {%- endcomment -%}
{% for group in product_groups.all %}
- {{ group.title }}
{% endfor %}
{%- comment -%} List only root product groups {%- endcomment -%}
{% for group in product_groups.root %}
- {{ group.title }}
{% endfor %}
```
## Properties
### all
List all available [product groups](/reference/liquid/objects/store/product_group/) in the store.
### root
List root [product groups](/reference/liquid/objects/store/product_group/) in the store.
### size
Returns the number of product groups in the list.