Filters of a category or brand
ab_filtersList attribute filters and in-stock product counts for a category or brand, then pass chosen values as filters to find sizes or types.
Instructions
List the attribute filters of a category or brand listing (volume, hair type, skin type, gender, origin...) with each value's product count.
Use before ab_browse when the user wants a size or a type inside a category: pass {attribute: [value, ...]} as ab_browse's filters. Counts cover in-stock items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Brand slug from ab_brands, e.g. 'graph' or 'la-roche-posay'. | |
| category | No | Category slug from ab_categories, e.g. 'hair-shampoo' or 'sunscreen'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||