# Testing Individual Pages

By default, Shoplift will include any assigned product, page, or collection in an associated template test. If you want to test and individual product or collection, you can duplicate your existing template and assign that specific item to the new template, as detailed below.&#x20;

{% hint style="info" %}
To learn more about the differences between OS2 and OS1 themes, see [Theme Compatibility](https://docs.shoplift.ai/test/best-practices/theme-compatibility).
{% endhint %}

### OS2 Themes (JSON Templates)

**Step 1:** From the Shopify theme editor, select list of templates (top dropdown) and click "Create template."

**Step 2:** Name the new template and select an existing template on which to base the design.

**Step 3:** Return to the Shopify Admin and select product/collection/page you wish to test and assign it to that new template.

<figure><img src="https://314821113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2m2UmvTCMjmBjnzBKA%2Fuploads%2Fof5cAPa8GEHV0OOn1hf1%2Fproduct%20change%20template.png?alt=media&#x26;token=9cf14bf4-71ef-4c43-8f0e-cf0fda7126fc" alt=""><figcaption></figcaption></figure>

**Step 4:** Select that same duplicate template for testing in Shoplift, it will now have only the specific product/collection/page intended to test.

<figure><img src="https://314821113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2m2UmvTCMjmBjnzBKA%2Fuploads%2FFu9kJnWaHUvBVaRjazj4%2Ftemplate%20drawer%20new%20template.png?alt=media&#x26;token=75faa080-165d-401b-bd67-45dee1c61add" alt=""><figcaption></figcaption></figure>

### OS1 Themes (Liquid Templates)

**Step 1:** From the Shopify Admin, select Online Store > Themes from your list of Sales channels.

**Step 2:** Scroll to your live theme, select "More Options" (the three dots) and "Edit Code" from the dropdown menu.

<figure><img src="https://314821113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2m2UmvTCMjmBjnzBKA%2Fuploads%2Fhy9uUfor2OivaltkOYuX%2Fedit%20theme%20code.png?alt=media&#x26;token=69cc0087-fcbb-4e86-94d2-58b3a3ffe17e" alt=""><figcaption></figcaption></figure>

**Step 3:** This will take you to the Shopify Code editor. On the left-hand side, scroll to the Templates directory and find the template, like `product.liquid`, for example. Copy the code here to your clipboard.

**Step 4:** Then scroll to the top of the Templates directory, where you will see an option to Add a new template on the left-hand side. Click this, and a popup will appear to create a new template.

<figure><img src="https://314821113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2m2UmvTCMjmBjnzBKA%2Fuploads%2F0sCuNKNTjPFqsVwwdDPE%2FScreenshot%202024-06-20%20at%2012.05.09%20PM.png?alt=media&#x26;token=0b5188ae-f33b-42be-a9de-e0c54bb2c2e5" alt=""><figcaption></figcaption></figure>

**Step 5:** Select product from the dropdown, select "liquid," and give your template a name, like `product.new.liquid`. Then click "Done" to save your changes.

**Step 6:** Your template will be created and you can navigate to the file from the list of template files. Select the file, select all the code in the file, and replace it by pasting the code you copied from your original template.

**Step 7:** From here, navigate to the product you want to test in the Shopify Admin. Select your new template as the assigned template for this product.

<figure><img src="https://314821113-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDg2m2UmvTCMjmBjnzBKA%2Fuploads%2FkPGBBlbXMuNKQ9QQIJqK%2Fproduct%20change%20template.png?alt=media&#x26;token=a0b41900-34b5-4321-9487-7583a3651f9d" alt=""><figcaption></figcaption></figure>

**Step 8:** Select that same duplicate template for testing in Shoplift, it will now have only the specific product/collection/page intended to test.

{% hint style="success" %}
You can also test individual pages using URL split tests. See [Guide: Testing URLs](https://docs.shoplift.ai/test/url-testing/guides/guide-testing-urls) for details.
{% 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://docs.shoplift.ai/learn/guides/guide-testing-individual-pages.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.
