# Custom product templates

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

In this article, we will show you how to recreate them on your own site.

**Step 1**: Go to **Online Store** > **Themes** > **Edit Code.**

**Step 2**: Create a new template by hitting **Add new template.**

**Step 3**: Delete the default code and paste the code provided below. Then hit **Save.**

**Step 4:** Assign the template to the product you want to use.

From your **Shopify admin**, go to **Products** > Choose the product > Choose the template.

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

{% hint style="info" %}
Kindly check the layout and code below.
{% endhint %}


---

# 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://4sh-templates.gitbook.io/opulent-os2.0/collections-and-products/product-page/custom-product-templates.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.
