> For the complete documentation index, see [llms.txt](https://docs.intelligems.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intelligems.io/pricing-experiences/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products.md).

# Step 3: Configure duplicate products

When you create and save a new price test in the Intelligems app, we will create a duplicate of each product that is in the test in your Shopify account. We will use these duplicate products to run your test. In most instances, we recommend using the original PDPs and only introducing the duplicate products upon add-to-cart.

To make sure inventory is tracked properly, shipping profiles are set up correctly, and discount codes still work, follow the steps below to adjust how the duplicate products are set up in Shopify.

{% hint style="info" %}
You'll need to follow these steps for *every* price test you set up.
{% endhint %}

<details>

<summary>Step 1: Finding duplicate products in Shopify</summary>

The tag `price_test` will be added to all duplicates created by Intelligems, as well as a few additional tags specific to each test and test group.

The easiest place to check your duplicates is the Intelligems app. Click the three dots next to the test on your Pricing page, or at the top right of the test itself, and select **View duplicates**.

Each duplicate's **Shopify Status** should read **Unlisted**. Any setup issues show in the **Sync Status** column. Click a warning to see what needs fixing, such as inventory settings.

<figure><img src="https://2052204893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2SvefuMLsJyJPAcVXeWc%2Fuploads%2FMuAlz4n2UhWcix3YzIF1%2Fduplicate-products-view-duplicates-menu.png?alt=media&amp;token=31af2ed1-dbc6-4be7-b5bf-b811c3950447" alt=""><figcaption></figcaption></figure>

![](https://2052204893-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2SvefuMLsJyJPAcVXeWc%2Fuploads%2Fgit-blob-d346bf7e1f492ed7a7ce1c744be6465e8cbc000b%2F13%20-%20View%20Duplicates.gif?alt=media)

From here, you can:

* See the status of duplicate products - you'll be warned about any issues in the top left, as well as in the `Shopify Status` and `Sync Status` columns!
* View duplicate products in Shopify - you can view all duplicates for this test by clicking the `View Duplicates in Shopify` button at the top, or individual duplicates by clicking on the icon in the `View in Shopify` column!

Navigating to your duplicate products through the Intelligems app will automatically filter your Shopify products by a tag that we have added for the experiment ID, meaning you will only see duplicate products for that specific test. There should be one product for each non-control group. So, if your test has three groups total, you should see two duplicate products.

\
If you would like to see duplicate products that have been created for *any* test, you can navigate to the Products menu and filter for products with the `price_test` tag.

</details>

<details>

<summary>Step 2: Exclude duplicates from other sales channels</summary>

Follow these steps to remove the duplicate products from all channels other than `Online Store` and any that you use for reporting. This prevents any channels from showing multiple versions of the product with different prices.

**1.** Select all the products using the checkbox in the top left.

**2.** Select the three dots in the menu that pops up, followed by `Exclude from sales channels`.

**3.** De-select `Online Store` and any channels you use for reporting.

**4.** Select `Exclude products`.

</details>

<details>

<summary>Step 3: Configure inventory tracking</summary>

The following steps will allow you to keep an accurate count of duplicate products sold during the test and reconcile inventory after the test. However, stores manage inventory differently - some through Shopify, some through an app, and some have another method. Please consider how selling duplicate products will impact your inventory tracking before following these steps and launching a test.

If you have inventory that turns over or sells out quickly, it may make sense to use this [Duplicate SKU Sync App](https://apps.shopify.com/duplicate-sku-sync) so that the inventory syncs between your products.

If a third-party app manages your inventory, check how it treats your duplicates before you launch. Open a duplicate variant in Shopify and click View adjustment history. If the app sets the duplicate to the same count as the original, it syncs by SKU and you can skip the steps below. Both versions then sell from the same stock, though an item close to selling out can oversell slightly between syncs. If the app updates only the original or only the duplicate, [contact our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) before you launch.

**1.** Set the inventory quantities for all duplicate products to zero, either through Shopify’s bulk editor or by clicking into the Shopify product page for each duplicate product.

**2.** Turn on `Continue selling when out of stock` for all variants.

If you use Shopify to track inventory, you'll need to reset this option to 'Stop selling when out of stock' once an item in your store goes out of stock.

</details>

<details>

<summary>Step 4: Add duplicate products to custom shipping profiles, if necessary</summary>

*This step is only necessary if you have custom shipping profiles configured through Shopify. If only the General Shipping profile is used, you can skip this step.*

If any of the products you are testing are in a custom shipping profile, you'll need to add the duplicate products to the same profile following these steps:

**1.** From the Shopify admin console, navigate to `Settings` → `Shipping and Delivery`.

**2.** Click `Manage rates` for the relevant custom shipping profiles.

**3.** Within the shipping profile, click `Manage Products`.

**4.** Add the relevant duplicate products and variants to each custom shipping profile. You can search for `price_test` to show only the duplicate products. Click `Done` when you have selected all of the relevant products.

**5.** Back on the shipping profile page, click "Save".

</details>

<details>

<summary>Step 5: Add duplicate products to discount codes</summary>

*This step is only necessary if you have discount codes configured for specific products or collections. If you do not have discount codes or all your discount codes are configured to apply store-wide, then you can skip these steps.*

**1.** Navigate to the `Discounts` tab on the left hand side of the Shopify admin page.

**2.** Filter for the discount code(s) you would like to add the duplicate products to. To quickly filter to discounts that may need to be edited, add a filter for `Active` status, and `Amount off products` and `Buy X Get Y` for type.

**3.** Select any codes that apply to `Specific products` where the products they apply to are part of the test. Use the search bar or browse feature to add all duplicate products that the discount should apply to. Keep in mind there should be one version of each product for each group in the test.

If you have any discount codes that apply to `Specific collections`, you'll need to create a collection with the duplicate product(s) first, then add that collection to the discount.

</details>

<details>

<summary>Step 6: Configuring search apps, if necessary</summary>

If you use a search app, such as Searchanise, you may need to hide duplicate products in the search app. You can do this by adding `price_test` to "Hide products with these tags" in your search app settings.

</details>

<details>

<summary>Step 7: Configure duplicate products in third-party apps</summary>

The following steps will help you configure duplicate products within third-party apps, if necessary.

If an app can't find your duplicates, it may only list Active products. Set the duplicates to Active in Shopify, then hide them from your collection pages using [step 8 in the configure duplicate products guide](https://docs.intelligems.io/pricing-experiences/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products.md).

**Configuring subscription apps**

Add each duplicate to the correct selling plans as mentioned in step 4 of the duplicate products setup above. If your app runs workflows or automations tied to specific products, add the duplicates there too.

**Configuring bundle or volume discount apps**

Set up the bundle or volume offer on each duplicate product that corresponds with what you are looking to test.

**Configuring ratings and reviews apps**

Most applications for ratings and reviews offer a solution for grouping products so that multiple products display the same ratings and reviews. We recommend utilizing these features to ensure that duplicate products display the same content as the original products.

There are many different ratings and reviews apps, but the documentation for creating groups on some of the apps we’ve come across can be found at the following links:

* [Stamped](https://support.stamped.io/article/1097-groups-group-reviews-by-product)
* [Loox](https://help.loox.io/article/79-how-do-i-group-product-reviews-together)
* [Okendo](https://support.okendo.io/en/articles/3086164-creating-groups)
* [Judge.me](https://support.judge.me/support/solutions/articles/44001260470-share-reviews-across-product-groups)
* [Junip](https://help.junip.co/en/articles/4607273-product-groups-bundle-family)

</details>

<details>

<summary>Step 8: Hide duplicate products from collections pages, if necessary</summary>

{% hint style="info" %}
Most stores can skip this step. Duplicates are Unlisted, so Shopify already keeps them off your collection pages. You only need it if your duplicates have to be set to Active, or if your collections are rendered outside Shopify, for example on a headless storefront or by a third-party filter or collection app.
{% endhint %}

Find the liquid file that renders your collections pages. It may be called something like collection-page.liquid. Find the code block that renders each product in the collection and wrap it in the the following `unless` statement:

```liquid
{% unless product.tags contains "price_test" %}
 ...
{% endunless %}
```

In context, the code should look something like this:

```liquid
{% for product in collection.products %}
   {% unless product.tags contains "price_test" %}
      {%  
         render 'product-thumbnail',
         product: product
       %}
    {% endunless %}
{% endfor %}
```

</details>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.intelligems.io/pricing-experiences/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
