> ## Documentation Index
> Fetch the complete documentation index at: https://docs.laravelshopper.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Categories

> Organize your products with categories for better navigation.

Categories are essential for organizing your product catalog. They help customers navigate your store and find products easily.

## Overview

Categories create a hierarchical structure for your products. You can create:

* **Parent categories** - Top-level categories (e.g., "Clothing", "Electronics")
* **Subcategories** - Nested categories (e.g., "Men's Shirts" under "Clothing")

## Accessing Categories

Click on **Categories** in the sidebar to access the category management page.

<Frame>
  <img src="https://mintcdn.com/shopperlabs-ee054f5e/KQY6o7d4neR-LyIr/images/v2/categories.png?fit=max&auto=format&n=KQY6o7d4neR-LyIr&q=85&s=aeb9ceaa0958b89bed399946f6d16619" alt="Categories List" width="3444" height="1996" data-path="images/v2/categories.png" />
</Frame>

## Creating a Category

To add a new category:

1. Click the **Create** button on the Categories page
2. Fill in the category details
3. Click **Save** to create the category

<Frame>
  <img src="https://mintcdn.com/shopperlabs-ee054f5e/KQY6o7d4neR-LyIr/images/v2/category-create.png?fit=max&auto=format&n=KQY6o7d4neR-LyIr&q=85&s=0e6e54aa1cef9e5ae2e90e86fb68f705" alt="Create Category" width="3444" height="1996" data-path="images/v2/category-create.png" />
</Frame>

### Category Fields

| Field               | Required | Description                              |
| ------------------- | -------- | ---------------------------------------- |
| **Name**            | Yes      | The category name displayed to customers |
| **Parent category** | No       | Select a parent to create a subcategory  |
| **Description**     | No       | Detailed description of the category     |
| **Image**           | No       | A representative image for the category  |
| **Enabled**         | No       | Toggle to show/hide the category         |

### SEO Settings

Improve your category pages visibility in search engines:

| Field               | Description                            |
| ------------------- | -------------------------------------- |
| **SEO Title**       | Custom title for search results        |
| **SEO Description** | Meta description for the category page |

## Category Hierarchy

Categories can be nested to create a logical structure:

```
Electronics
├── Computers
│   ├── Laptops
│   └── Desktops
├── Phones
│   ├── Smartphones
│   └── Accessories
└── Audio
    ├── Headphones
    └── Speakers
```

To create a subcategory:

1. Create a new category
2. Select the parent category from the dropdown
3. Save the category

## Managing Category Order

Categories can be reordered to control how they appear in navigation:

* Use drag-and-drop to reorder categories
* Position determines the display order on your storefront

## Category States

* **Enabled** - Visible to customers and appears in navigation
* **Disabled** - Hidden from customers but products remain categorized

<Tip>
  Create a clear and logical category structure from the start. Reorganizing categories later may affect URLs and SEO.
</Tip>

## Best Practices

<CardGroup cols={2}>
  <Card title="Keep it Simple" icon="list">
    Don't create too many levels. 2-3 levels deep is usually sufficient.
  </Card>

  <Card title="Use Clear Names" icon="font">
    Category names should be descriptive and match what customers search for.
  </Card>

  <Card title="Add Images" icon="image">
    Visual categories help customers navigate faster.
  </Card>

  <Card title="Plan Ahead" icon="sitemap">
    Think about your full product range before creating the category structure.
  </Card>
</CardGroup>

For developer details, see the [Categories documentation](/v2/categories).
