> For the complete documentation index, see [llms.txt](https://reputon.gitbook.io/reputon-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reputon.gitbook.io/reputon-help/youtube-video-gallery/how-to/add-youtube-videos-to-different-products.md).

# Add YouTube videos to different products

By default, one video widget appears on all product pages. This guide shows how to display different videos for different products.

**How it works:** In Shopify, each product page uses a template. If you assign a dedicated template to a product, you can add a separate widget to it, with its own videos.

<figure><img src="/files/Y5Rpe6tRQYNmJBDGD1yF" alt=""><figcaption></figcaption></figure>

**Step 1: Create a new template in Shopify**

1. Go to **Online Store** → [**Themes**](https://admin.shopify.com/themes) and click **Customize**.
2. Open the **Template** dropdown at the top and click **+ Create template**.
3. Give your template a unique name.
4. Choose an existing template to base it on and click **Create template**.

Repeat for each group of products that needs different videos.

<figure><img src="/files/dek0Q6qY27w5PkWasKCO" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/HAqWci0tFAQKCIPpmmUp" alt=""><figcaption></figcaption></figure>

**Step 2: Assign a product to the new template**

1. Go to [**Products**](https://admin.shopify.com/products) and open a product.
2. Scroll to **Theme template** and select your new template from the dropdown.
3. Click **Save**.

Repeat for every product that should use this template.

<figure><img src="/files/7mIgbZGBflcn6WRN9Hfj" alt=""><figcaption></figcaption></figure>

**Step 3: Add a widget to the template**

1. In the app, create a new widget and connect it to a YouTube channel or playlist.
2. When choosing where to place the widget, select your new template, not the default one.
3. Save.

The widget will now appear only on product pages that use this template.

<figure><img src="/files/HBBLnP32ydIThuhJrBZI" alt=""><figcaption></figcaption></figure>

***

{% hint style="info" icon="comments-question-check" %}
**Questions about the feature or need assistance? We're here to help:** [**support@reputon.com**](mailto:support@reputon.com) **or** [**live chat**](https://go.crisp.chat/chat/embed/?website_id=d24ef16e-6e05-49e9-bd59-a6f3bde0658a)
{% endhint %}


---

# 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://reputon.gitbook.io/reputon-help/youtube-video-gallery/how-to/add-youtube-videos-to-different-products.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.
