# 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="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FvF7Uvolhhm9F9BghoFg6%2Fimage.png?alt=media&#x26;token=3a3697dc-8c34-41f9-954c-2efebe94a1a4" 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="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2F1oJnwCbOV9dyrumCRuBZ%2Fimage.png?alt=media&#x26;token=e6144c4a-cedd-48c1-9c8d-dfbfe15768bf" 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="../../extensions/listing-subcategories" %}
[listing-subcategories](https://docs.themeware.design/additional-features/extensions/listing-subcategories)
{% endcontent-ref %}
