Product categories
Categories group products on the storefront. Players can filter the catalog by category using the segmented control above the product grid.
Creating a category
- Admin panel → Catalog → Categories → "Create"
- Name (e.g. "Weapons", "Resources", "Privileges")
- Slug (auto-generated)
- Icon (optional) — URL of the category image
How categories work on the storefront
- Filter above the product grid — CategoryTabs
- Each category is a button with an icon, name, and product count
- The active category is highlighted
- "All products" is always first and shows the total count
Category order
Categories are sorted by the position field (number). Lower values appear further left in the filter bar.
Relationship with products
Each product can belong to one category (categoryId). If not set, the product appears only in the "All products" view.