What is a template test?
A template test lets you assign different Shopify theme templates to different groups of visitors for the same product, collection, or page. This is the best test type for structural layout changes, reordering Shopify sections, or testing different third-party app block placements — all built natively within the Shopify Theme Editor.Template test use cases
- Test product page layouts: Compare a traditional two-column product layout against a modern long-form storytelling template.
- Test section order: See if moving customer reviews and trust badges higher on the page increases your add-to-cart rate.
- Test app block placements: Test whether placing an upsell app above the add-to-cart button performs better than placing it below the product description.
- Test distinct visual styles: Test a completely different color scheme, typography, or styling for a specific promotional collection page.
Set up a template test
Create your alternative templates in Shopify
product.variant-b) and design the layout and sections for your test.Create a new template test
Add basic information and configure traffic split
Configure your audience
Select your control and variant templates

Review and launch
Template test FAQs
Do I need to duplicate my entire theme?
Do I need to duplicate my entire theme?
product.test). You do not need to publish a completely separate theme.Why is my original template not showing up in the dropdown?
Why is my original template not showing up in the dropdown?
Can I test a template from an unpublished theme?
Can I test a template from an unpublished theme?
How do I test my homepage using a template test?
How do I test my homepage using a template test?
- In ABConvert, go to Create new test > Template test
- In the Create variants section:
- Set your current homepage template as the original
- Click Create a duplicate to generate a variant template
- Click Edit in Shopify next to the variant
- This opens the template inside Shopify’s Theme Editor
- Make your design changes, then click Save
How do I apply the winning homepage template?
How do I apply the winning homepage template?
How do I run a product template test on only certain products?
How do I run a product template test on only certain products?
- Create a new template test
- Go to Advanced settings
- Select the second radio button: Yes, only include the conditions below
- Add a condition:
- Choose Page URL
- Choose matches exactly
- Enter the product page relative path, for example
/products/my-cool-product
- Repeat for each additional product page you want to include

- In your Shopify theme editor, duplicate your current product template
- Name it something like product-template-a
- Assign this duplicated template to all the products you want included in the test (for example, all lamp products)
- In ABConvert, open your test setup and select:
- Original template: the duplicated product-template-a you just assigned
- Variant template: the new template you want to test
Will a template test affect my Google Ads or GA4 attribution?
Will a template test affect my Google Ads or GA4 attribution?
gclid and utm_ reach the destination page and your attribution stays correct. See Attribution and ad tracking for the details and sources.
