# Table of Contents - [Price Testing Integration Guides | Intelligems Docs](#price-testing-integration-guides-intelligems-docs) - [Price Testing - Getting Started | Intelligems Docs](#price-testing-getting-started-intelligems-docs) - [Step 1: Add Intelligems JavaScript | Intelligems Docs](#step-1-add-intelligems-javascript-intelligems-docs) - [Integration Guide using Checkout Scripts | Intelligems Docs](#integration-guide-using-checkout-scripts-intelligems-docs) - [Integration Guide using Shopify Functions | Intelligems Docs](#integration-guide-using-shopify-functions-intelligems-docs) - [Step 2: Tag product prices | Intelligems Docs](#step-2-tag-product-prices-intelligems-docs) - [Step 3: Update your cart | Intelligems Docs](#step-3-update-your-cart-intelligems-docs) - [Step 1: Add Intelligems JavaScript | Intelligems Docs](#step-1-add-intelligems-javascript-intelligems-docs) - [Step 4: QA your integration, and publish your changes | Intelligems Docs](#step-4-qa-your-integration-and-publish-your-changes-intelligems-docs) - [Troubleshooting | Intelligems Docs](#troubleshooting-intelligems-docs) - [Integration Guide using Duplicate Products | Intelligems Docs](#integration-guide-using-duplicate-products-intelligems-docs) - [Step 5: QA your integration, and publish your changes | Intelligems Docs](#step-5-qa-your-integration-and-publish-your-changes-intelligems-docs) - [Step 1: Add Intelligems JavaScript | Intelligems Docs](#step-1-add-intelligems-javascript-intelligems-docs) - [Step 3: Hide duplicate products from collections pages | Intelligems Docs](#step-3-hide-duplicate-products-from-collections-pages-intelligems-docs) - [Step 5: QA your integration, and publish your changes | Intelligems Docs](#step-5-qa-your-integration-and-publish-your-changes-intelligems-docs) - [Step 3: Add the Checkout Script | Intelligems Docs](#step-3-add-the-checkout-script-intelligems-docs) - [Replo Page Builder | Intelligems Docs](#replo-page-builder-intelligems-docs) - [Step 2: Tag product prices | Intelligems Docs](#step-2-tag-product-prices-intelligems-docs) - [How to Set Up a Price Test using Duplicate Products and Skio Subscriptions | Intelligems Docs](#how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions-intelligems-docs) - [Step 4: Update your cart | Intelligems Docs](#step-4-update-your-cart-intelligems-docs) - [Step 4: Configure duplicate products | Intelligems Docs](#step-4-configure-duplicate-products-intelligems-docs) - [Step 2: Tag product prices | Intelligems Docs](#step-2-tag-product-prices-intelligems-docs) - [Testing Prices with Subscriptions | Intelligems Docs](#testing-prices-with-subscriptions-intelligems-docs) - [How to Set Up a Price Test using Duplicate Products and Recharge Subscriptions | Intelligems Docs](#how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions-intelligems-docs) - [Price Testing with Quantity Button Components | Intelligems Docs](#price-testing-with-quantity-button-components-intelligems-docs) - [How to Add the data-product-id and/or data-variant-id Attribute to an Element | Intelligems Docs](#how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element-intelligems-docs) - [Ending a Price Test | Intelligems Docs](#ending-a-price-test-intelligems-docs) - [Managing Duplicate Products when Redirecting to Duplicate PDPs | Intelligems Docs](#managing-duplicate-products-when-redirecting-to-duplicate-pdps-intelligems-docs) - [Starting a Price Test | Intelligems Docs](#starting-a-price-test-intelligems-docs) - [Price Test QA Checklist | Intelligems Docs](#price-test-qa-checklist-intelligems-docs) - [Testing Prices with Recharge 2.0 or Stay.Ai | Intelligems Docs](#testing-prices-with-recharge-2-0-or-stay-ai-intelligems-docs) - [Multi-Currency Testing | Intelligems Docs](#multi-currency-testing-intelligems-docs) - [Price Testing FAQs | Intelligems Docs](#price-testing-faqs-intelligems-docs) - [How to Set Up a Price Test | Intelligems Docs](#how-to-set-up-a-price-test-intelligems-docs) --- # Price Testing Integration Guides | Intelligems Docs Intelligems can integrate with your Shopify store for Price Testing using several different mechanisms. Those mechanisms are: 1. Shopify Cart Transform Functions 2. Checkout Scripts 3. Duplicate Products Which mechanism is best for your store depends on a few different factors. If you are not sure which integration type is best for you, or which integration type your store is currently using, please open a ticket with our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [Integration Guide using Shopify Functions](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions) [Integration Guide using Checkout Scripts](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts) [Integration Guide using Duplicate Products](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products) [Troubleshooting](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) [Replo Page Builder](https://docs.intelligems.io/price-testing/price-testing-integration-guides/replo-page-builder) [PreviousPrice Testing - Getting Started](https://docs.intelligems.io/price-testing/price-testing-getting-started) [NextIntegration Guide using Shopify Functions](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions) Last updated 1 year ago Was this helpful? This site uses cookies to deliver its service and to analyze traffic. By browsing this site, you accept the [privacy policy](https://www.intelligems.io/privacy-policy) . AcceptReject --- # Price Testing - Getting Started | Intelligems Docs ![Page cover](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FPtpWRWh6RodFovL8m65J%252FScreenshot%25202023-11-13%2520at%25204.40.48%2520PM.png%3Falt%3Dmedia%26token%3D19c5174f-0279-401a-9fe3-2f93ac24b834&width=1248&dpr=4&quality=100&sign=9265e654&sv=2) [](https://docs.intelligems.io/price-testing/price-testing-getting-started#what-is-price-testing) What is Price Testing? ----------------------------------------------------------------------------------------------------------------------------- Intelligems takes the guesswork out of setting your product prices by allowing you to test prices in real time in order to find the “right” product prices to drive profit, revenue, and conversion boosts. You can easily build product price split tests with just a few clicks in the Intelligems app. Tests are easy to build and customize: add multiple test groups with configurable traffic distribution rules, select which products to include in the test, and set test group prices. [](https://docs.intelligems.io/price-testing/price-testing-getting-started#how-does-it-work) How does it work? ------------------------------------------------------------------------------------------------------------------- For all Shopify brands, Intelligems displays the correct price on the frontend by manipulating the DOM to show the correct price depending on a user's test group once your [prices have been tagged](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices) . Intelligems displays the correct price in the cart and charges the correct amount at checkout using one of the three below methods: 1. **Using Shopify Cart Transform Functions.** Intelligems will automatically set your prices to the highest prices in the test in Shopify when you start your test, and we will use a Shopify Cart Transform Function to dynamically adjust the price for any users in a group lower than the highest price in the test so that they get the same price in the cart and at checkout that they saw everywhere else on the site. This method is available for brands on any Shopify plan, and will be Intelligems' primary method moving forward. 2. **Using a Checkout Script.** Intelligems will automatically set your prices to the highest prices in the test in Shopify when you start your test, and we will use a Checkout Script to run a behind the scenes adjustment for any users in a group lower than the highest price in the test so that they get the same price in the cart and at checkout that they saw everywhere else on the site. This method is only available for brands on Shopify Plus, and Intelligems is beginning to move away from this method as Shopify will be deprecating the Script Editor app in August 2025. 3. **Using Duplicate Products.** In certain cases, such as testing something more complex or if you offer subscriptions, Intelligems will swap in a duplicate product when a user adds to cart in any group other than the control group to ensure the price is correct in the cart and at checkout. [](https://docs.intelligems.io/price-testing/price-testing-getting-started#how-can-i-get-started) How can I get started? ----------------------------------------------------------------------------------------------------------------------------- There is a short integration required before you can begin a price test. Please see the appropriate guide [here](https://docs.intelligems.io/getting-started/pricing-integration-guides) depending on which version of our integration you are on. If you are not sure which integration guide you should be following, please reach out to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . If you prefer, we'll be happy to complete the integration for you - in that case, please book a demo with our team [here](https://meetings.hubspot.com/igsam/igdemo?uuid=09e10934-25f6-4485-9f0e-4ceb6e80f099) so we can learn more about your store and get it integrated with Intelligems. Once the integration has been completed, see the guides below for more information on price testing: [Price Testing Integration Guides](https://docs.intelligems.io/price-testing/price-testing-integration-guides) [How to Set Up a Price Test](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) [Price Test QA Checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) [Starting a Price Test](https://docs.intelligems.io/price-testing/starting-a-price-test) [Ending a Price Test](https://docs.intelligems.io/price-testing/ending-a-price-test) [Testing Prices with Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions) [Multi-Currency Testing](https://docs.intelligems.io/price-testing/multi-currency-testing) [Price Testing FAQs](https://docs.intelligems.io/price-testing/price-testing-faqs) [PreviousGeneral FAQs](https://docs.intelligems.io/getting-started/general-faqs) [NextPrice Testing Integration Guides](https://docs.intelligems.io/price-testing/price-testing-integration-guides) Last updated 1 month ago Was this helpful? --- # Step 1: Add Intelligems JavaScript | Intelligems Docs Add Intelligems JavaScript as a source into these files: * theme.liquid * any other theme.\*.liquid files (e.g., theme.gempages.liquid, etc.) * checkout.liquid (if you have this file; most themes do not) Inside of the theme : Copy **Note that the example above includes on the final line - please be sure to replace that with your actual customer ID, which is included in your unique theme script on the settings page!** ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F3TcuEAaURmTzzjq7jabo%252Fimage.png%3Falt%3Dmedia%26token%3D49f2a49a-0dd3-41a8-ad03-714e137a6e22&width=768&dpr=4&quality=100&sign=9b56fc7b&sv=2) [PreviousIntegration Guide using Shopify Functions](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions) [NextStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices) Last updated 9 months ago Was this helpful? --- # Integration Guide using Checkout Scripts | Intelligems Docs Before you can run a Price Test on your Shopify store, there is a small integration that needs to be done. There are five components to the integration: 1. Add Intelligems JavaScript 2. Tag product prices 3. Add the Checkout Script 4. Update your cart 5. QA your integration, and publish your changes If you have chosen to have Intelligems complete the integration, many of these steps will be done on your behalf. [PreviousStep 4: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-4-qa-your-integration-and-publish-your-changes) [NextStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-1-add-intelligems-javascript) Last updated 3 months ago Was this helpful? --- # Integration Guide using Shopify Functions | Intelligems Docs Historically, Intelligems has used either Checkout Scripts or duplicate products to run Price Tests. Shopify will be sunsetting Checkout Scripts in August 2025, and with that transition, Intelligems will be using Shopify Cart Transform Functions instead. This is the integration we mostly use currently, and it is enabled by default on new installs. A few caveats when using Functions: * If your store is on Shopify Plus, and you are using any Line Item Checkout Scripts, there may be conflicts between those and the Function we run. * Please note that only one Shopify Cart Transform Function can run on a single cart. If you use Cart Transform Functions for other capabilities, or you are in doubt about conflicts with existing Checkout Scripts, please reach out to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) to discuss options for your integration. Before you can run a Price Test on your Shopify store, there is a small integration that needs to be done. There are three components to the integration: 1. Add Intelligems JavaScript 2. Tag product prices 3. Update your cart 4. QA your integration, and publish your changes If you are on an annual plan, Intelligems will complete the integration for you, and many of these steps will be done on your behalf. [PreviousPrice Testing Integration Guides](https://docs.intelligems.io/price-testing/price-testing-integration-guides) [NextStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-1-add-intelligems-javascript) Last updated 3 months ago Was this helpful? --- # Step 2: Tag product prices | Intelligems Docs [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#introduction) Introduction --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To enable Intelligems to dynamically modify price elements for each test group during testing, it is essential to tag their locations on your website. This entails adding the query selector for price elements into the Intelligems configuration so the Intelligems plugin knows where those prices live. This guide will walk you through the process to do so. Before you can use the Intelligems Widget, please confirm that you've added Intelligems JavaScript as a source into your theme.liquid file! See more on how to add our JavaScript to your site [here](https://docs.intelligems.io/getting-started/adding-intelligems-script-to-your-theme) . Tagging your prices requires a Price Test to be set up in the Intelligems app! If you have not already done so, check out our guide on setting up a new Pricing Test [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . Don't worry – it won't change anything on your site until you hit start & you can always make edits to your test before launching it! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#accessing-the-widget) Step 1: Accessing the Widget --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To get started, you'll need to create a price test in the Intelligems app, and open the Intelligems preview widget for that test. There are two ways to access the Intelligems Preview Widget: 1. Navigate to the "A/B Tests: tab in the Intelligems app. Click on the eyeball icon to the right of the test you have created. This will open a new browser window up with your website with the widget enabled. 2. You can also enter this mode by adding /?ig-preview=true to the end of your website's URL (e.g. https://mystore.com/?ig-preview=true). This will open a modal where you can choose which experiment you would like to see in the onsite widget. To tag prices, be sure to select a price test from this dropdown. Once you are in Preview mode, select the "Edit" button followed by the dollar sign. The video below will walk you through this process: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F21VfDyeKkfLCwBZ6rOqz%252F12%2520-%2520preview%2520selectors.gif%3Falt%3Dmedia%26token%3D521a127e-9eba-4063-85a6-77d2b095d381&width=768&dpr=4&quality=100&sign=df49db90&sv=2) The Intelligems Widget offers full support for **Google Chrome**. Support for any other browsers is limited. If you are having an issue with the Widget in another browser, we suggest trying to run it in Google Chrome. For more support, please open a ticket with our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#adding-price-selectors) Step 2: Adding Price Selectors ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now that you are in Price Selector mode, it is time to tag price elements everywhere on your site. Follow the steps below: 1. Enable selector mode - you can do this by clicking the box associated with 2 in the image below. 2. Now that that is enabled, you'll notice that elements on the page will be wrapped in a blue dotted line as you move your cursor around the page. Find a price element and click. You'll now notice the query selector has been added to the list in the integration widget, and if you hit save at the bottom of the widget, the element will be highlighted in green or blue. If the price is highlighted in green, then it is in the test you are currently previewing. If it is highlighted in blue, then it is not in the test you are currently previewing. * If there is a price for a product that is in the test you are currently previewing that is highlighted in blue, this most likely means that Intelligems cannot tell what product or variant ID is connected with that price element to update it correctly. Check out [this guide](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) for more information on the theme change that must be made to resolve this! 3. Continue this process until all price elements on your site have been tagged, ensuring that the tags for each element are added to the correct section - for example, compare price (otherwise known as strikethrough prices) query selectors should be included in the Compare At Price section, while price query selectors should be included in the Price Section. Note that you should not tag the prices in your cart drawer, cart page or at checkout! 4. Be sure to hit save at the bottom of the integration widget periodically and when you are done to ensure you do not lose any of your work! ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FFY3UKXVMAncoCxZV6fdc%252Fimage.png%3Falt%3Dmedia%26token%3De540373e-997d-4c48-b011-7bf8aea4476d&width=768&dpr=4&quality=100&sign=77f559d3&sv=2) 1\. The type of selector - see more below for what each type is for. 2. Enable selector mode - clicking this button will allow you click on your prices on your site and automatically add a new selector. 3. Query selectors that have been added. 4. Add a query selector manually. 5. Delete a query selector. A few places to keep in mind as you tag all of the prices elements in your store include:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#a-few-places-to-keep-in-mind-as-you-tag-all-of-the-prices-elements-in-your-store-include) * Homepage * Collection Pages * Product Detail Pages (PDPs) - make sure you don't miss tagging any related or recommended products listed on your PDPs! * Search Results Page or Bar, depending on where results show price * Product Quiz * Upsells in the cart or at checkout Here are all of the different selector types:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#here-are-all-of-the-different-selector-types) **Price:** Use this section to select product prices on your store's site. **Compare At Price:** Use this section to select compare prices on your store's site. **Installment:** Use this section to select installments on your store's site. The default number of payments is 4. To change the payment amount, add the below to the element containing your installment in your theme. Copy data-payment-count="{{payment_amount}}" The Installment selector is compatible with installments that are: 1. Directly in your liquid 2. Not in the liquid, but is wrapped in its own This selector is **not** compatible with installments that are: 1. Wrapped in a Shadow DOM 2. Not wrapped in its own span **Savings (Price):** Use this option to select the dollar savings amount. This is normally located on your product pages. **Savings (Percentage):** Use this option to select the percentage savings amount. This is normally located on your product pages. **Cart Discount Message:** Use this option to hide a discount message (i.e. DISCOUNT or INTELLIGEMS) in your cart. A few tips & tricks:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices#a-few-tips-and-tricks) **Per Unit Prices.** If you have per unit prices listed for a product, you can follow these steps to update those prices accordingly during a price test: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the per unit element, where X is what you want to multiple the price by. For example, if you wanted to show the per unit price when there are three units included, you would add `data-price-multiplier=".33"` to the element. **Discounted Prices.** Many brands use the compare price field in Shopify to show a perceived discount - these are easy to tag using our various selector types. However, some brands will use a different method to show discounted prices by manipulating the frontend prices & using something like a Checkout Script to achieve a perceived discount. If this is the case for your store, follow these steps to accurately tag those prices: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the discounted price element, where X is the inverse of the discount you are applying. For example, if you were running a 20% discount, you would add `data-price-multiplier=".8"` to the element. You'll know you're done when all price, compare at price, installment and savings elements are highlighted in blue or green on all pages in your store! Note that you **should not tag prices in the cart or cart drawer** as we will manage updating those either through Cart Transform Functions, checkout scripts, or duplicate products, depending on your integration method. Having issues? Checkout our troubleshooting guide [here](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) or submit a ticket to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [PreviousStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-1-add-intelligems-javascript) [NextStep 3: Update your cart](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-3-update-your-cart) Last updated 3 months ago Was this helpful? --- # Step 3: Update your cart | Intelligems Docs Once you have tagged your prices, you should add a product that is in the test to cart while previewing the test. In certain cases, you may notice an issue in the cart when you do this - a few examples of things that may happen include: * There may be a few visible line item properties in the cart * The compare-at price will not display correctly in the cart - for example, the compare price may show as the control price, rather than the compare price for the test group you are in Should any of these happen, follow the below corresponding guidance to correct the issue and complete the integration. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-3-update-your-cart#remove-hidden-line-item-properties) Remove Hidden Line Item Properties[​](https://docs.intelligems.io/docs/pricing-integration/shopify-plus/update-cart#remove-hidden-line-item-properties) Most Shopify stores use a convention that states that any line item property with a leading underscore (\_) should not be displayed in the cart. Intelligems uses the line item property `'_igp'`, so as long as this convention is set up for your store, the Intelligems line item property will be automatically hidden. If this convention is not already set up for your store, You may see something like this in the cart when you test it in preview mode: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FxosWliarzNzsSygrwdEZ%252FScreenshot%25202024-03-08%2520at%25201.17.37%2520PM.png%3Falt%3Dmedia%26token%3Dd54e3471-2e3e-484d-8545-b2687bb18d9c&width=768&dpr=4&quality=100&sign=e0dd608e&sv=2) Here is an example of how you can fix this by implementing the below in a liquid cart (i.e. cart-line-items.liquid or a similar file). The key lines are as follows: Copy {% assign first_character_in_key = p.first | truncate: 1, '' %} {% unless p.last == blank or first_character_in_key == '_' %} This code should be implemented in a loop over each item property. In context, the code block may look something like the below: Copy {% assign property_size = item.properties | size %} {% if property_size > 0 %}   {% for p in item.properties %}     {% assign first_character_in_key = p.first | truncate: 1, '' %}     {% unless p.last == blank or first_character_in_key == '_' %}       {{ p.first }}:       {% if p.last contains '/uploads/' %}         {{ p.last | split: '/' | last }}       {% else %}         {{ p.last }}       {% endif %}     {% endunless %}   {% endfor %} {% endif %} You can learn more about this [here](https://community.shopify.com/c/shopify-design/product-pages-get-customization-information-for-products/m-p/616525#toc-hId-287417639) under 'Hide line item properties (optional)'. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-3-update-your-cart#displaying-the-correct-strikethrough-price-in-the-cart) Displaying the Correct Strikethrough Price in the Cart Typically, you should not tag any prices within your cart while completing "Step 2: Tag your prices". However, if you do display a strikethrough price in the cart, you'll want to tag that to ensure the correct strikethrough price shows up for each group. [PreviousStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices) [NextStep 4: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-4-qa-your-integration-and-publish-your-changes) Last updated 3 months ago Was this helpful? --- # Step 1: Add Intelligems JavaScript | Intelligems Docs Add Intelligems JavaScript as a source into these files: * theme.liquid * any other theme.\*.liquid files (e.g., theme.gempages.liquid, etc.) * checkout.liquid (if you have this file; most themes do not) Inside of the theme : Copy **Note that the example above includes on the final line - please be sure to replace that with your actual customer ID, which is included in your unique theme script on the settings page!** ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F3TcuEAaURmTzzjq7jabo%252Fimage.png%3Falt%3Dmedia%26token%3D49f2a49a-0dd3-41a8-ad03-714e137a6e22&width=768&dpr=4&quality=100&sign=9b56fc7b&sv=2) [PreviousIntegration Guide using Checkout Scripts](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts) [NextStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices) Last updated 9 months ago Was this helpful? --- # Step 4: QA your integration, and publish your changes | Intelligems Docs After you have completed all previous integration steps, go through your store using Preview Mode in the Integration Widget (you can access preview mode by clicking on the Eye icon next to your test, or by adding /?ig-preview=true to the end of your website's URL) and make sure everything looks correct. Follow our QA checklist [here](https://docs.intelligems.io/price-testing/price-test-qa-checklist) ! Once you have verified Intelligems is fully integrated, you can publish your theme changes (if you haven't already) and start your test from the Intelligems App! Check out our step-by-step guide on doing this [here](https://docs.intelligems.io/price-testing/starting-a-price-test) . #### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-4-qa-your-integration-and-publish-your-changes#what-happens-next) What happens next? Now that you've started your first test, here are some things to do next: * Check the Analytics Dashboard in the Intelligems app to see how the test is doing frequently. Note that it may take one to two hours for data to flow in! * Start thinking about your [testing roadmap](https://docs.intelligems.io/getting-started/best-practices/test-design-best-practices) . * Review some [test suggestions](https://docs.intelligems.io/getting-started/common-use-cases) . [PreviousStep 3: Update your cart](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-3-update-your-cart) [NextIntegration Guide using Checkout Scripts](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts) Last updated 3 months ago Was this helpful? --- # Troubleshooting | Intelligems Docs [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting#intelligems-isnt-updating-a-price-for-a-product-that-is-included-in-the-test) Background ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- If you notice that anything isn't working while you are completing the integration for a price test, such as the price not updating on the site, or adding to cart incorrectly, this is a great resource to help resolve your issues. If after reading through this document, you are still running into issues, please feel free to reach out to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting#intelligems-isnt-updating-a-price-for-a-product-that-is-included-in-the-test-1) Intelligems Isn't Updating a Price for a Product that is Included in the Test on the Homepage, Collection Page or Product Page ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In addition to knowing which elements in your store are prices, Intelligems also needs to know which product and/or variant each price is for. Typically, Intelligems is able to figure this out automatically, but in some circumstances, you may need to set it explicitly on a price element. If a price on your website that is included in your test is not updating in preview mode, or is highlighted in blue in integration mode, that is a good sign that you need to follow [these steps](https://docs.intelligems.io/getting-started/pricing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) to fix it. [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting#intelligems-doesnt-add-the-line-item-property) Intelligems Doesn't Add the Line Item Property ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ When adding a product that's being tested to the cart, Intelligems should add line item property \_igDiscount or \_igp. This indicates the amount of discount to apply to the line item or what the price of the line item should be to affect the correct price for the user's test group. Some common issues with this are: * The add to cart happened on a page where the Intelligems Javascript was not loaded, such as a landing page that Intelligems has not been integrated with. Check the page source or network traffic to ensure that the Intelligems JavaScript snippet is loading on the page. Learn more about adding the Intelligems JavaScript snippet to your theme [here](https://docs.intelligems.io/getting-started/adding-intelligems-script-to-your-theme) . * There's an error causing the Intelligems JavaScript to exit early. Check the JavaScript console for errors raised by Intelligems, and check the `window.igData.errors` object for any suppressed error messages. * The add to cart is happening via a mechanism that Intelligems does not support, or skipping add to cart altogether. Common examples include quick buy buttons, third-party apps that use Draft Orders or landing pages that use checkout permalinks. [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting#intelligems-doesnt-swap-duplicate-products-when-adding-to-cart) Intelligems Doesn't Swap Duplicate Products When Adding to Cart ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- _This is applicable only to non-Shopify Plus stores._ When adding a product that's being tested to cart, Intelligems should swap the duplicate product in that corresponds to the user's test group, unless the user is in the control group, in which case Intelligems will not swap. Some common issues that may cause this to not work correctly are: * The add to cart happened on a page where the Intelligems Javascript was not loaded, such as a landing page that Intelligems has not been integrated with. Check the page source or network traffic to ensure that the Intelligems JavaScript snippet is loading on the page. Learn more about adding the Intelligems JavaScript snippet to your theme [here](https://docs.intelligems.io/getting-started/adding-intelligems-script-to-your-theme) . * There's an error causing the Intelligems JavaScript to exit early. Check the JavaScript console for errors raised by Intelligems, and check the `window.igData.errors` object for any suppressed error messages. * The add to cart is happening via a mechanism that Intelligems does not support, or skipping add to cart altogether. Common examples include quick buy buttons, third-party apps that use Draft Orders or landing pages that use checkout permalinks. [PreviousStep 5: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-5-qa-your-integration-and-publish-your-changes) [NextHow to Add the data-product-id and/or data-variant-id Attribute to an Element](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) Last updated 3 months ago Was this helpful? --- # Integration Guide using Duplicate Products | Intelligems Docs Before you can run a Price Test on your Shopify store, there is a small integration that needs to be done. There are five components to the integration: 1. Add Intelligems JavaScript 2. Tag product prices 3. Hide duplicate products from collections pages 4. Configure duplicate products 5. QA your integration, and publish your changes If you have chosen to have Intelligems complete the integration, many of these steps will be done on your behalf. [PreviousStep 5: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-5-qa-your-integration-and-publish-your-changes) [NextStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-1-add-intelligems-javascript) Last updated 3 months ago Was this helpful? --- # Step 5: QA your integration, and publish your changes | Intelligems Docs After you have completed all previous integration steps, go through your store using Preview Mode in the Integration Widget (you can access preview mode by clicking on the Eye icon next to your test, or by adding /?ig-preview=true to the end of your website's URL) and make sure everything looks correct. Follow our QA checklist [here](https://docs.intelligems.io/price-testing/price-test-qa-checklist) ! Once you have verified Intelligems is fully integrated, you can publish your theme changes (if you haven't already) and start your test from the Intelligems App! Check out our step-by-step guide on doing this [here](https://docs.intelligems.io/price-testing/starting-a-price-test) . #### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-5-qa-your-integration-and-publish-your-changes#what-happens-next) What happens next? Now that you've started your first test, here are some things to do next: * Check the Analytics Dashboard in the Intelligems app to see how the test is doing frequently. Note that it may take one to two hours for data to flow in! * Start thinking about your [testing roadmap](https://docs.intelligems.io/getting-started/best-practices/test-design-best-practices) . * Review some [test suggestions](https://docs.intelligems.io/getting-started/common-use-cases) . [PreviousStep 4: Update your cart](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart) [NextIntegration Guide using Duplicate Products](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products) Last updated 3 months ago Was this helpful? --- # Step 1: Add Intelligems JavaScript | Intelligems Docs Add Intelligems JavaScript as a source into these files: * theme.liquid * any other theme.\*.liquid files (e.g., theme.gempages.liquid, etc.) * checkout.liquid (if you have this file; most themes do not) Inside of the theme : Copy **Note that the example above includes on the final line - please be sure to replace that with your actual customer ID, which is included in your unique theme script on the settings page!** ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F3TcuEAaURmTzzjq7jabo%252Fimage.png%3Falt%3Dmedia%26token%3D49f2a49a-0dd3-41a8-ad03-714e137a6e22&width=768&dpr=4&quality=100&sign=9b56fc7b&sv=2) [PreviousIntegration Guide using Duplicate Products](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products) [NextStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices) Last updated 9 months ago Was this helpful? --- # Step 3: Hide duplicate products from collections pages | Intelligems Docs 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: Copy {% unless product.tags contains "price_test" %} ... {% endunless %} In context, the code should look something like this: Copy {% for product in collection.products %}    {% unless product.tags contains "price_test" %}       {%            render 'product-thumbnail',          product: product        %}   {% endunless %} {% endfor %} [PreviousStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices) [NextStep 4: Configure duplicate products](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products) Last updated 1 year ago Was this helpful? --- # Step 5: QA your integration, and publish your changes | Intelligems Docs After you have completed all previous integration steps, go through your store using Preview Mode in the Integration Widget and make sure everything looks correct. Follow our QA checklist [here](https://docs.intelligems.io/price-testing/price-test-qa-checklist) ! Once you have verified Intelligems is fully integrated, you can publish your theme changes (if you haven't already) and start your test from the Intelligems App! Check out our step-by-step guide on doing this [here](https://docs.intelligems.io/price-testing/starting-a-price-test) . #### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-5-qa-your-integration-and-publish-your-changes#what-happens-next) What happens next? Now that you've started your first test, here are some things to do next: * Check the Analytics Dashboard in the Intelligems app to see how the test is doing frequently. Note that it may take one to two hours for data to flow in! * Start thinking about your [testing roadmap](https://docs.intelligems.io/getting-started/best-practices/test-design-best-practices) . * Review some [test suggestions](https://docs.intelligems.io/getting-started/common-use-cases) . [PreviousStep 4: Configure duplicate products](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products) [NextTroubleshooting](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) Last updated 3 months ago Was this helpful? --- # Step 3: Add the Checkout Script | Intelligems Docs You must be using Shopify Plus to integrate with Intelligems using the Checkout Script. Please see our [Functions Integration guide](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions) if this does not apply to you. The Intelligems checkout script will not apply any discounts or make other changes to orders until a price test is live. If you already use a Checkout Script, you can add ours to the same one to keep that functionality. Adding our Checkout Script enables us to dynamically discount the price in the cart so that your customers pay exactly the price they see in other spots on the website. Follow the below steps to add the Intelligems Line Items Checkout Script to your Scripts Editor. 1. Install the Shopify Script editor [here](https://apps.shopify.com/script-editor) . 2. If you already have a Line Items script, you can create a copy and edit it. Make sure our script runs first so that discounts get applied in the correct order. If you do not already have a Line Items script, create a new one. 3. Paste the loop below into the script. Save and publish the script. Copy class Intelligems def initialize(discount_property = '_igp', allow_free = false) @volume_discount_property = '_igvd' @volume_discount_message_property = '_igvd_message' @deprecated_property = '_igLineItemDiscount' @discount_property = discount_property @allow_free = allow_free end def discount_product(line_item) ig_price = Money.new(cents: line_item.properties[@discount_property]) discount = line_item.line_price - (ig_price * line_item.quantity) if discount > Money.zero if @allow_free or discount < line_item.line_price line_item.change_line_price(line_item.line_price - discount, message: 'Discount') end end end def deprecated_discount_product(line_item) discount = Money.new(cents: line_item.properties[@deprecated_property]) discount *= line_item.quantity if @allow_free or discount < line_item.line_price line_item.change_line_price(line_item.line_price - discount, message: 'Intelligems') end end def volume_discount(line_item) discount = Money.new(cents: line_item.properties[@volume_discount_property]) discount *= line_item.quantity if discount < line_item.line_price message = line_item.properties[@volume_discount_message_property] line_item.change_line_price(line_item.line_price - discount, message: message) end end def run(cart) cart.line_items.each do |line_item| if !line_item.properties[@discount_property].nil? && !line_item.properties[@discount_property].empty? discount_product(line_item) elsif !line_item.properties[@volume_discount_property].nil? && !line_item.properties[@volume_discount_property].empty? volume_discount(line_item) elsif !line_item.properties[@deprecated_property].nil? && !line_item.properties[@deprecated_property].empty? deprecated_discount_product(line_item) end end end end intelligems = Intelligems.new() intelligems.run(Input.cart) Output.cart = Input.cart [PreviousStep 2: Tag product prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices) [NextStep 4: Update your cart](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart) Last updated 3 months ago Was this helpful? --- # Replo Page Builder | Intelligems Docs Integrating Intelligems with Replo is easy! ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/replo-page-builder#for-price-testing) For Price Testing For a price testing integration, we can add the following selectors to the theme integration: **Price:** `[data-replo-price]` **Compare Price:** `[data-replo-compare-price]` **Savings ($):** `[data-replo-compare-difference]` **Savings (%):** `[data-replo-compare-percentage]` Save these tags while [tagging your prices](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices) . When using the Find & Replace feature, take caution to not use any auto-generated classes when generating selectors. If you have questions, reach out to Intelligems support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . [PreviousHow to Add the data-product-id and/or data-variant-id Attribute to an Element](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) [NextHow to Set Up a Price Test](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) Last updated 11 months ago Was this helpful? --- # Step 2: Tag product prices | Intelligems Docs [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#introduction) Introduction -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To enable Intelligems to dynamically modify price elements for each test group during testing, it is essential to tag their locations on your website. This entails adding the query selector for price elements into the Intelligems configuration so the Intelligems plugin knows where those prices live. This guide will walk you through the process to do so. Before you can use the Intelligems Widget, please confirm that you've added Intelligems JavaScript as a source into your theme.liquid file! See more on how to add our JavaScript to your site [here](https://docs.intelligems.io/developer-resources/intelligems-theme-snippets) . Tagging your prices requires a Price Test to be set up in the Intelligems app! If you have not already done so, check out our guide on setting up a new Pricing Test [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . Don't worry – it won't change anything on your site until you hit start & you can always make edits to your test before launching it! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#accessing-the-widget) Step 1: Accessing the Widget -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To get started, you'll need to create a price test in the Intelligems app, and open the Intelligems preview widget for that test. There are two ways to access the Intelligems Preview Widget: 1. Navigate to the A/B Tests tab in the Intelligems app. Click on the eyeball icon to the right of the test you have created. This will open a new browser window up with your website with the widget enabled. 2. You can also enter this mode by adding `/?ig-preview=true` to the end of your website's URL (e.g. https://mystore.com/?ig-preview=true). This will open a modal where you can choose which experiment you would like to see in the onsite widget. To tag prices, be sure to select a price test from this dropdown. Once you are in Preview mode, select the "Edit" button followed by the dollar sign. The video below will walk you through this process: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FMISntvysIsTcu6doGJZj%252F12%2520-%2520preview%2520selectors.gif%3Falt%3Dmedia%26token%3D37bcd4c1-0189-467c-be5e-884610cf47f5&width=768&dpr=4&quality=100&sign=90e643b8&sv=2) The Intelligems Widget offers full support for **Google Chrome**. Support for any other browsers is limited. If you are having an issue with the Widget in another browser, we suggest trying to run it in Google Chrome. For more support, please open a ticket with our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#adding-price-selectors) Step 2: Adding Price Selectors ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Now that you are in Price Selector mode, it is time to tag price elements everywhere on your site. Follow the steps below: 1. Enable selector mode by clicking the box associated with 2 in the image below. 2. Now that that is enabled, you'll notice that elements on the page will be wrapped in a blue dotted line as you move your cursor around the page. Find a price element and click. You'll now notice the query selector has been added to the list in the integration widget, and if you hit save at the bottom of the widget, the element will be highlighted in green or blue. If the price is highlighted in green, then it is in the test you are currently previewing. If it is highlighted in blue, then it is not in the test you are currently previewing. * If there is a price for a product that is in the test you are currently previewing that is highlighted in blue, this most likely means that Intelligems cannot tell what product or variant ID is connected with that price element in order to update it correctly. Check out [this guide](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) for more information on the theme change that must be made to resolve this! 3. Continue this process until all price elements on your site have been tagged, ensuring that the tags for each element are added to the correct section - for example, compare price (otherwise known as strikethrough prices) query selectors should be included in the Compare At Price section, while price query selectors should be included in the Price Section. Note that you should not tag the prices in your cart drawer, cart page or at checkout! 4. Be sure to hit save at the bottom of the integration widget periodically and when you are done to ensure you do not lose any of your work! ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FbnCsFGyCzlcrEfWrAoZy%252Fimage.png%3Falt%3Dmedia%26token%3Df5ee0d78-ffa6-4f0d-8e79-fc5d4468db5d&width=768&dpr=4&quality=100&sign=ac00674a&sv=2) 1\. The type of selector - see more below for what each type is for. 2. Enable selector mode - clicking this button will allow you click on your prices on your site and automatically add a new selector. 3. Query selectors that have been added. 4. Add a query selector manually. 5. Delete a query selector. A few places to keep in mind as you tag all of the prices elements in your store include:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#a-few-places-to-keep-in-mind-as-you-tag-all-of-the-prices-elements-in-your-store-include) * Homepage * Collection Pages * Product Detail Pages (PDPs) - make sure you don't miss tagging any related or recommended products listed on your PDPs! * Search Results Page or Bar, depending on where results show price * Product Quiz * Upsells in the cart or at checkout Here are all of the different selector types:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#here-are-all-of-the-different-selector-types) **Price:** Use this section to select product prices on your store's site. **Compare At Price:** Use this section to select compare prices on your store's site. **Installment:** Use this section to select installments on your store's site. The default number of payments is 4. To change the payment amount, add the below to the element containing your installment in your theme. Copy data-payment-count="{{payment_amount}}" The Installment selector is compatible with installments that are: 1. Directly in your liquid 2. Not in the liquid, but is wrapped in its own This selector is **not** compatible with installments that are: 1. Wrapped in a Shadow DOM 2. Not wrapped in its own span **Savings (Price):** Use this option to select the dollar savings amount. This is normally located on your product pages. **Savings (Percentage):** Use this option to select the percentage savings amount. This is normally located on your product pages. **Cart Discount Message:** Use this option to hide a discount message (i.e. DISCOUNT or INTELLIGEMS) in your cart. A few tips & tricks:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-2-tag-product-prices#a-few-tips-and-tricks) **Per Unit Prices.** If you have per unit prices listed for a product, you can follow these steps to update those prices accordingly during a price test: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the per unit element, where X is what you want to multiple the price by. For example, if you wanted to show the per unit price when there are three units included, you would add `data-price-multiplier=".33"` to the element. **Discounted Prices.** Many brands use the compare price field in Shopify to show a perceived discount - these are easy to tag using our various selector types. However, some brands will use a different method to show discounted prices by manipulating the frontend prices & using something like a Checkout Script to achieve a perceived discount. If this is the case for your store, follow these steps to accurately tag those prices: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the discounted price element, where X is the inverse of the discount you are applying. For example, if you were running a 20% discount, you would add `data-price-multiplier=".8"` to the element. You'll know you're done when all price, compare at price, installment and savings elements are highlighted in blue or green on all pages in your store! Note that you **should not tag prices in the cart or cart drawer** as we will manage updating those either through checkout scripts or duplicate products, depending on your version of Shopify. Having issues? Checkout our troubleshooting guide [here](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) or submit a ticket to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [PreviousStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-1-add-intelligems-javascript) [NextStep 3: Add the Checkout Script](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-3-add-the-checkout-script) Last updated 3 months ago Was this helpful? --- # How to Set Up a Price Test using Duplicate Products and Skio Subscriptions | Intelligems Docs Testing subscriptions often requires a more involved integration and setup than typical price tests. As a result, we recommend having Intelligems perform the integration if this is something you would like to test. Reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) for help! **Prerequisites:** Prior to setting up your test, please reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) to confirm your account is set up with duplicate products and redirection, both of which are required for you to price test. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-1-set-up-test-in-the-intelligems-app) Step 1: Set up test in the Intelligems app ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you have confirmed the above with support, you can set up your test in the Intelligems app as you normally would! See our detailed guide [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-2-configure-your-duplicate-products-in-shopify) Step 2: Configure your duplicate products in Shopify ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ If you have not already, follow [these steps](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) to configure your duplicate products in Shopify. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-3-add-your-duplicate-products-to-your-subscriptions-in-skio) Step 3: Add your duplicate products to your subscriptions in Skio -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In Skio, follow these steps: 1\. Go to `Products` on the left hand side. 2\. Click `Add product` in the top right if you would like to add products one at a time, or `Bulk operations` if you'd like to add multiple products at the same time. 3\. If you have opted to add products one at a time, find the product you want to add in the list and select it. Enter all of the required subscription information, and click `Save` in the top right. If you have opted to add your products in bulk, you have the option between uploading a CSV or bulk creating subscription plans. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-4-confirm-subscriptions-are-set-up-correctly) Step 4: Confirm subscriptions are set up correctly -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you complete step 3, subscription options should be available on your duplicate products. Confirm that they are working as expected by going to the Preview of your duplicate products from the Shopify admin. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-5-consider-any-skio-workflows-that-may-be-impacted) Step 5: Consider any Skio workflows that may be impacted -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Many brands use Skio workflows, such as Rules or Quick Actions, to accomplish various things. If you use any of these, make sure they are set up to work with your new duplicate subscription products. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions#step-6-qa-your-test) Step 6: QA your test -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Because tests that involve subscriptions have more moving pieces, we recommend spending some extra time on QA - follow [this checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) to make sure you don't miss anything! [PreviousHow to Set Up a Price Test using Duplicate Products and Recharge Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions) [NextManaging Duplicate Products when Redirecting to Duplicate PDPs](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) Last updated 3 months ago Was this helpful? --- # Step 4: Update your cart | Intelligems Docs Once you have published the checkout script, you should add a product to cart while previewing the lowest priced group. In certain cases, you may notice an issue in the cart when you do this. A few examples of things that may happen include: * There may be a few visible line item properties in the cart * The Intelligems discount message will occasionally show in the cart * The compare-at price will not display correctly in the cart. For example, the compare-at price may show as the control group price, rather than the compare-at price for the test group you are in * The cart will only show the control group prices in preview mode while the test is pending. This is expected; read more in the FAQ [here](https://docs.intelligems.io/price-testing/price-testing-faqs) . Starting the test will show the correct prices. Should any of these happen, follow the below corresponding guidance to correct the issue and complete the integration. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart#remove-hidden-line-item-properties) Remove Hidden Line Item Properties[​](https://docs.intelligems.io/docs/pricing-integration/shopify-plus/update-cart#remove-hidden-line-item-properties) Most Shopify stores use a convention that any line item with a leading underscore `_` should not be displayed in the cart. The Intelligems line item property (e.g. `_igLineItemDiscount`) in the Checkout Script you've just added begins with an underscore, so we will piggyback on this convention to make sure the Intelligems discount line item property is hidden. Here is a common example of how this is implemented in a liquid cart (e.g. cart-line-items.liquid or a similar file). Many themes already contain this code, but it may be necessary to add if it is not already present. We recommend searching your theme file with a tool like [EZFY](https://chrome.google.com/webstore/detail/shopify-theme-file-search/mhchmhfecfdpaifljcfebnlaiaphfkmb) first to see if similar code already exists. The key lines are as follows: Copy {% assign first_character_in_key = p.first | truncate: 1, '' %} {% unless p.last == blank or first_character_in_key == '_' %} This code should be implemented in a loop over each item property. In context, the code block may look something like the below: Copy {% assign property_size = item.properties | size %} {% if property_size > 0 %}   {% for p in item.properties %}     {% assign first_character_in_key = p.first | truncate: 1, '' %}     {% unless p.last == blank or first_character_in_key == '_' %}       {{ p.first }}:       {% if p.last contains '/uploads/' %}         {{ p.last | split: '/' | last }}       {% else %}         {{ p.last }}       {% endif %}     {% endunless %}   {% endfor %} {% endif %} You can learn more about this [here](https://community.shopify.com/c/shopify-design/product-pages-get-customization-information-for-products/m-p/616525#toc-hId-287417639) under 'Hide line item properties (optional)'. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart#calculate-the-intelligems-discount-per-line-item-and-cumulative) Calculate the Intelligems Discount (per line item and cumulative) If we're using the Checkout Scripts to apply a "hidden" discount on a product, we don't want to show the user that they're receiving an Intelligems discount. Locate the liquid file that renders each cart item, often called cart-line-items.liquid or something similar. Within that file, locate the beginning of the loop over each item. It will look something like the below: Copy {% for item in cart.items %}  ... For each cart item, we'll want to check to see if an Intelligems discount was applied, and we'll want to keep track of the running total of Intelligems discounts. The snippet below under 'New', placed inside an existing code block which iterates over each cart item, will create a variable intelligems\_discount per line item which is either 0 or a non-zero number in cents which represents the Intelligems price change. This can also be used to adjust compare-at prices if desired. _**Old**_ Copy {% for item in cart.items %}   ... {% endfor %} _**New**_ Copy {% assign intelligems_total = 0 %} {% for item in cart.items %} {% case item.properties._igp %} {% when "0" or nil or blank %} {% assign intelligems_discount = 0 %} {% else %} {% assign intelligems_discount = item.properties._igp | plus: 0 %} {% assign intelligems_total = intelligems_total | plus: item.properties._igp | times: item.quantity %} {% endcase %} .... {% endfor %} Note that you'll only need one 'for' loop here (i.e. only one instance of the line &#xNAN;_"for item in cart.items"_) ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart#hide-the-strikethrough-price-in-the-cart) Hide the Strikethrough Price in the Cart Now that we have each item's Intelligems discount, we can prevent certain item properties (i.e. a strikethrough) from being rendered in the cart. Within the 'for' loop described above, locate the code that renders the strikethrough price. It may look something like the below: Copy {% if item.original_line_price and item.original_line_price != item.line_price %} {{ item.original_line_price | money }}
{% endif %} We might add the condition below to the code rendering the strikethrough: Copy {% if ... and intelligems_discount == 0 %} ... {% endif %} In context, this will look like something like the below: Copy {% if item.original_line_price and item.original_line_price != item.line_price and intelligems_discount == 0 %} {{ item.original_line_price | money }}
{% endif %} ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart#hide-the-discount-message) Hide the Discount Message[​](https://docs.intelligems.io/docs/pricing-integration/shopify-plus/update-cart#hide-the-discount-message) Sometimes discount messages appear to communicate bundle discounts, etc. In this case, we'll want to hide our message. We know from the checkout script in Step 4 that the Intelligems discount has the name "Discount" in most cases, so we'll hide any discount message with this name. Locate the code that renders the discount message, again in the 'for' loop over the cart's items. It will likely look something like the below: Copy {% if item.message and item.message != "" %}    
({{ item.message }}) {% endif %} We'll want to add the following condition to prevent "Intelligems" from being rendered as a discount name: Copy {% if ... and item.message != "Discount" %}   ... {% endif %} In context, this will look something like the below: Copy {% if item.message and item.message != "" and item.message != "Discount" %}
({{ item.message }}) {% endif %} Note: there may be additional adjustments you want to make (e.g. adjusting a strikethrough on the subtotal). We recommend using the line item and running total discount variables you created above and similar conditional logic to implement these additional adjustment. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-4-update-your-cart#integrating-using-handlebars) Integrating Using HandleBars[​](https://docs.intelligems.io/docs/pricing-integration/shopify-plus/update-cart#integrating-using-handlebars) Follow the example below if you use HandleBars in your theme. Add the HandleBar functions to the rest of your HandleBar functions. Copy Handlebars.registerHelper('noIgDiscount', function(arg1, options) { return (arg1.find(discount => discount.discount_application.title === 'intelligems' )) ? options.inverse(this) : options.fn(this) ; }); Handlebars.registerHelper('hasExtraDiscounts', function(arg1, options) { return arg1.some(discount => discount.discount_application.title !== 'intelligems' ) ; }); Copy {{#if discountsApplied}} {{#if (hasExtraDiscounts discounts)}} {{{price}}} {{{discountedPrice}}} {{else}} {{{price}}} {{/if}} {{else}} {{#if shouldShowComparePrice}} {{{comparePrice}}} {{/if}} {{{price}}} {{/if}} {{#if discountsApplied}}
{{#noIgDiscount discounts}} {{#each discounts}} {{this.discount_application.title}} (-{{{this.formattedAmount}}}) {{/each}} {{else}} {{/noIgDiscount}}
{{/if}} [PreviousStep 3: Add the Checkout Script](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-3-add-the-checkout-script) [NextStep 5: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts/step-5-qa-your-integration-and-publish-your-changes) Last updated 3 months ago Was this helpful? --- # Step 4: Configure duplicate products | Intelligems Docs 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 that products are not displaying multiple times in places like third-party channels and collections, inventory is being properly tracked, shipping profiles are set up correctly, and discount codes still work, you'll need to follow the below steps to make a few changes to how the duplicate products are set up in Shopify. You'll need to follow these steps for _every_ price test you set up. Step 1: Finding duplicate products in Shopify.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-1-finding-duplicate-products-in-shopify) 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. However, the easiest place to access and check the status of your duplicate products is from directly within the Intelligems app! Next to any price test in the app, click the three dots on the far right to see more options, then select "View Duplicates". This will bring you to the duplicates status page. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FUd33riBHWXAXLmJUJezo%252F13%2520-%2520View%2520Duplicates.gif%3Falt%3Dmedia%26token%3De323be33-9e8b-4ed3-b53a-9d3db5ef3bfe&width=768&dpr=4&quality=100&sign=5073439c&sv=2) 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. Step 2: Remove duplicate products from third-party channels.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-2-remove-duplicate-products-from-third-party-channels) 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 channel`. **3.** De-select `Online Store` and any channels you use for reporting. **4.** Select `Make products unavailable`. Step 3: Remove duplicate products from collections.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-3-remove-duplicate-products-from-collections) Follow these steps to remove the duplicate products from all collections. This prevents both versions of duplicate products from appearing in collections on the website. **1.** Select all the products using the checkbox in the top left of the products view: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F7G103zpzE13gRaT8Z2ff%252Fduplicate_products_config.png%3Falt%3Dmedia%26token%3D79171a7c-5c96-420f-ae4b-ee44c3a45903&width=300&dpr=4&quality=100&sign=24f66eac&sv=2) **2.** Select the three dots in the menu that pops up, followed by `Remove from collection(s)`. **3.** Select all collections. **4.** Select `Save`. If you use **Smart Collections** on your site, specifically to power any collection pages, you may **need to take extra steps to exclude duplicate products from those pages.** How you manage this may depend slightly on how you have your Smart Collections set up, but we typically find that updating the duplicate products' **Product Type** to something like "Test Products" and then excluding that product type from any Smart Collections to be a great solution. [Please reach out to our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you have questions on this. Step 4: Configure inventory tracking.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-4-configure-inventory-tracking) 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 your store uses a third-party application to manage inventory, please skip these steps. Please also note that third party apps that track inventory by SKU should not be affected by duplicating products as SKUs are copied to the duplicates. However, any app that uses product IDs or variant IDs to track inventory may need to be configured with the duplicate products. [Please reach out to our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you have questions or concerns! **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. Step 5: Add duplicate products to custom shipping profiles, if necessary.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-5-add-duplicate-products-to-custom-shipping-profiles-if-necessary) _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". Step 6: Add duplicate products to discount codes.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-6-add-duplicate-products-to-discount-codes) _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. Step 7: Configuring search apps, if necessary.[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products#step-7-configuring-search-apps-if-necessary) 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. [PreviousStep 3: Hide duplicate products from collections pages](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-3-hide-duplicate-products-from-collections-pages) [NextStep 5: QA your integration, and publish your changes](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-5-qa-your-integration-and-publish-your-changes) Last updated 1 month ago Was this helpful? --- # Step 2: Tag product prices | Intelligems Docs [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#introduction) Introduction ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To enable Intelligems to dynamically modify price elements for each test group during testing, it is essential to tag their locations on your website. This entails adding the query selector for price elements into the Intelligems configuration so the Intelligems plugin knows where those prices live. This guide will walk you through the process to do so. Before you can use the Intelligems Widget, please confirm that you've added Intelligems JavaScript as a source into your theme.liquid file! See more on how to add our JavaScript to your site [here](https://docs.intelligems.io/developer-resources/intelligems-theme-snippets) . Tagging your prices requires a Price Test to be set up in the Intelligems app! If you have not already done so, check out our guide on setting up a new Pricing Test [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . Don't worry – it won't change anything on your site until you hit start & you can always make edits to your test before launching it! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#accessing-the-widget) Step 1: Accessing the Widget ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- To get started, you'll need to create a price test in the Intelligems app, and open the Intelligems preview widget for that test. There are two ways to access the Intelligems Preview Widget: 1. Navigate to the "A/B Tests: tab in the Intelligems app. Click on the eyeball icon to the right of the test you have created. This will open a new browser window up with your website with the widget enabled. 2. You can also enter this mode by adding /?ig-preview=true to the end of your website's URL (e.g. https://mystore.com/?ig-preview=true). This will open a modal where you can choose which experiment you would like to see in the onsite widget. To tag prices, be sure to select a price test from this dropdown. Once you are in Preview mode, select the "Edit" button followed by the dollar sign. The video below will walk you through this process: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FMISntvysIsTcu6doGJZj%252F12%2520-%2520preview%2520selectors.gif%3Falt%3Dmedia%26token%3D37bcd4c1-0189-467c-be5e-884610cf47f5&width=768&dpr=4&quality=100&sign=90e643b8&sv=2) The Intelligems Widget offers full support for **Google Chrome**. Support for any other browsers is limited. If you are having an issue with the Widget in another browser, we suggest trying to run it in Google Chrome. For more support, please open a ticket with our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#adding-price-selectors) Step 2: Adding Price Selectors -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Now that you are in Price Selector mode, it is time to tag price elements everywhere on your site. Follow the steps below: 1. Enable selector mode - you can do this by clicking the box associated with 2 in the image below. 2. Now that that is enabled, you'll notice that elements on the page will be wrapped in a blue dotted line as you move your cursor around the page. Find a price element and click. You'll now notice the query selector has been added to the list in the integration widget, and if you hit save at the bottom of the widget, the element will be highlighted in green or blue. If the price is highlighted in green, then it is in the test you are currently previewing. If it is highlighted in blue, then it is not in the test you are currently previewing. * If there is a price for a product that is in the test you are currently previewing that is highlighted in blue, this most likely means that Intelligems cannot tell what product or variant ID is connected with that price element to update it correctly. Check out [this guide](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) for more information on the theme change that must be made to resolve this! 3. Continue this process until all price elements on your site have been tagged, ensuring that the tags for each element are added to the correct section - for example, compare price (otherwise known as strikethrough prices) query selectors should be included in the Compare At Price section, while price query selectors should be included in the Price Section. Note that you should not tag the prices in your cart drawer, cart page or at checkout! 4. Be sure to hit save at the bottom of the integration widget periodically and when you are done to ensure you do not lose any of your work! ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FbnCsFGyCzlcrEfWrAoZy%252Fimage.png%3Falt%3Dmedia%26token%3Df5ee0d78-ffa6-4f0d-8e79-fc5d4468db5d&width=768&dpr=4&quality=100&sign=ac00674a&sv=2) 1\. The type of selector - see more below for what each type is for. 2. Enable selector mode - clicking this button will allow you click on your prices on your site and automatically add a new selector. 3. Query selectors that have been added. 4. Add a query selector manually. 5. Delete a query selector. A few places to keep in mind as you tag all of the prices elements in your store include:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#a-few-places-to-keep-in-mind-as-you-tag-all-of-the-prices-elements-in-your-store-include) * Homepage * Collection Pages * Product Detail Pages (PDPs) - make sure you don't miss tagging any related or recommended products listed on your PDPs! * Search Results Page or Bar, depending on where results show price * Product Quiz * Upsells in the cart or at checkout Here are all of the different selector types:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#here-are-all-of-the-different-selector-types) **Price:** Use this section to select product prices on your store's site. **Compare At Price:** Use this section to select compare prices on your store's site. **Installment:** Use this section to select installments on your store's site. The default number of payments is 4. To change the payment amount, add the below to the element containing your installment in your theme. Copy data-payment-count="{{payment_amount}}" The Installment selector is compatible with installments that are: 1. Directly in your liquid 2. Not in the liquid, but is wrapped in its own This selector is **not** compatible with installments that are: 1. Wrapped in a Shadow DOM 2. Not wrapped in its own span **Savings (Price):** Use this option to select the dollar savings amount. This is normally located on your product pages. **Savings (Percentage):** Use this option to select the percentage savings amount. This is normally located on your product pages. **Cart Discount Message:** Use this option to hide a discount message (i.e. DISCOUNT or INTELLIGEMS) in your cart. A few tips & tricks:[](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-2-tag-product-prices#a-few-tips-and-tricks) **Per Unit Prices.** If you have per unit prices listed for a product, you can follow these steps to update those prices accordingly during a price test: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the per unit element, where X is what you want to multiple the price by. For example, if you wanted to show the per unit price when there are three units included, you would add `data-price-multiplier=".33"` to the element. **Discounted Prices.** Many brands use the compare price field in Shopify to show a perceived discount - these are easy to tag using our various selector types. However, some brands will use a different method to show discounted prices by manipulating the frontend prices & using something like a Checkout Script to achieve a perceived discount. If this is the case for your store, follow these steps to accurately tag those prices: 1. Tag the per unit prices with a normal Price selector. 2. In your theme code, add `data-price-multiplier=".X"` to the discounted price element, where X is the inverse of the discount you are applying. For example, if you were running a 20% discount, you would add `data-price-multiplier=".8"` to the element. You'll know you're done when all price, compare at price, installment and savings elements are highlighted in blue or green on all pages in your store! Note that you **should not tag prices in the cart or cart drawer** as we will manage updating those either through checkout scripts or duplicate products, depending on your version of Shopify. Having issues? Checkout our troubleshooting guide [here](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) or submit a ticket to our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [PreviousStep 1: Add Intelligems JavaScript](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-1-add-intelligems-javascript) [NextStep 3: Hide duplicate products from collections pages](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-3-hide-duplicate-products-from-collections-pages) Last updated 3 months ago Was this helpful? --- # Testing Prices with Subscriptions | Intelligems Docs [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#introduction) Introduction -------------------------------------------------------------------------------------------------------------- If you offer subscriptions as an option on your product(s), testing prices is a bit more complex. Intelligems supports testing both one-time and subscription prices for your store's products, and this article will walk through the basics on what is possible, and how to get started. Testing subscriptions is currently only supported on our annual plans. Please [reach out to Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you are interested in testing subscriptions. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#what-kind-of-subscription-tests-are-supported) What kind of subscription tests are supported? --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Intelligems supports a wide variety of tests on subscription products. Some examples include: * Testing different one-time prices while keeping subscription discount percentages consistent * Testing different one-time prices while keeping subscription prices consistent * Testing different subscription discounts [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#how-does-intelligems-implement-subscription-tests) How does Intelligems implement subscription tests? ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Generally, Intelligems implements subscription tests by creating duplicate products (one duplicate per test group for each product). Duplicate products are often required because subscription providers display one-time and subscription prices on PDPs directly based on the product URL. Therefore, a separate product needs to be created to show different prices. To learn more about how these products will be configured, check out our article [here](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) . If your store is on Shopify Plus and uses Recharge 2.0 or Stay.ai, we may be able to implement your test without duplicate products. Please [contact us](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) to learn more. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#which-subscription-apps-is-intelligems-compatible-with) Which subscription apps is Intelligems compatible with? --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Intelligems is generally compatible with all major subscription providers. Most require us to create duplicates of the products you want to test. See below for a list of subscription providers and implementation methods available for each. **Provider** **API + Checkout Scripts** **Duplicate Products** Recharge 2.0 (Unified Checkout) ✓ ✓ Stay.Ai ✓ ✓ Skio ✓ Prive ✓ Smartrr ✓ Loop ✓ Ordergroove ✓ [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#which-intelligems-plans-qualify-for-subscription-testing) Which Intelligems plans qualify for subscription testing? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- You must be on an annual plan that includes price testing to qualify for subscription testing. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#can-i-perform-the-integration-with-intelligems-on-my-own-if-i-offer-subscriptions) Can I perform the integration with Intelligems on my own if I offer subscriptions? --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Testing subscriptions often requires a more involved integration & setup than typical price tests. As a result, we recommend having Intelligems perform the integration if this applies to your store. [Reach out to our support team to learn more](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions#ive-read-all-of-the-above-and-am-ready-to-set-up-my-test.-how-do-i-do-this) I've read all of the above and am ready to set up my test. How do I do this? -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Check out the guides below to learn more about setting up a price test where subscription products are involved: [Testing Prices with Recharge 2.0 or Stay.Ai](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai) [How to Set Up a Price Test using Duplicate Products and Recharge Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions) [How to Set Up a Price Test using Duplicate Products and Skio Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions) [Managing Duplicate Products when Redirecting to Duplicate PDPs](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) [PreviousEnding a Price Test](https://docs.intelligems.io/price-testing/ending-a-price-test) [NextTesting Prices with Recharge 2.0 or Stay.Ai](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai) Last updated 3 months ago Was this helpful? --- # How to Set Up a Price Test using Duplicate Products and Recharge Subscriptions | Intelligems Docs Testing subscriptions often requires a more involved integration and setup than typical price tests. As a result, we recommend having Intelligems perform the integration if this is something you would like to test. Reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) for help! **Prerequisites:** Prior to setting up your test, please reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) to confirm your account is set up with duplicate products and redirection, both of which are required for you to price test. Duplicate products are only required in the case that you do not have access to the Script Editor app, or use Recharge 1.0. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-1-set-up-test-in-the-intelligems-app) Step 1: Set up test in the Intelligems app -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Once you have confirmed the above with support, you can set up your test in the Intelligems app as you normally would! See our detailed guide [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-2-configure-your-duplicate-products-in-shopify) Step 2: Configure your duplicate products in Shopify ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- If you have not already, follow [these steps](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) to configure your duplicate products in Shopify. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-3-add-your-duplicate-products-to-your-subscriptions-in-recharge) Step 3: Add your duplicate products to your subscriptions in Recharge -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In Recharge, follow these steps: 1. Go to `Products` on the left hand side. 2. Click `Add Product` in the top right. 3. Select all of your duplicate products and click `Add Products`. 4. Once you have added them, they will show up in the list with all of your other subscription products, but they will have no `Collections` or `Subscription type`. 5. You can now either click into each duplicate product and update the subscription settings individually, or select all of the duplicate products using the checkboxes on the left and click `Update subscription settings` at the top. 6. Confirm that you have set up the subscription type, order schedule and discount for each new duplicate product. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-4-confirm-subscription-duplicate-products-are-set-up-correctly) Step 4: Confirm subscription duplicate products are set up correctly ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Once you complete step 3, Recharge will automatically create another duplicate product for each test product in Shopify. The Recharge duplicates will have the subscription discount in the product title, making them easy to find. These products should be set up correctly, but we recommend confirming the prices match what you expect and that the products are set to active. The prices on the subscription duplicate products should be equal to the price after the subscription discount. We also recommend adding a tag, such as 'Price\_Test\_Subscription\_Duplicate', to make these products easy to find in the future. [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-5-consider-any-recharge-apps-that-may-be-impacted) Step 5: Consider any Recharge apps that may be impacted ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Many brands use Recharge apps, such as Workflows, to accomplish various things. If you use any apps, make sure these are set up to work with your new duplicate subscription products. A few things to keep in mind here are any apps that rely on product IDs or names as these may not match! [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions#step-6-qa-your-test) Step 6: QA your test ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Because tests that involve subscriptions have more moving pieces, we recommend spending some extra time on QA - follow [this checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) to make sure you don't miss anything! [PreviousTesting Prices with Recharge 2.0 or Stay.Ai](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai) [NextHow to Set Up a Price Test using Duplicate Products and Skio Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions) Last updated 3 months ago Was this helpful? --- # Price Testing with Quantity Button Components | Intelligems Docs ### [](https://docs.intelligems.io/personalizations/personalization-modifications/price-testing-with-quantity-button-components#can-i-run-a-price-test-using-quantity-button-components) Can I run a price test using Quantity Button components? **Short answer:** You can’t run Quantity Button components _directly_ inside a Price Test. However, they can still work alongside a Price Test if both are targeting the same product(s). #### [](https://docs.intelligems.io/personalizations/personalization-modifications/price-testing-with-quantity-button-components#how-quantity-buttons-work) How Quantity Buttons Work [Quantity Button components](https://docs.intelligems.io/personalizations/personalization-modifications/quantity-buttons) belong to Offers (Experience or Offer Test), not Price Tests. This means: * Add Quantity Buttons in **Offers**, not Price Tests * Price Tests adjust the base price * Offers (and their components, like Quantity Buttons) calculate discounts _on top of_ that base price. #### [](https://docs.intelligems.io/personalizations/personalization-modifications/price-testing-with-quantity-button-components#how-they-can-work-together) How They Can Work Together If you have: * A Price Test running on a product and * An Offer Experience or Offer Test (with Quantity Buttons) that includes the same product …then the Quantity Button discount will use the Price Test’s adjusted base price instead of the original price. **Example:** 1. Your tee shirt is normally $35. 2. You set up a volume discount Offer with Quantity Buttons component that gives $10 off each unit when buying two units. 3. Normally, that would display: * Base: $70 (2 units × $35 per tee) * Discount: -$20 ($10 per tee when purchasing 2 units) * Total: $50 4. Now, you start a Price Test that lowers the price from $35 per tee → $30 per tee for one test group. 5. For shoppers in that group: * Base: $60 (2 units × $30 per tee) * Discount: -$20 ($10 per tee when purchasing 2 units) * Total: $40 Quantity Buttons automatically adjust to the Price Test price in real time as long as the Offer and Price Tests are both live. #### [](https://docs.intelligems.io/personalizations/personalization-modifications/price-testing-with-quantity-button-components#key-takeaways) Key Takeaways * You can’t add Quantity Buttons inside a Price Test setup. They’re only available in Offers. * To use Quantity Buttons with a Price Test, first create a volume discount Offer Experience for the product(s) you want to price test, and add the Quantity Button component to the Offer. * If the same product is in both a Price Test and an Offer, the Quantity Buttons will read the Price Test price before applying their discount. * This ensures your pricing and discount logic always stays accurate for shoppers. Still have questions? [Contact Support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . We're here to help! [PreviousIntegrating Components with Offers](https://docs.intelligems.io/personalizations/personalization-modifications/offers-integrating-widgets) [NextUpgrade Offer components](https://docs.intelligems.io/personalizations/personalization-modifications/upgrade-offer-components) Last updated 1 month ago Was this helpful? --- # How to Add the data-product-id and/or data-variant-id Attribute to an Element | Intelligems Docs ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#background) Background One of the most common issues we see when completing the Intelligems Price Testing integration is that a price on your website that is included in your test is not updating in preview mode, or is highlighted in blue when it should be highlighted in green. This help guide will walk you through what theme change needs to be made to resolve this issue. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-1-inspect-the-price-that-is-not-working) **Step 1: Inspect the price that is not working** On the price that is not updating, right click and select 'Inspect' from the menu. This will open up the developer tools in the same window. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-2-find-a-unique-combination-of-classes-ids-and-or-attributes) **Step 2: Find a unique combination of classes, IDs, and/or attributes** In the developer tools, the element you are inspecting should be highlighted. In one of the **parent** elements for the price that is not updating, find a unique combination of classes, IDs, and/or attributes. In the screenshot below, `intelli-price intelli-span_USD_37.04`would be a good spot to start. However, you're not looking for this intelli-price class; you're looking for the `price-container__price` class in this case. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FsUafzmjrl68YYNUL0apa%252FScreenshot%25202024-03-01%2520at%25203.07.23%2520PM.png%3Falt%3Dmedia%26token%3Dce063551-16a7-4ff6-b398-1f5300a87cf2&width=768&dpr=4&quality=100&sign=b094ba18&sv=2) ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-3-download-the-shopify-theme-file-search-by-ezfy-chrome-extension) **Step 3: Download the 'Shopify Theme File Search by EZFY' Chrome extension** If you don't already have it, this Chrome extension will be extremely helpful! You can download it [here](https://chrome.google.com/webstore/detail/shopify-theme-file-search/mhchmhfecfdpaifljcfebnlaiaphfkmb) . ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-4-open-the-code-editor-in-shopify) **Step 4: Open the code editor in Shopify** In another window, got to your Shopify admin account and select 'Sales Channels' > 'Online Store' > the three dots next to the theme you are integrating with > ' Edit code'. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-5-search-the-files) **Step 5: Search the files** Once in the theme file of your choice navigate to the `edit code` option of the themes dropdown. \\ ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FD69RKK2bil0JXAlbGiYJ%252FScreenshot%25202023-08-24%2520at%252011.09.38%2520AM.png%3Falt%3Dmedia%26token%3D521b70bc-5d21-4228-b4ff-64eb750bb470&width=768&dpr=4&quality=100&sign=ab322a05&sv=2) The Chrome extension you just downloaded should render a search box at the top of your screen like the one in the screenshot below once you are in the code editor. If you don't see it, you may need to refresh, or exit the code editor and come back by repeating the step above. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FEh20YwvUPm68dtl90dRJ%252FScreenshot%25202023-08-24%2520at%252011.12.07%2520AM.png%3Falt%3Dmedia%26token%3Dc2ba8f00-3a77-4388-a95a-626b7f0dd3c9&width=768&dpr=4&quality=100&sign=526132ee&sv=2) In that search box, enter the unique combination of classes, IDs, and/or attributes that you found while inspecting your price in step 2. (It was `price-container__price` in the example above; yours will vary.) This will search all of your files, and any files that contains a match will be highlighted in blue. If no matches are found, search for a smaller portion of the text. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-6-search-each-.liquid-file-to-find-the-text) **Step 6: Search each .liquid file to find the text** For each highlighted file with a .liquid extension, open the file and use keys Cmd + F to search the file for the text. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-7-find-the-closest-html-open-tag-to-the-text) **Step 7: Find the closest HTML open tag to the text.** An opening tag begins a section of page content. To find the closest one to the text, 1\. Start from the highlighted text that you searched for. 2\. Keep moving left until you see an open tag. 3\. If there is no open tag directly to the left of the text, move one line up and start from the right end. ### [](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element#step-8-insert-a-data-product-id-and-or-data-variant-id-snippet) **Step 8: Insert a data-product-id and/or data-variant-id snippet.** Once you have found the closest HTML open tag, making sure there are spaces before and after, insert a data-product-id or data-variant-id snippet after the open tag using the below guidelines. Replace `product` with `variant` where necessary. With proper space, it should look similar to this: Copy .title` in the data-product-id snippet. If you don't see any usage of 'product' or something similar in the file, go to number three. 3\. Try adding `data-product-id="{{ product.id }}"`. Save the file and go back to the window with your site open. Refresh and see if the price is now working. If not, please [reach out to Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) for help. [PreviousTroubleshooting](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting) [NextReplo Page Builder](https://docs.intelligems.io/price-testing/price-testing-integration-guides/replo-page-builder) Last updated 3 months ago Was this helpful? --- # Ending a Price Test | Intelligems Docs ### [](https://docs.intelligems.io/price-testing/ending-a-price-test#step-1-press-the-stop-button) Step 1: Press the Stop Button To end a test, navigate to the `A/B Tests` tab in the menu on the left-hand side of the Intelligems portal. Once you're there, locate the test you'd like to end in the Intelligems tests list and click the stop button. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FDGHbw9Wd1lchiLOgnVAW%252Fimage.png%3Falt%3Dmedia%26token%3D847a821c-2413-4dd7-8678-bae86a8d414c&width=768&dpr=4&quality=100&sign=d80ff54a&sv=2) ### [](https://docs.intelligems.io/price-testing/ending-a-price-test#step-2-roll-out-prices) Step 2: Roll Out Prices Once you click `Stop`, a modal will pop up with the option to have Intelligems update your Shopify prices - we recommend saying 'Yes' to this. If you'd like Intelligems to roll out prices from one of the test groups, select that group and click `Apply Prices and End Test`. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FrPWBiavNTEllzbsLyJ7S%252Fimage.png%3Falt%3Dmedia%26token%3D05707b1c-2457-4963-90c5-abcb597f3aba&width=768&dpr=4&quality=100&sign=56d48508&sv=2) * If _**Checkout Scripts or Functions**_ were used to run the test, prices for the products in Shopify will be updated and Intelligems Checkout Script or Function will no longer be applied. * If _**duplicate products**_ were used to run the test, prices for the original products in Shopify will be updated, if needed, and traffic will no longer be directed to the duplicate products. If you'd prefer to manually update your prices, choose `End Test and Don't Update Prices` in this modal. Choosing this option will keep your prices as they are in Shopify. * If _**Checkout Scripts or Functions**_ were used the run the test, the _**highest**_ _**prices**_ in the test will remain in Shopify. This is because the Checkout Scripts & Functions methodology relies on discounts to show different prices in each group. The Intelligems Checkout Script or Function will no longer be running, so all customers will see the **highest price in the test**. * If _**duplicate products**_ were used to run the test, prices for the original products in Shopify will remain the same (this is often the _control group_), and traffic will no longer be directed to the duplicate products. If _**duplicate products**_ were used to create the test, when you end the test, you also have the option in the next modal between: 1\. Immediately archiving the duplicate products. 2\. Archiving the duplicate products after 48 hours. If you choose this option, they will still be set to the `Active` status in Shopify for the **following 48 hours**, though we will not send any new traffic to them. We recommend this option so that if a customer has a duplicate product in their cart, they will still have a seamless checkout experience. 3\. Leaving the duplicate products set to 'Active' until you choose to change the status in Shopify directly. You can select this option by clicking outside of the pop-up where you select when you want products archived. ### [](https://docs.intelligems.io/price-testing/ending-a-price-test#step-3-update-marketing-as-needed) Step 3: Update Marketing As Needed Did you role out new prices based on the results of the test? If so, you'll want to do a thorough sweep of anywhere you may include prices - think emails, social, advertisements, etc.. While you may have used Intelligems' [Onsite Editor](https://docs.intelligems.io/general-features/onsite-editor) to change the language in these locations during the test, you'll want to update it again to match the new prices going forward. ### [](https://docs.intelligems.io/price-testing/ending-a-price-test#step-4-update-subscriptions-as-needed) Step 4: Update Subscriptions As Needed If _**Checkout Scripts**_ were used to run the test, there is no action needed here! By default, subscriptions will continue to run at the price the user signed up at, which may not always be equal to the price on your site. For example, if you ran a test where the subscription price was $10 for one group and $8 for another and I signed up for the subscription in the $8 group, I would continue to pay $8 monthly, even if the $10 price point is rolled out to the entire site post-test. If _**duplicate products**_ were used to run the test and you offered subscriptions on them, you'll need to merge the duplicate products with the original products within your subscription provider to ensure anyone who signed up for a subscription on the duplicate product is not impacted. If you use Recharge, [this article](https://support.rechargepayments.com/hc/en-us/articles/360008829533#h_01GK355HXA27ESB482GZM33HF9) will walk you through the process to do so. If you work with another subscription provider, we recommend reaching out to their support team for information on how to bulk update products. When reaching out to your subscription provider's support team, we recommend saying something along the following, as well as including a spreadsheet similar to the below with a row for each product that has subscriptions and was duplicated for the test: _Hello Support,_ _We’re looking to do a bulk swap of products/variants tied to subscriptions for_ _**Store Name**__. I’m attaching a spreadsheet which maps the current product / variant IDs to what they should be updated to in_ _**Subscription Provider's**_ _backend. We’re doing this because the current products are going to be deleted.Please let me know if you have any questions, or if this is something I can do on our end._ **Product Title** **Current Product ID** **Desired Product ID** **Current Variant ID** **Desired Variant ID** Duplicate Product A 7926607872639 7066606823681 43624551698273 41124551612498 Duplicate Product B 7926606823762 7082606823681 43624538571743 43629768571009 [PreviousStarting a Price Test](https://docs.intelligems.io/price-testing/starting-a-price-test) [NextTesting Prices with Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions) Last updated 3 months ago Was this helpful? --- # Managing Duplicate Products when Redirecting to Duplicate PDPs | Intelligems Docs ### [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#overview) Overview In specific, more complex cases, we may use duplicate products to run your price test. In most instances, we recommend using the original PDPs and only introducing the duplicate products upon add-to-cart. However, there are certain instances where using the PDP for the duplicate product may be necessary, including: 1. Testing subscription products with most subscription providers 2. Testing significant PDP changes 3. Testing prices when you offer a bundle discount on the PDP through Kaching or Shrine We have built-in PDP Quanity Buttons you can implement and use for price tests via our **Global Styles** components In order to use the duplicate PDPs, you'll need to confirm that both **Should Duplicate Products** and **Should Redirect** are enabled in the Advanced Settings menu in the Intelligems app. If you do not see this option, you may need to request access to this menu by contacting our support team [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . To make sure that products are hidden from third-party channels and collections, inventory is being properly tracked, shipping profiles are set up correctly, and discount codes still work, you'll need to follow these steps to make a few changes to how the duplicate products are set up in Shopify. You'll need to follow these steps for _every_ Price Test you set up. Step 1: Finding duplicate products in Shopify[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-1-finding-duplicate-products-in-shopify) 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. However, the easiest place to access and check the status of your duplicate products is from directly within the Intelligems app! Next to any price test in the app, click the three dots on the far right to see more options, then select "View Duplicates". This will bring you to the duplicates status page. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FUd33riBHWXAXLmJUJezo%252F13%2520-%2520View%2520Duplicates.gif%3Falt%3Dmedia%26token%3De323be33-9e8b-4ed3-b53a-9d3db5ef3bfe&width=768&dpr=4&quality=100&sign=5073439c&sv=2) 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. Step 2: Remove duplicate products from third-party channels[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-2-remove-duplicate-products-from-third-party-channels) 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 channel`. **3.** De-select `Online Store` and any channels you use for reporting. **4.** Select `Make products unavailable`. Step 3: Remove duplicate products from collections[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-3-remove-duplicate-products-from-collections) Follow these steps to remove the duplicate products from all collections. This prevents both versions of duplicate products from appearing in collections on the website. **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 `Remove from collection(s)`. **3.** Select all collections. **4.** Select `Save`. If you use **auto-collections** on your site, specifically to power any collection pages, you may **need to do a couple extra steps here to exclude duplicate products from those pages.** How you manage this may depend slightly on how you have your auto-collections set up, but we typically find that updating the duplicate products' **Product Type** to **Test Products** and then excluding that product type from any auto-collections to be a great solution. [Please reach out to our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you need assistance with this. Step 4: Configure inventory tracking[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-4-configure-inventory-tracking) 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 though other methods. Please consider how selling duplicate products will affect 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 your store uses a third-party application to manage inventory, please skip these steps. Please also note that third party apps that track inventory by SKU should not be affected by duplicating products as SKUs are copied to the duplicates. However, any app that uses product IDs or variant IDs to track inventory may need to be configured with the duplicate products. **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** if an item in your store goes out of stock. Step 5: Add duplicate products to custom shipping profiles, if necessary[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-5-add-duplicate-products-to-custom-shipping-profiles-if-necessary) _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**. Step 6: Add duplicate products to discount codes as needed[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-6-add-duplicate-products-to-discount-codes-as-needed) _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. Step 7: Configure search apps, if necessary[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-7-configure-search-apps-if-necessary) 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. Step 8: Configure duplicate products in third-party apps[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps#step-8-configure-duplicate-products-in-third-party-apps) The following steps will help you configure duplicate products within third-party apps, if necessary. Note that if you **don't see your duplicate products** in a third-party app, you may need to set your duplicate products to 'Active' status in Shopify in order to access them. Don't worry - as long as you've completed the above steps, users won’t be able to navigate to these pages until the test is live, unless they are given the URL directly, as long as you completed all the steps above. **Configuring subscription management apps** There are many subscription management apps, but the documentation for configuring duplicate products on some of the apps we’ve come across can be found at the following links: * [Skio](https://help.intelligems.io/pricing-test-using-duplicate-products-and-skio) * Don't see yours here yet? [Contact us here.](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) **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) **Configuring bundle or volume discount apps** There are several bundle or volume discount apps available, such as Kaching or Shrine, where you may find it easier to redirect to a new PDP so that Kaching or Shrine can reflect the correct prices. Once your duplicate products have been created, head over to your volume discount app and set the same options up for your new product. [PreviousHow to Set Up a Price Test using Duplicate Products and Skio Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-skio-subscriptions) [NextMulti-Currency Testing](https://docs.intelligems.io/price-testing/multi-currency-testing) Last updated 1 month ago Was this helpful? --- # Starting a Price Test | Intelligems Docs [](https://docs.intelligems.io/price-testing/starting-a-price-test#step-1-confirm-intelligems-script-is-in-your-live-theme) **Step 1: Confirm Intelligems script is in your live theme** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- In addition to Intelligems Javascript, confirm any other theme changes completed during the integration are in your live theme as well. **If not**, please publish the script and any changes before proceeding. [](https://docs.intelligems.io/price-testing/starting-a-price-test#step-2-press-the-start-button) **Step 2: Press the Start Button** ----------------------------------------------------------------------------------------------------------------------------------------- In the Intelligems app, navigate to the A/B Tests tab and click the play button next to the pricing test you are wanting to start. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252Fssi9JaM6zTCfpLWA8liS%252Fimage.png%3Falt%3Dmedia%26token%3Db308fe22-23d5-4855-8c5d-aa722976c706&width=768&dpr=4&quality=100&sign=2a097b58&sv=2) [](https://docs.intelligems.io/price-testing/starting-a-price-test#step-3-confirmed-youve-done-the-integration-and-also-qad-your-test) **Step 3: confirmed you've done the integration and also QA'd your test** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- At this point, we display two checkboxes so you can confirm you've done the [Price Test Integration](https://docs.intelligems.io/price-testing/price-testing-integration-guides) , and that you've also [QA'd your test](https://docs.intelligems.io/price-testing/price-test-qa-checklist) . If you've done both, check both checkboxes, and click 'Confirm'. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F4ihzzcgIjP2Aem4ywx80%252Fimage.png%3Falt%3Dmedia%26token%3D8bf294e2-6063-4e99-8c4e-6016bd55ca47&width=768&dpr=4&quality=100&sign=554ac963&sv=2) [](https://docs.intelligems.io/price-testing/starting-a-price-test#step-4-click-yes-update-my-prices-and-start-test) **Step 4: Click "Yes, Update My Prices and Start Test"** ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **If C**_**heckout Scripts**_\*\* or **\_**Functions**\_** are being used to run your test,\*\* after you click `Start`, you'll see a pop-up asking if you want the Intelligems Wizard to update your Shopify prices. Please select 'Yes, Update My Prices and Start Test' in the pop-up. This will allow Intelligems to automatically update your product prices to the highest price in the test for each product, which is necessary for your test to run correctly. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FVYG7p7vw37hw9cyEk19G%252Fimage.png%3Falt%3Dmedia%26token%3D730ccbb1-e2e6-4113-aebd-8466e0970856&width=768&dpr=4&quality=100&sign=a1f5bdde&sv=2) While there are certain scenarios where prices do not need to be updated, we do not recommend selecting "No, I'll Update My Prices" unless you 100% know what you're doing! **If \_duplicate products**\_\*\* were used to create the test,\*\* this pop up will not come up. Instead, you'll see a modal displaying your duplicate products, and the option to start the test. Duplicate products were created when you set your test up for each price group. As long as you followed [these steps](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products) [](https://docs.intelligems.io/getting-started/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products) to configure your duplicate products, your test is ready to go, so you can click on 'Start Test'. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F7x6sSsfakeWhKiCOKT1c%252Fimage.png%3Falt%3Dmedia%26token%3D4d69231e-72c8-4d20-8dd0-a4101760891a&width=768&dpr=4&quality=100&sign=a1299264&sv=2) [](https://docs.intelligems.io/price-testing/starting-a-price-test#step-4-check-your-site) **Step 4: Check Your Site** --------------------------------------------------------------------------------------------------------------------------- Now that the test is live, we recommend going through the add to cart and checkout process in a few incognito browsers so you can get added to different test groups and ensure everything is working as expected. If you have not already QA'd your test before launching it, we recommend going through [this checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) . Please [reach out to our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) with any issues! [PreviousPrice Test QA Checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) [NextEnding a Price Test](https://docs.intelligems.io/price-testing/ending-a-price-test) Last updated 3 months ago Was this helpful? --- # Price Test QA Checklist | Intelligems Docs This QA list is specific to a price test. If you are QAing a shipping test, please check out [this article](https://docs.intelligems.io/shipping-testing/shipping-test-qa-checklist) ! Before heading to your site, there are a few things you should check to make sure your integration is functional: * Is Intelligems JavaScript in your live theme? Check out [this article](https://docs.intelligems.io/getting-started/adding-intelligems-script-to-your-theme) for more information on where to find this. * If you are using the [Checkout Script integration](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts) , is the Intelligems Checkout Script live in the Script Editor app? Once you have confirmed both of those items are true, you can preview the test on your live site. Enter Preview mode by clicking the `...` next to your test and select `Preview` ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FIzg2aHQBECwHQ4Xl6CQc%252F10%2520-%2520Open%2520Preview.gif%3Falt%3Dmedia%26token%3De61108ce-6657-46a5-89d3-8368d08b4f49&width=768&dpr=4&quality=100&sign=654e5845&sv=2) This will open your site up in a new window with the Intelligems preview widget enabled. In the preview widget, you'll see: 1. The name of the test you are previewing in the top left 2. A dropdown to switch between different test groups in the bottom left 3. A toggle to highlight any replacements in the top right 4. An edit button in the bottom right. This enables integration mode where you can edit price selectors and text replacements ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F5H4JjgIvisCTzXuqr77A%252Fimage.png%3Falt%3Dmedia%26token%3Db133337b-4e23-43fd-9f99-a238c239529d&width=768&dpr=4&quality=100&sign=f7fdcf62&sv=2) Please note that if you sell in multiple currencies, a price test which includes prices higher than the control group's prices may have implications for any non-default currencies if they are set to dynamically convert against your store's default currency. In Shopify Markets, or wherever your store's currency pricing is managed, be sure to set non-default currency prices as fixed/static for the duration of the test if you would like to avoid any unintended price increases in these markets. To get started in preview mode, turn the `Highlight Replaces` toggle on in the top right corner of the widget to highlight the prices in your test. This will highlight all of the prices that have been tagged on your site in green or blue. * Confirm that any prices tagged in green _are_ part of the test. Green highlighting means we recognize that element is a price, and _it is being changed_ by the Intelligems app in accordance with the different groups for the test you are previewing. * Confirm that any prices tagged in blue _are not_ part of the test. Blue highlighting means we recognize that element is a price, but _it is not_ being changed by the Intelligems app because that product is not included in the test you are previewing. This is important as you may test this price in the future, so we want to make sure we know its a price. * Is the price of a product _that is included in the test_ highlighted blue? This most likely means that we are not able to tell which product and/or variant ID this price is for. Follow [these steps](https://docs.intelligems.io/price-testing/price-testing-integration-guides/troubleshooting/how-to-add-the-data-product-id-and-or-data-variant-id-attribute-to-an-element) to add the `data-product-id` and/or `data-variant-id` attribute to that price element so that we are able to tell which product it is for. * Confirm that the price for each product and variant that are part of the test matches the test designed in the app for all test groups. You can switch groups with the drop down in the bottom left corner of the preview widget. A few pages we recommend checking: * Homepage * Collection Pages * Search Bar * Search Results * Product Page * Recommended Items on Product Page (e.g. `You May Also Like` or `Recently Viewed`) * Upsells in Cart * Product Quiz * Landing pages * Navigation * Confirm that the below is all true on the Product Page: * The correct price displays for each test group. Be sure to check out different variants if this is an option. * Bulk purchase and/or subscription options match the live site and/or test design. * Ratings and/or reviews match the live site. * Other media, such as images, video and text, match the live site. * Text is being updated if it references price. For example, text that says `20% off for subscriptions` or references value of individual items in a bundle should update accordingly. Now that you have confirmed prices look right everywhere on the site, go through the add to cart process and click checkout for a handful of products that are a part of the test. * Confirm that status of duplicate products (if not on Shopify Plus) has been changed from Draft to Active. * Confirm price is being calculated correctly at each step (e.g. in the mini cart, on the cart page, and on the checkout page) based on which test group is selected in the widget. _Note that if you are using Duplicate Products for your test, the price should match the test group in the cart._ * Increase the quantity of a test item to two from within the cart; confirm that the prices are still correct. * If you offer options other than one-time purchase, such as subscription or bulk, confirm that these are correct at each step. * If there is custom code for creating bundles within the site (i.e. if you add all the products that are part of the bundle and the discount is applied), confirm that functionality is working properly. * If you have a quick buy button (e.g., Buy with ShopPay) in cart or at checkout, confirm that the price is correct when you use this functionality. Please note that these buttons likely won't work for price tests if they are found on the PDP or collections pages. * Confirm that `ig_discount` or other `ig_items` are not showing in the cart or at checkout. * Confirm that any payment plan options (e.g. AfterPay or ShopPay) are calculating monthly payments correctly if available. * Compare shipping rates to the live site. This is most relevant if there are custom shipping rates set up. * Add to cart from all landing pages from different test groups and confirm the price at checkout is correct. * **We highly recommend placing a test order. This is particularly important in the below scenarios:** * If you are testing subscription products - once you have placed your test order, check the refill prices in your subscription app. * If you use Line Item Properties for any information that is pertinent after the order has been submitted, such as customization information. **If you are not on Shopify Plus, these Line Item Properties are not compatible with Functions, and they will be wiped from the order.** Check all of the above items in mobile as well. Here is a [guide](https://www.browserstack.com/guide/view-mobile-version-of-website-on-chrome) on how you can view mobile mode on your desktop on Chrome. Once you have confirmed all of the above items look correct, you can hit start on your test in the app! Please [reach out to Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you have any questions. [PreviousHow to Set Up a Price Test](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) [NextStarting a Price Test](https://docs.intelligems.io/price-testing/starting-a-price-test) Last updated 1 month ago Was this helpful? --- # Testing Prices with Recharge 2.0 or Stay.Ai | Intelligems Docs This article only applies if you use Stay.AI or Recharge (Unified Checkout aka 2.0), you are using Shopify Plus, and have access to the Script Editor app. If you are using Stay.AI, you must also only offer one delivery option (i.e. Every 30 Days). If any of these are not true, please see our following guides on using duplicate products, or reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . ### [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#step-1-authorize-the-integration) Step 1: Authorize the integration In the Intelligems App, navigate to "Integrations" on the bottom left. Recharge[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#recharge) In the Integrations page, click "Enable" next to the Recharge icon. If instead of "Enable" you see the word "Refresh", your integration is already enabled and no need to take further action! Then click "Install" when you see this screen. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FAmoM5uRzRHr5nvy91tBp%252Fimage.png%3Falt%3Dmedia%26token%3Dc477c193-24b4-4f23-80fc-41f754fe924f&width=768&dpr=4&quality=100&sign=91e6bd2a&sv=2) Stay.ai[](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#stay.ai) You need to create an API key from your Stay.AI dashboard. Log into Stay, under Settings > API keys, create a new key. * Name: **Intelligems** * Description: **Used for Intelligems <> Stay Integration** * Email: **Your email** * Scopes: **All** ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FbvHSG1jhVtvrhFSzBCCy%252Fimage.png%3Falt%3Dmedia%26token%3D658b4326-5baf-4bbf-992a-d0aec1ae4d6f&width=768&dpr=4&quality=100&sign=c9ee3faa&sv=2) Then Copy the API key into the Intelligems dashboard into the Stay.ai API key ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FXnIDukimdM14Idid03lp%252Fimage.png%3Falt%3Dmedia%26token%3Dde3a4f98-a4d2-4f02-853d-31dbdbb3bbf2&width=768&dpr=4&quality=100&sign=10a1044&sv=2) ### [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#step-2-set-up-test-in-the-intelligems-app) Step 2: Set up test in the Intelligems app See our detailed guide [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) on setting up your Price Test. Make sure to do this _**after**_ you have authorized the integration with your subscription provider. If you have not, you should delete your old test and create a new test from scratch. ### [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#step-3-qa-your-test) Step 3: QA your test Assuming you've already completed the [integration](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-checkout-scripts) that is required for Price Testing, the next step is to QA your test! Because tests that involve subscriptions have more moving pieces, we recommend spending some extra time on QA - follow [this checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) to make sure you don't miss anything! ### [](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/testing-prices-with-recharge-2.0-or-stay.ai#handling-custom-widgets-and-ui) Handling custom widgets and UI If you're not using a standard widget from your subscription provider on your PDP, our onboarding team would be happy to help integrate your own custom UI with Intelligems. It's relatively straightforward, we just need to identify the PDP elements identified in this example screenshot. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FDQLccDDOEk5nGYPGS9oQ%252Fimage.png%3Falt%3Dmedia%26token%3De4c5e86b-8d0e-4e47-b209-61957f447e6a&width=768&dpr=4&quality=100&sign=9270e909&sv=2) If you have questions, please reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) ! [PreviousTesting Prices with Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions) [NextHow to Set Up a Price Test using Duplicate Products and Recharge Subscriptions](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/how-to-set-up-a-price-test-using-duplicate-products-and-recharge-subscriptions) Last updated 3 months ago Was this helpful? --- # Multi-Currency Testing | Intelligems Docs [](https://docs.intelligems.io/price-testing/multi-currency-testing#introduction) Introduction --------------------------------------------------------------------------------------------------- Intelligems price tests run in your store's default currency by default. However, Intelligems supports price testing in any Shopify-supported currency. Each currency you want to test will require its own separate test configuration in the Intelligems app. [](https://docs.intelligems.io/price-testing/multi-currency-testing#prerequisites) **Prerequisites** --------------------------------------------------------------------------------------------------------- * You are **either:** * Using Shopify Plus and have the [Script Editor App](https://help.shopify.com/en/manual/checkout-settings/script-editor) installed * Using any Shopify plan and are able to use [Shopify Cart Transform Functions](https://shopify.dev/docs/api/functions/reference/cart-transform) . This typically requires being upgraded to Checkout Extensibility, and is not compatible with a few apps, such as subscription apps * You are on the [Intelligems Blue plan](https://www.intelligems.io/pricing?type=Annual&priceRange=0-2500) * An Intelligems team member has enabled the Multi-Currency Testing feature for you. Reach out to support [here](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you are not sure if this feature has been enabled for you yet * You must be familiar with and using [Shopify Markets](https://www.shopify.com/markets) or [Global-e](https://www.shopify.com/markets) for localization * You are ready to upload prices to your desired market when you [start](https://docs.intelligems.io/price-testing/multi-currency-testing#starting-a-test) , [pause](https://docs.intelligems.io/price-testing/multi-currency-testing#ending-or-pausing-a-test) or [end](https://docs.intelligems.io/price-testing/multi-currency-testing#ending-or-pausing-a-test) your price test * You have a fixed price set in the desired currency for each variant you plan to test [](https://docs.intelligems.io/price-testing/multi-currency-testing#step-1-set-up-test-in-the-intelligems-app) **Step 1:** Set up test in the Intelligems app ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Creating a multi-currency test is generally similar to any other Price Test, with a few key changes to note. If you are not familiar with setting up a Price Test, please see our article [here](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test) . #### [](https://docs.intelligems.io/price-testing/multi-currency-testing#select-a-currency-to-test-on-the-modifications-tab-in-the-price-test-wizard) **Select a currency to test on the** `**Modifications**` **tab in the Price Test wizard** This option will not be available until an Intelligems team member has enabled the multi-currency setting for you. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252Fjt1Lk7WLNFxNQyPqTGt8%252Fimage.png%3Falt%3Dmedia%26token%3Db1632abb-a39b-40c9-a982-2872911834a3&width=768&dpr=4&quality=100&sign=6369eaf7&sv=2) #### [](https://docs.intelligems.io/price-testing/multi-currency-testing#set-your-prices-in-the-selected-currency) **Set your prices in the selected currency.** Control prices are not automatically converted to your selected currency, so be sure to verify that each cell displays the desired test price in the currency you'll be testing in. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FzcBoLXwH2kTQnvndKztC%252Fimage.png%3Falt%3Dmedia%26token%3D070558e7-3080-425c-b330-5cbd60e6fc33&width=768&dpr=4&quality=100&sign=9fe512cf&sv=2) Quick filling test groups based on control prices is not available for multi-currency tests. While you'll see the Quick Fill option in the app, clicking on it will take you directly to the 'Fill by Upload' option. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FxL9HfOVXJPhH6gyFg7Pe%252F14%2520-%2520Multi-currency%2520no%2520quickfill.gif%3Falt%3Dmedia%26token%3D85f6047a-08cb-4341-a8cd-3eba352bb21b&width=300&dpr=4&quality=100&sign=5dc1ec89&sv=2) #### [](https://docs.intelligems.io/price-testing/multi-currency-testing#currency-targeting) **Currency Targeting** Currency targeting is set to your selected test currency by default, and will not be editable directly in the targeting section. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FZRSSIu9zMHKqGteu8vdc%252Fimage.png%3Falt%3Dmedia%26token%3D2e724cae-c16e-4783-88d7-8e0e5b910e6c&width=768&dpr=4&quality=100&sign=e8c0687a&sv=2) [](https://docs.intelligems.io/price-testing/multi-currency-testing#step-2-qa-your-test) **Step 2: QA your Test** ---------------------------------------------------------------------------------------------------------------------- This will be generally the same as QAing any other Price Test. You can see our checklist for QAing a Price Test [here](https://docs.intelligems.io/price-testing/price-test-qa-checklist) . Please also keep the below in mind that your store's selected currency must match the test's currency. [](https://docs.intelligems.io/price-testing/multi-currency-testing#step-3-starting-a-test) **Step 3: Starting a Test** ---------------------------------------------------------------------------------------------------------------------------- Your prices need to be set to the highest-priced test group in order for the test to run properly. Before the test is started, we prompt you to download a price CSV that you'll in turn upload either to [Shopify Markets](https://www.shopify.com/markets) or [Global-e](https://www.shopify.com/markets) . We ensure that the correct prices are included in the downloaded CSV. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252Fw45FtkCcf9zkxMJJofMQ%252Fimage.png%3Falt%3Dmedia%26token%3D9001497a-2eb2-4fb9-ae17-75f8816c5bfe&width=768&dpr=4&quality=100&sign=ebf59ec8&sv=2) You cannot have a product in more than one experiment _if_ the experiments are set to the same currency. If so, the test will not start. [](https://docs.intelligems.io/price-testing/multi-currency-testing#step-4-pausing-or-ending-a-test) **Step 4: Pausing or Ending a Test** ---------------------------------------------------------------------------------------------------------------------------------------------- When pausing or ending a test, you'll be prompted to download a CSV with the prices that you want to roll out either while the test is paused, or permanently. You'll need to upload the file with the new prices either to [Shopify Markets](https://www.shopify.com/markets) or [Global-e](https://www.shopify.com/markets) . ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FsgYp4ABM7Iz8SxqcsFmh%252Fimage.png%3Falt%3Dmedia%26token%3Deeb9e195-50a2-4fcf-af4a-06b1476815c5&width=768&dpr=4&quality=100&sign=b1788c70&sv=2) [PreviousManaging Duplicate Products when Redirecting to Duplicate PDPs](https://docs.intelligems.io/price-testing/testing-prices-with-subscriptions/managing-duplicate-products-when-redirecting-to-duplicate-pdps) [NextPrice Testing FAQs](https://docs.intelligems.io/price-testing/price-testing-faqs) Last updated 2 months ago Was this helpful? --- # Price Testing FAQs | Intelligems Docs Do I need to duplicate products to run a price test and does it happen automatically?[](https://docs.intelligems.io/price-testing/price-testing-faqs#do-i-need-to-duplicate-products-to-run-a-price-test-and-does-it-happen-automatically) No, and it doesn't happen automatically. The main method Intelligems uses for price tests is powered by Shopify Functions. Duplicating products may be necessary if: 1. Your store unable to use Shopify Functions. 2. You offer subscriptions through 'Old Recharge'. 3. You are testing significant PDP changes as part of your test. If you are on Shopify Plus, but need to use duplicate products for one of the above or another reason, please [reach out to Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) for assistance. What will duplicate products look like in Shopify and how can I find them?[](https://docs.intelligems.io/price-testing/price-testing-faqs#what-will-duplicate-products-look-like-in-shopify-and-how-can-i-find-them) The duplicate products will be nearly identical to the originals with a few key differences: 1. They will have different product and variant IDs. Note that duplicates will have the same SKUs as their originals. 2. They will be tagged with a ‘price\_test’ tag, as well as a tag with the experiment and group ID. 3. They will have added metafields from Intelligems to hide them from certain collections pages - this avoids showing multiple identical products on a collection page. 4. They will be set to ‘Draft’ status when created. Can I delete duplicate products once a price test is over?[](https://docs.intelligems.io/price-testing/price-testing-faqs#can-i-delete-duplicate-products-once-a-price-test-is-over) We typically recommend waiting a few days after a test is over before doing this. Customers will not be able to see them unless the duplicate products are still in their cart. Keeping the duplicates live for a few days will allow these edge-case customers to be able to check out, creating a better customer experience. When ending a test, you'll be asked if you would like to archive the products now or within 48 hours. Intelligems will automatically archive duplicates after 48 hours. Additionally, if you have subscriptions, you should make sure any subscriptions that occurred on the duplicate products get mapped to non-duplicate products. Other than that, there are no issues with deleting them, but archiving may be a safer option in case you need to make any changes later. You'll be able to find all duplicate products created by Intelligems by searching for the products with the tag 'price\_test' in Shopify. What additional steps do I need to take if I use another software to manage product prices?[](https://docs.intelligems.io/price-testing/price-testing-faqs#what-additional-steps-do-i-need-to-take-if-i-use-another-software-to-manage-product-prices) When you start a price test, the Intelligems Wizard will automatically update your product prices in Shopify to the highest price in the test for each product. If you use another software (like NetSuite) to manage/push prices to Shopify, you'll need to also update the product prices in NetSuite to the highest price for each product. 1. You can download a CSV with your product IDs, SKUs, and test group prices in the "Set Prices" step of test setup. Please note that this file will contain prices for each test group, though you'll want to import only the highest price for each product. You can edit this CSV for import into your price management software (like NetSuite) according to the required format.![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2Fhelp.intelligems.io%2Fhs-fs%2Fhubfs%2FScreen%2520Shot%25202023-04-04%2520at%25202.17.33%2520PM.png%3Fwidth%3D688%26height%3D348%26name%3DScreen%2520Shot%25202023-04-04%2520at%25202.17.33%2520PM.png&width=300&dpr=4&quality=100&sign=fc286b93&sv=2) 2. Start your price test in the Intelligems App. Please select **Yes, update my prices and start my test** in the pop-up. 3. Update prices to the highest test prices in your price management software right after starting the test (using the data from the downloaded CSV if preferred). As long as prices are updated before the software syncs to Shopify, then the test will work as expected. What should I do with my Google Shopping Feed during a price test?[](https://docs.intelligems.io/price-testing/price-testing-faqs#what-should-i-do-with-my-google-shopping-feed-during-a-price-test) This depends on whether you are running your price test using Checkout Scripts (typical for Shopify Plus) / Functions or Duplicate Products (typical for non-Shopify Plus). If you are using Checkout Scripts or Functions, Intelligems updates the price in Shopify to the highest price in the test and sends that price to your shopping feed. We recommend triggering a feed update once the test is live, especially if you push your updates to the feed manually or if you use an app to manage your Google Feed. This means that for visitors coming into your site through Google ads, they may see a lower price when they get to the site, but never higher prices. If you are using Duplicate Products, Google will continue to display the control price in the Google Shopping feed, which means users may see a different price when they get to the site. We recommend sending the higher prices to Google so that if users do see a different price when they land onsite, it's a lower price and therefore better for the customer experience. To do this, the original, non-duplicate products must have the highest price points in the test. This corresponds to the column on the left when you are setting up a test in Intelligems. Additionally, you'll want to make sure you remove duplicate products from all third-party channels so that the products don't show up on Google multiple time with different prices. You can read more on how to do that [here](https://docs.intelligems.io/price-testing/price-testing-integration-guides/integration-guide-using-duplicate-products/step-4-configure-duplicate-products) . I'm in Preview Mode to QA my Price Test but when I add a test product to cart the price is not right. Why?[](https://docs.intelligems.io/price-testing/price-testing-faqs#im-in-preview-mode-to-qa-my-price-test-but-when-i-add-a-test-product-to-cart-the-price-is-not-right) Shopify Plus members using checkout scripts for their integration may notice a discrepancy in the cart prices during preview mode that will go away once a test is live if they are testing prices that are higher than their control price! The control price and any price groups lower than the control should show up correctly in the cart if your checkout script is live, while the higher price group will continue to add to cart at the control price. This is because there is one integration step left, which will occur when the test is started. At that time, the Intelligems app will update the Shopify price to be the highest price in the test, and then for users who are in a lower price group, we will calculate a discount behind the scenes. If you are only testing prices lower than the control, then you should not see any discrepancies when testing in Preview Mode since the control price is the highest price in the test. Why is the discount showing on ShopPay checkout?[](https://docs.intelligems.io/price-testing/price-testing-faqs#why-is-the-discount-showing-on-shoppay-checkout) There is currently no way to hide a checkout script discount from appearing on Shop Pay checkout. That said, we can change the name of the discount to appear as you'd like - if you would like to change the name of your discount, please [reach out to Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) . Does Intelligems integrate with Global-E?[](https://docs.intelligems.io/price-testing/price-testing-faqs#does-intelligems-integrate-with-global-e) We do not directly integrate with Global-E, but do have steps to follow if you are on Shopify Plus and running a price test with higher prices. If neither of those apply, nothing needs to be done to work with Global-E. If those do apply, when you start your price test, we raise your prices in Shopify to the highest prices in the test. Because Global-E is converting prices in other markets based off of what is in Shopify, the price will be higher in all other markets while the test is running. To avoid this, you'll need Global-E to set a fixed price in the foreign currency for each product included in the test. You can do this by providing Global-E with a CSV file. They will also need to revert this at the end of the test so the prices can sync with the current exchange rate. If my store sells in multiple currencies, how does price testing impact each currency?[](https://docs.intelligems.io/price-testing/price-testing-faqs#if-my-store-sells-in-multiple-currencies-how-does-price-testing-impact-each-currency) By default, price tests will only run in your store's default currency. All customers shopping in currencies other than your store's default currency will be excluded from the test results. However, the price that those customers see varies depending on a few factors: 1. Whether you use Shopify Markets or Global-E for currency conversion. If you use Global-E, please see the FAQ above this for more information. If you use Shopify Markets, please continue reading this FAQ. 2. How you manage currency conversion in Shopify Markets. Shopify Markets has two options for how prices are set in non-default Markets: 1. By default, prices are automatically converted based off of the price in your default currency and the current conversion rate. If you use this method, and are testing higher prices than your control, all customers shopping in non-default currencies will see the highest prices in a live test in their currency. 2. If you would prefer to set prices at a set rate for non-default currencies, you can follow [these steps](https://help.shopify.com/en/manual/international/pricing/product-prices-by-country#set-product-price-for-a-country-or-region) to do so. 3. The above is typically only relevant to tests that are being run using Checkout Scripts or Functions. If you are using Duplicate Products to run your test, this typically isn't relevant unless you have altered the price of your control product. If you are interested in testing in multiple currencies, please see our article [here](https://docs.intelligems.io/price-testing/multi-currency-testing) for more information! Does Intelligems work with subscription softwares like Recharge?[](https://docs.intelligems.io/price-testing/price-testing-faqs#does-intelligems-work-with-subscription-softwares-like-recharge) Yes! Intelligems works with Recharge and other subscription management services to facilitate tests around subscription pricing. However, given these integration are often complex, we highly recommend having Intelligems perform this integration. Learn more [here](https://docs.intelligems.io/price-testing/testing-with-subscriptions) about integrating with subscription platforms. Can I price test just one variant of a product?[](https://docs.intelligems.io/price-testing/price-testing-faqs#can-i-price-test-just-one-variant-of-a-product) Products get added to a price test at the product level, which means all variants are technically included in a test, but if you are only looking to test one (or a few) variants of the product, you can set the price to be the same as the control price in all test groups for the variants that you do not want to test. Here's an example of what that would look like if we only wanted to test the "Cream / Small" variant of our Ceramic Dinner Plate product: ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FjplJFn0r0bRlgTmSlxAq%252FScreenshot%25202024-07-08%2520at%25203.35.14%2520PM.png%3Falt%3Dmedia%26token%3Df28f5c6d-b01e-4897-b3d6-95da93fe488a&width=300&dpr=4&quality=100&sign=670d5e61&sv=2) How many products can I add to a price test?[](https://docs.intelligems.io/price-testing/price-testing-faqs#how-many-products-can-i-add-to-a-price-test) We limit the test to 500 products by default, but you can [reach out to our support team](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) to ask for a limit increase. Can I Price Test Shopify Bundle products?[](https://docs.intelligems.io/price-testing/price-testing-faqs#can-i-price-test-shopify-bundle-products) Shopify Bundle products cannot be price tested due to a limitation with Cart Transform Functions. Both bundle products and our price testing feature rely on Shopify's Cart Transform functionality, but **Shopify only allows one cart transform function to run per line item**. #### [](https://docs.intelligems.io/price-testing/price-testing-faqs#what-are-cart-transform-functions) What are cart transform functions? Cart transform functions are Shopify's mechanism for modifying cart contents, pricing, and line items dynamically. They're essential for creating product bundles and implementing dynamic pricing features. #### [](https://docs.intelligems.io/price-testing/price-testing-faqs#why-does-this-create-a-conflict) Why does this create a conflict? * **Bundle products** use Cart Transform Functions to group items together and apply bundle pricing * **Our price testing** uses cart transform functions to display different prices to different customer segments * Since only one transform can run per line item, these two features cannot operate simultaneously #### [](https://docs.intelligems.io/price-testing/price-testing-faqs#are-there-any-workarounds) Are there any workarounds? Currently, there are no reliable workarounds due to this Shopify platform limitation. You'll need to choose between: * Using bundle products with standard pricing * Price testing individual (non-bundle) products #### [](https://docs.intelligems.io/price-testing/price-testing-faqs#will-this-limitation-be-resolved) Will this limitation be resolved? This depends on Shopify updating their platform to allow multiple Cart Transform Functions per line item. We'll continue monitoring Shopify's roadmap for any changes to this functionality. [PreviousMulti-Currency Testing](https://docs.intelligems.io/price-testing/multi-currency-testing) [NextShipping Testing - Getting Started](https://docs.intelligems.io/shipping-testing/shipping-testing-getting-started) Last updated 1 month ago Was this helpful? --- # How to Set Up a Price Test | Intelligems Docs [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-1-create-a-new-test) Step 1: Create a new test -------------------------------------------------------------------------------------------------------------------------------- Navigate to the "A/B Tests" tab in the menu on the left-hand side of the Intelligems app. Once you're there, click 'Create New Test' above the experiments table. Give your test a name, add a description (optional), select 'Pricing Test' and then 'Create Test.' ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F3hX2RgnTlxy03Y9j8GCh%252F03%2520-%2520Create%2520New%2520Test%2520HD.gif%3Falt%3Dmedia%26token%3D92166cd6-f7d8-4afe-8075-adec190e3854&width=768&dpr=4&quality=100&sign=45c2c451&sv=2) Your test's name and description are internal details; the more detail you include here the better! Tests can be live for several weeks, and your future self will thank you for including the details here. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-2-create-your-test-groups) Step 2: Create your test groups -------------------------------------------------------------------------------------------------------------------------------------------- You can add new groups to include in the test by clicking on the ‘+’ button. Name the groups for the experiment and use the slider to allocate what percentage of traffic will go to each group. Click ‘Next step’ when you are done. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FRzw3iUBog30vIGrHUAH3%252F04%2520-%2520Create%2520Test%2520Groups.gif%3Falt%3Dmedia%26token%3Df437254e-4562-4e21-9ad0-a26db61aa969&width=768&dpr=4&quality=100&sign=cd5c73dc&sv=2) The more groups you have, the longer it will take to get statistically significant results. You’ll need about 300 orders for each group in the test to detect a 10% change in conversion with 90% confidence. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-3-choose-your-products) Step 3: Choose your products -------------------------------------------------------------------------------------------------------------------------------------- In the 'Modifications' tab, click '+ Add/Remove Products' and select which products you want to include in the test by checking the boxes to the left of each product. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F1NprEDhocr39s5h65lGv%252F05%2520-%2520Select%2520Products.gif%3Falt%3Dmedia%26token%3D1b1ca256-2847-49bc-b914-cdc2ff5439f9&width=768&dpr=4&quality=100&sign=b7193ef1&sv=2) **A few tips and tricks:** * You can select all products if you'd like to test your whole store, or all products matching the filters you have set up, by using the select all box at the top left-hand side of the table. Once you click the select all box, you will also need to click 'Select all 20+ products in your store'. If you have subscription products, you may be missing the select all checkbox! Please reach out to [Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) for assistance with this. * Use the search bar at the top of the table if you are looking for a specific product * The filter drop downs to the left of the table are helpful when looking for specific vendors, tags, product types, or statuses. If you have 250+ Product Types, Vendors or Product Tags set up in Shopify, Shopify will not allow us to load them all. In this case, you can use the search bar in the Intelligems app to filter instead. For example, if you were looking for all products with the product tag 'Test', you would want to search for 'tag:Test'. For product type, you would use 'product\_type:Test' and for vendor, you would use 'vendor:Test'. Please reach out to [Intelligems support](https://portal.usepylon.com/intelligems/forms/intelligems-support-request) if you have any questions on this! Once you have selected all necessary products, click 'Add' in the top right corner. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-4-set-the-test-prices) Step 4: Set the test prices ------------------------------------------------------------------------------------------------------------------------------------ There are three different options for filling in your prices: Uploading a Spreadsheet[](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#uploading-a-spreadsheet) This is best suited for cases where you have already set up your prices in a CSV or Excel file. To upload a spreadsheet, first click on the 'Quick Fill' button, navigate to the 'Fill By Upload' tab, and then click 'Download Template'. Wait until we load the template, then click 'Template Ready - Click to Download' - your download will start automatically. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FrBIHVWP67ZZ2LqHaZTox%252F06%2520-%2520Download%2520Template.gif%3Falt%3Dmedia%26token%3D80be507d-f588-4535-a084-cb095e826fb2&width=300&dpr=4&quality=100&sign=d4857fe2&sv=2) Using Microsoft Excel, Google Sheets, Numbers, or another spreadsheet editing tool, manually input the prices for the test groups and save the file with a .csv, .xls or .xlsx extension. The following fields (columns) are **required** in the uploaded file. * product\_title * product\_id * variant\_title * variant\_id * handle * Price - \[Test Group Name\] (_for each test group_) * Compare Price - \[Test Group Name\] (_for each test group_) The rest of the fields in the template are provided for reference and are not required. Back in the Intelligems app, click the 'Upload Prices' button and select the saved .csv, .xls or .xlsx file. Once it has uploaded, save the test to see the price changes. Quick Fill[](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#quick-fill) This is best suited for cases where you want to test uniform changes to all products in the test, such as a 10% or $10 dollar increase and decrease across all test products. Autofill is based on the control group product prices that are pulled in from Shopify. To use this option, click 'Quick Fill', then configure the percentage or dollar amount change for each group and whether the change should be an increase or decrease relative to the control, as well as whether the amount should be rounded. Note that increase / decrease, the amount and % / $ selector are three separate fields. Click 'Apply All' when you are done. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F0RDgQkDlG8MMtHcdqz8l%252F07%2520-%2520Quick%2520Fill.gif%3Falt%3Dmedia%26token%3Ddd02fc45-69ce-4f74-8b65-a09feb76b407&width=768&dpr=4&quality=100&sign=c26be68f&sv=2) Manually Set Prices[](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#manually-set-prices) This is best suited for cases where you'd like to configure the prices for each product separately, such as a $10 increase to Product A and a $5 increase to Product B. Input the prices and 'compare at' prices (if desired) for each product and test group in the table. You can drag prices from one cell to the next if the prices are the same. You can expand all rows or collapse all rows by pressing 'Expand All' or 'Collapse All' at the top left of the table. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FJ7SqKvlfklqmyXatDXgl%252F08%2520-%2520Set%2520Prices%2520manually.gif%3Falt%3Dmedia%26token%3D542965aa-aac0-41f7-8880-c9e3c1ca0ed1&width=768&dpr=4&quality=100&sign=34eed5e6&sv=2) There are two relevant fields for each entry: * Price: The price of the product; this is the price the user will actually be charged when they purchase the product in the given test group, before any discounts. * Compare Price: Also known as the 'compare at price', this price will be shown as a strikethrough. This field is optional and there is no need to populate the 'Compare Price Field' if you do not wish to show a strikethrough. Your theme must be configured to show strikethroughs in order for Intelligems to display one. Click 'Next step' when you are done setting up your prices. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-5-set-up-targeting-if-needed) Step 5: Set up targeting if needed -------------------------------------------------------------------------------------------------------------------------------------------------- Targeting is an optional step. By default, a visitor will be immediately assigned to one of the test groups using its random split-test mechanism. This assignment is determined at the first visit and is stored via a first‐party cookie, ensuring that the visitor remains in the same group on subsequent visits during the price test period. The targeting tool allows you to apply specific conditions to certain site visitors. There are a few different ways you can do this: * You can set up currency and country targeting that allows you to limit your test to a single currency and/or a list of specific countries. This feature is defaulted to your store currency for price test. * You can use UTM parameters to customize your user experience under the Audience option. * You can filter traffic based on JavaScript Expressions under the Audience option. * You can filter traffic based on device type (i.e. mobile or desktop) under the Audience option. * You can filter traffic based off of whether a visitor is new or returning under the Audience option. * You can prevent users from being targeted by related experiments to reduce undesired interactions under the [Mutually Exclusive Tests](https://docs.intelligems.io/general-features/targeting/mutually-exclusive-experiments) option. You can learn more about targeting [here](https://docs.intelligems.io/general-features/targeting) ! Once you are done setting up targeting, or if you're skipping this step, click 'Next step'. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-6-save--preview-your-test) Step 6: Save + Preview your test --------------------------------------------------------------------------------------------------------------------------------------------- Once you have completed all the steps, you'll be able to save your test with the green 'Save' button in the top right. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252F57E4TmKfxL5cIzMCiNRr%252F09%2520-%2520Save%2520and%2520Preview.gif%3Falt%3Dmedia%26token%3D5033e213-7d07-4c3b-86ed-5f9c93bcbbbd&width=768&dpr=4&quality=100&sign=ad292118&sv=2) In the 'Preview' tab, you'll find a few options to load the test's preview: * Open Full Screen Preview: this will open your website with the Intelligems widget loaded, so you can easily alternate between test groups to preview each group's experience, as well as do some edits if necessary (see [step 8](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-8-edit-content-on-your-site-if-needed) for more details). * Open Mobile Preview: you'll see a QR code for each test group, so you can load the preview directly on your mobile device. We'll also give you an option to copy the mobile preview URL, if you want to paste it in your mobile device, or share it with someone on your team. * Copy Preview URL: this will copy the preview URL to your clipboard automatically. Don’t worry, this won’t set the test live yet and you can come back and edit if you need to make changes! [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-7-optional-set-up-your-goals) Step 7 (optional): Set up your Goals ---------------------------------------------------------------------------------------------------------------------------------------------------- In the 'Goals' tab, you'll find the option to select what your primary goal is, as well as whether analytics should by default consider only orders containing certain products, or orders containing any products in your shop. ![](https://docs.intelligems.io/~gitbook/image?url=https%3A%2F%2F2052204893-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F2SvefuMLsJyJPAcVXeWc%252Fuploads%252FfiUXNdv1Tqp3bxMhEhU7%252Fimage.png%3Falt%3Dmedia%26token%3D949795fa-51f5-4370-9769-0aa2bf5d5aec&width=768&dpr=4&quality=100&sign=4c86b13c&sv=2) Neither of these choices will affect what data is tracked or available to view, but will allow Intelligems to display analytics so that the most important information is surfaced first. You can change this later after the test has started by changing the option in your Analytics filters. [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#step-8-optional-edit-content-on-your-site-if-needed) Step 8 (optional): Edit content on your site if needed ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- This step is also optional. This tool allows you to dynamically update content on your site based on a visitor's test group. Check out [this article](https://docs.intelligems.io/general-features/onsite-editor) for more details on configuring this option. Please note this is not how you should update price components on your site for a Price Test - that should be completed by [tagging your prices](https://docs.intelligems.io/getting-started/pricing-integration-guides/integration-guide-using-shopify-functions/step-2-tag-product-prices) ! [](https://docs.intelligems.io/price-testing/how-to-set-up-a-price-test#what-happens-next) What happens next? ------------------------------------------------------------------------------------------------------------------ Now that you've created your pricing test, you can QA your test using [this checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) ! If you have not completed the integration yet, please see our integration guides [here](https://docs.intelligems.io/price-testing/price-testing-integration-guides) . [PreviousReplo Page Builder](https://docs.intelligems.io/price-testing/price-testing-integration-guides/replo-page-builder) [NextPrice Test QA Checklist](https://docs.intelligems.io/price-testing/price-test-qa-checklist) Last updated 1 month ago Was this helpful? ---