# Homepage

See the [TheShop demo frontstore](https://frontstore.theshop.sk/en).

Homepage is the first touchpoint between the e-shop and a user. It consists of 2 parts:

* Top selling
* Categories

## Best selling products

Best selling products section shows a group of most popular products.

These products are sorted by the `score`. You can limit your selection and also apply other filters defined in parameters in the [product settings](https://demo.theshop.dev/api-documentation/v2#/products/43f03067f8de98b085489a6215514797).

<figure><img src="/files/8BNt7sTPmqwNhN4ywkZr" alt=""><figcaption><p>Best selling products section of TheShop demo frontstore</p></figcaption></figure>

## Categories

The Categories section shows products categories available on the e-shop.

You can add and edit product categories in the [product settings](https://demo.theshop.dev/api-documentation/v1#/products/ade01f8aa406faffb44d97453db596b6).

<figure><img src="/files/LuCSBoxMTWHNY95sh5a3" alt=""><figcaption><p>Categories section of TheShop demo frontstore</p></figcaption></figure>


---

# 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://wiki.theshop.dev/docs/frontstore/basic-selling-flow/homepage.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.
