πŸ“ƒTesting Individual Pages

By default, Shoplift will include any assigned product, page, or collection in an associated template test.

If you want to test and individual product or collection, you can duplicate your existing template and assign that specific item to the new template, as detailed below.

OS2 Themes (JSON Templates)

From the Shopify theme editor, select list of templates (top dropdown) and click Create template.

Name the new template and select an existing template on which to base the design.

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

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

OS1 Themes (Liquid Templates)

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

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

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

Then scroll to the top of the Templates directory, where you will see an option to Add a new template. Click this, and a popup will appear to create a new template.

Select product from the dropdown, select liquid, and give your template a name, like product.new.liquid. Then click Done.

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

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

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

Last updated

Was this helpful?