Implementing Winning Tests

Once you've determined a winner for your test, you can easily apply the variant as the new default experience for all shoppers.

Applying your variant is available for theme and template tests only.

Implementing a winning test template

Once a test is ended, you will have the choice to apply your test variant as your new default experience for your homepage or for the assigned collections, products, or pages. To do this, click Apply variant in the top right corner of your test. Your store will now use your variant template as the default experience for all products, collections, or pages originally assigned to your control.

Apply Variant

How winning test templates are implemented

Depending on the type of template you've tested, the implementation method may vary. Most template tests can be automatically implemented with the Apply variant button.

Homepage (Index) templates

✓ Shoplift can automatically implement

Unlike other template types on your store, homepage templates are not "assigned" - your store will always use a suffix-less index template (i.e. index.liquid or index.json) as your default homepage template.

This means that in order to implement a suffixed homepage template as your new default experience, Shoplift must replace the JSON or liquid code from your original, suffix-less template (index.json) with the JSON or liquid code from your tested, suffixed template (i.e. index.sl-AE2FB8F1.json).

However, we don't delete the original code found in your older, suffix-less index template. Instead, we migrate it to a new template that contains the date of implementation as the suffix (i.e. index.05-04-2024.json).

If you would like to revert to your original homepage template at any time, simply replace the code in your index.json template with the code from your previous template, now named with the date of implementation as the suffix.

Collection, product, and page templates

✓ Shoplift can automatically implement

When a tested collection, product, or page template is implemented via a winning test, Shoplift simply reassigns whichever collections, products, or pages are currently assigned to your original (control) template to your variant (tested) template. Your original template is unchanged, and can be reassigned at any time.

Variant templates of a different template type

✕ Requires manual implementation

When you test templates of different types (i.e. a homepage template vs. a page builder template), Shoplift cannot automatically apply the variant template as the new default experience. To apply the variant template manually, you can either create a new template (i.e. create a new homepage template and apply the changes there) or assign the template to site pages through your page builder tool.

Implementing a winning test theme

Once a test is ended, you will have the choice to apply your test variant as your new theme. To do this, click Apply variant in the top right corner of your test. Your store will now use your variant theme as the default experience for your entire site.

Last updated

Was this helpful?