Ending a Template Test

When your template test reaches statistical significance, it's time to review the results and decide what to do next. This guide covers how to end a test, apply a winning variant, and clean up unused templates.

End your test

When you're ready to stop your test, open the test in Shoplift and click End test. This stops traffic splitting immediately — all visitors will see your original template again until you apply a variant.

Pausing a test

If you need to temporarily stop a test to make quick fixes or edits, you can click Pause instead of ending it. Pausing reverts all traffic (including visitors who were seeing the variant) back to the original while the test is paused. Your test data stays intact so you can resume later.

circle-exclamation

Apply your winning variant

If your variant outperformed the original and you want to make it permanent, click Apply variant.

Applying a variant reassigns every page that's currently on your A (original) template to your B (variant) template. For example, if your original "Default product" template was assigned to 50 products, all 50 products will now use the winning variant template instead.

After applying, your variant becomes the new live template for those pages. Visitors will only see the winning version going forward.

circle-exclamation

What happens to your old template

Your original template isn't deleted when you apply a variant. It stays in your theme, available in case you need to revert or reference it later.

Over time, as you run more template tests, your theme may accumulate templates you no longer need. Keeping unused templates around won't affect store performance, but it can make your theme harder to navigate.

Delete unused templates

If you're sure you no longer need an old template, you can remove it through Shopify's Code Editor:

  1. In your Shopify admin, go to Online Store > Themes.

  2. Click Edit code on your live theme.

  3. In the left sidebar, expand the Templates folder.

  4. Find the template file you want to delete and click the trash icon.

triangle-exclamation
circle-check

Last updated

Was this helpful?