# Categories

**Categories** can be used to **sort your products** according to their **respective criteria**.

{% content-ref url="/pages/YsKXRdrWRfxfz0vsigPs" %}
[Featured Category](/en/products/categories/featured-category.md)
{% endcontent-ref %}

For example:&#x20;

On your website, you **sell gadgets** and **clothes**. So you can **create clothing categories** and **gadgets** on your website.

**Categories** can also be used for you to **organize your products** on the **homepage** of your website. You can refer tutorial on Category Products :

{% content-ref url="/pages/muTVFz3dwM78j5pZEnQ2" %}
[Category Products](/en/products/categories/category-products.md)
{% endcontent-ref %}

## Setup Categories

1\. Log in to your Commerce account and click on **Products** -> **Categories**

2\. Next click on the **Add category** button

![](/files/7NjSo4fMnqa2SjOsA3Jk)

3\. Later, the display will appear as below and you can enter the name of the category you want. (Example: Gadget) When done you can click the **Save** button. (Make sure the category is **Published**)

![](/files/IWgY1peyW9Pc695NJiKY)

The categories setup on your website is completed.&#x20;

## Upload products into categories

Before you continue this tutorial make sure you **have added your product first** and **save the product.**

1\. On the Categories page, you **click on the category that you just created in the previous step**.

![](/files/EK9xCd0QIxSKpHXeIKrA)

2\. Next you will be taken as shown below. You need to click on **Category products**

![](/files/4dqva1dhANMJAr4ufanO)

3\. After you click the Category products you can click **Select product** and **enter the product you want to be in the category**.

![](/files/daeKA2iOHxMZrWqNhwhY)

## Arrange the products

If you want to **arrange** your products so that they look neat.&#x20;

You need to click on the category that you set to be **displayed on your homepage** as well as the one that contains all your products and go to the **Category products** section.

1\. To sort products you can **drag the arrow button** to sort your products.

![](/files/ym2oXiBQgGTrCcsC6Lmn)

**You can see the results on the homepage of your website.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shoppego.com/en/products/categories.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
