> For the complete documentation index, see [llms.txt](https://docs.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.themeware.design/additional-features/custom-fields/categories/listing-subcategories.md).

# Listing subcategories

With the category custom field "Listing subcategories" you can select whether the theme extension "Listing subcategories" should be displayed in this category.

<figure><img src="/files/bXKHWMLCtRboFgci0syu" alt=""><figcaption><p>Custom field</p></figcaption></figure>

{% hint style="success" %}
**Tip**: General or global settings can be found in the theme configuration.
{% endhint %}

***

## Custom field

You can find the "Show 'Listing subcategories'" custom field in the respective category:

> Tab "General" ⇒ Block "Custom fields" ⇒ Tab (Set) "Categories (ThemeWare® ... Pro)"

**Type**: Selection

**Technical name**: `twt_{theme}_{edition}_custom_field__category__listing_subcategories`

***

## Options

Select whether you want to display the "Listing subcategories" in this category.

* **inherit from theme configuration**
  * This is the default option. In this case, the theme configuration decides whether the "Listing subcategories" are displayed or not.
* **no**
  * The "Listing subcategories" are not displayed in this category, regardless of the theme configuration settings.
* **yes**
  * The "Listing subcategories" are displayed in this category if you have selected the representation option `show (via custom field)` in the theme configuration.

{% hint style="info" %}
**Note**: Of course, only subcategories are displayed if a category has visible subcategories and Shopware provides them in the corresponding category tree.
{% endhint %}

***

## Theme configuration

You can find the general (global) settings in the theme configuration:

> Tab "Extensions" => Block "Listing subcategories (on listing pages)"

***

## Further information

You can find more information about the extension "Listing subcategories" here:

{% content-ref url="/pages/GWCbRyeujRB6mZazUD78" %}
[Listing subcategories](/additional-features/extensions/listing-subcategories.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.themeware.design/additional-features/custom-fields/categories/listing-subcategories.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
