Skip to main content

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

  1. Admin panel → Catalog → Categories → "Create"
  2. Name (e.g. "Weapons", "Resources", "Privileges")
  3. Slug (auto-generated)
  4. 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.