Docs
  • INTRO
    • Welcome to Shoplift
    • What to Test
    • Quickstart
      • Install Shoplift
      • Create a Test
      • Edit Your Variant
      • Launch Your Test
  • TEST
    • Template Testing
      • Overview
      • Guides
        • Guide: How to Use Shopify Magic to Generate New Theme Blocks for Testing
        • Guide: Testing Individual Pages
        • Guide: Testing One-Click Payment Methods
        • Guide: Testing App Blocks
        • Guide: Testing Different Template Types
      • Theme Compatibility
      • Template Management
      • Switching Themes
      • Shopify Markets
      • Shopify Translate & Adapt
    • Theme Testing
      • Overview
      • Guides
        • Guide: Testing a Navigation Menu
        • Guide: Testing a Mini Cart
      • Theme Management
      • Theme Development
      • Switching Themes
    • URL Testing
      • Overview
      • Guides
        • Guide: Testing URLs
        • Guide: Testing Product Properties
    • JavaScript API Testing
      • isHypothesisActive
      • setAnalyticsConsent
      • getVisitorData
    • Lift Assist™
      • What is Lift Assist™?
      • How To Use Lift Assist™
      • Brand Styles
    • Audience Targeting
      • Devices
      • New and Returning Visitors
      • Custom Audiences (UTMs, Referring Domains, and Geo-targeting)
    • Test Management
      • Test Compatibility
      • Mutual Exclusion
      • QA Checklist
      • Scheduling Tests
      • Pausing Tests
      • Implementing Winning Tests
    • Performance
      • Pagespeed
      • Shopify Caching
      • CDNs and Edge Delivery
  • ANALYZE
    • Reports
      • Overview
      • Metrics
        • Goals & Reporting Metrics
        • Metric Views
      • Test Progress
      • Statistical Significance
      • Channel Groups
    • Tracking
      • Visitor Attribution
      • Web Pixel
      • Liquid Snippet
      • Anti-Flicker
      • Analytics Discrepancies
  • integrate
    • Integrations and Tooling
      • GA4 (Beta)
        • Integrate GA4 (Shopify)
        • Integrate GA4 with Google Tag Manager
        • Integrate GA4 with Elevar
        • Analyze Test Data In Google Analytics
        • Disabling the GA4 Integration
      • Subscription Apps
      • Page Builder Apps
      • Reporting Tools
      • Heatmapping Tools
      • Custom Integrations
  • ADMIN
    • Plans and Billing
      • Subscription Plans
      • Uninstalling Shoplift
    • Users and Permissions
      • Managing Team Access
      • Managing User Notifications
    • Privacy and Compliance
      • Customer Data and GDPR
  • PARTNERS & DEVELOPERS
    • Shoplift Partner Program
    • Testing on Development Stores
  • SUPPORT
    • Frequently Asked Questions
    • Get Help
    • Give Feedback
Powered by GitBook

Contact Us

  • Get help
  • Give feedback
  • Request a feature

Helpful Links

  • Shoplift
  • Shopify App Store
On this page
  • What are Shopify templates?
  • Which templates can I test with Shoplift?
  • Are some templates incompatible with Shoplift?
  • How does template testing work?

Was this helpful?

  1. TEST
  2. Template Testing

Overview

Template testing unlocks the ability to optimize hundreds of pages with just one test. Read below to learn about Shopify templates and the capabilities of template testing.

PreviousTemplate TestingNextGuides

Last updated 5 months ago

Was this helpful?

What are Shopify templates?

Templates are files in your theme that give pages in your online store a consistent look and feel. Templates are constructed of sections, which are the distinct areas of a web page. Sections are constructed of blocks, which provide the content of each section, like headlines, images, and buttons. For more information on theme structure, see .

Often times, a single template will power several pages on your store. For example, you might have a single product template that is "assigned" to hundreds of products. Shopify uses this framework so that editing store pages that require the same look, feel, functionality, or layout is easy and manageable at scale.

In the Shopify Theme Editor, you can discover which templates are applied to which products, collections, and pages, and then edit them to customize the information displayed to your customers. Editing a template applies the changes to every product, collection, or page that uses that template. For example, if you add a newsletter signup form to a collection template, then all collection pages that use that collection template now display the newsletter signup form.

Which templates can I test with Shoplift?

Shoplift allows merchants to test any template in their theme assigned to any page in your store:

  • Homepage templates

  • Collection page templates

  • Product page templates

  • Page templates

  • Blog templates

  • Article templates

  • Cart page templates

  • Search page templates

Shoplift reads your live theme from Shopify, so only templates from your live theme will be available for testing. If you have multiple themes on your store, templates from other themes won't be available to test with Shoplift until you publish that theme.

Are some templates incompatible with Shoplift?

Liquid vs. JSON templates

Page builder templates

How does template testing work?

To ensure a consistent shopping experience during testing, a test running on a selected template will show to visitors on every product, collection, or page assigned to that template in Shopify.

Here's an example: you have 50 products, and you want to test adding a list of benefits to your product pages. Rather than create 50 tests, where you are making this change on each page individually, Shoplift allows you to select the template assigned to those products and add the list of benefits to the variant.

Any shoppers who are placed in the variant bucket will now see that benefits list on all product pages across your entire store, as opposed to seeing it on a page-by-page basis depending on if they are served the A or the B variant.

All Shopify templates can be tested with Shoplift, but depending on how your theme was built, or if you use to build your store pages, you may have more or less flexibility when making changes for testing in the Shopify Theme Editor.

Shoplift supports all Shopify themes, whether custom or from the Shopify Theme Store. However, there are a few important things to note. Templates are based on either a liquid or JSON architecture. This refers to the filetype of each template, as well as the code the template file uses. Templates constructed in liquid are based on the older template architecture, and are much more limited in their customization abilities. Templates constructed in JSON are the newest architecture provided by Shopify, and unlock significantly more editing capabilities in the Shopify Theme Editor, such as drag-and-drop sections. To determine if your template is compatible, see .

We fully support most page builder apps! However, there are a few things to know when setting up a test with . Templates created with page builder apps (i.e. Replo, Pagefly, etc.) may create liquid templates, JSON templates, or a mix, depending on the type of template you are building (like a homepage or product page template). Most often, pagebuilder templates cannot be easily edited in the Shopify Theme Editor, and you must make changes in the app that created the template.

If you'd like to test products, collections, or pages individually, you can isolate it to its own template by following .

page builder apps
theme compatibility
page builders
these steps
Shopify Theme Structure
Shopify Templates