> For the complete documentation index, see [llms.txt](https://themedocs.zenit.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themedocs.zenit.design/en/settings/custom-field-assignment/custom-fields-for-product-documents.md).

# Custom fields for product documents

Using the custom field assignment, you can select your own fields and display them in the datasheets tab on the product page. Create as many fields as you like and assign them in the configuration.

> from theme version 4.8.0

{% hint style="success" %}
Datasheets can be added via custom fields and are displayed in the datasheets tab on the product page - **without any template adjustment.**
{% endhint %}

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FBpWDYnPgPn86Q3q58uDf%2Fdocs-en-example-storefront-product-custom-field-datasheets.png?alt=media&amp;token=f3b26b92-4d86-4d78-83be-3979ef897bba" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Create custom field

You can create any custom field via *Settings > System > Custom fields*.

**Select or create set:** To do this, either select the existing `Datasheets (THEME NAME)` set or create your own set. When creating a new set, make sure to assign to products.

**Create custom field:** In the desired set, create a new field of **type (1)** `Media field` using **New custom field**. You can find further information on [creating custom fields](https://docs.shopware.com/en/shopware-6-en/settings/custom-fields#media) in the Shopware documentation.

In our example we call the custom field `custom_details_example`.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FqZt277KWBwljZCdMqMIH%2Fdocs-en-settings-create-custom-field-media.png?alt=media&amp;token=5702a4f6-4a39-4e4a-90e0-70d6631160b1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Assign custom field

You can access the theme settings via *Extensions > My Extensions > Tab: Themes > \[Select theme] > Configure*. In the **Custom fields for product datasheets  (1)** selection you can now **search (2)** for the newly created custom field and **select (3)** it.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FViNFLiJSO4wIXS4yboAk%2Fdocs-en-settings-custom-field-assignment-assign-custom-field-datasheet.png?alt=media&amp;token=ccdae932-fecd-4ab7-8d13-3378c74b1abf" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Create content

In order for the custom field to be visible in the storefront, you must enter content for the respective product. Under *Catalogues > Products > \[Select product] > in the tab: Specifications* you will find the custom fields at the very bottom. Select the set in which the custom field was created and set a media to it (1).

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2F2KR5pp14UFLh4VY58rRr%2Fdocs-en-product-custom-field-media.png?alt=media&amp;token=ed3cfe3c-db60-4c50-8b59-9abf648a2815" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
