# Listing subcategories

With the 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 custom field "Listing subcategories" in the respective category:

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

<figure><img src="/files/2klsyYb4bSNS8kei1Q7Q" alt=""><figcaption></figcaption></figure>

#### Technical name

`twt_{theme}_{edition}_custom_field__category__listing_subcategories`

***

## Options

Select whether you want to display the "Hero section" 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"

***

## 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: 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.themeware.design/additional-features/custom-fields/categories/listing-subcategories.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.
