> 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/extensions/product-videos.md).

# Product videos

ThemeWare® provides the functionality of adding videos to products via custom fields and displaying them on product pages.

<figure><img src="/files/GgvKW1RWi3u0bspRmCMv" alt=""><figcaption><p>ThemeWare® "Product videos"</p></figcaption></figure>

***

## Configuration

### **Theme configuration**

1. Go to the tab "**Product pages**"
2. Expand the block "**Layout**"
3. Scroll to the section "**Product videos**"
4. Enable the configuration "**Show product videos**"
5. Optional: Use the further configuration options
6. Save your changes after editing

### **Content**

1. Switch via the main navigation to the "**Product managment**" (1) (2) ("Catalogues" => "Products")
2. Choose the product you want to edit (3)
3. Switch to the tab "**Specifications**"
4. Scroll to the section "**Custom fields**"
5. Select the custom field set of your theme
6. Enter the video ID in the custom field "**YouTube video**" and/or "**Vimeo video**"
   * Tip: Multiple video IDs can be entered comma-separated
7. Save your changes

<figure><img src="/files/0nbIbh7zxQhKMvatkBDA" alt=""><figcaption><p>Shopware 6 product managment</p></figcaption></figure>

{% hint style="info" %}
**Note**: You can find more information about the corresponding custom field in the articles [YouTube video(s)](/additional-features/custom-fields/products/videos/youtube-video.md) and [Vimeo video(s)](/additional-features/custom-fields/products/videos/vimeo-video.md).
{% endhint %}

### **Text: Headline**

* Edit the headline in the "Description" tab using the following snippet:
  * `twt.detail.customFields.productVideos.title`

{% hint style="info" %}
**Note**: For information on how to edit snippets, see the following instructions: [Texts: Editing and translation](https://knowledge.themeware.design/knowledge-base/tutorials/texts-editing-and-translation)
{% endhint %}

{% hint style="success" %}
**Tip**: If a change does not affect the storefront, just clear the Shopware cache: [Clearing / warming up the Shopware cache](https://knowledge.themeware.design/knowledge-base/tutorials/miscellaneous/clearing-the-shopware-cache)
{% endhint %}

***

## Summary

#### Theme configuration

* Tab "Product pages" => Block "Layout" => Section "Product videos"
* Tab "Product pages" => Block "Tab "Description"" => Section "Product videos"

#### Snippets

* `twt.detail.customFields.productVideos.title` (in Tab "Description")
* `twt.detail.productVideos.fallback` (fallback name of a video)
* `twt.detail.productVideos.iframe.title` (title attribute of the video iframe)
* `twt.detail.productVideos.iframe.positionSuffix` (position suffix in the iframe title)

#### Custom fields

* [Vimeo video(s)](/additional-features/custom-fields/products/videos/vimeo-video.md)
* [YouTube video(s)](/additional-features/custom-fields/products/videos/youtube-video.md)

***

## Further information

If you would like to display the product videos in a separate tab, simply use the ThemeWare® Videos tab:

{% content-ref url="/pages/uUl6iJZYu9Kk3BDbuqQd" %}
[Videos tab](/additional-features/extensions/tabs-on-product-pages/videos-tab.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/extensions/product-videos.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.
