Skip to main content
All CollectionsTheme Test
How to end theme test safely?
How to end theme test safely?

In this article, we will guide you on how to use "clear cache" script in the theme editor.

Leo avatar
Written by Leo
Updated over a week ago

After you stop the theme test, some customers might still see the test theme in their browser due to the browser cache.

Browser cache is a storage space on your device that stores website data to speed up browsing. It helps load frequently visited sites faster but can sometimes show outdated content if not cleared regularly.

However, by Shopify design, it will become preview mode if customers are not visiting the active theme. Visitors will see the preview bar at the bottom of the page and they have to click “Close preview” to go to your live theme, which may affect the shopping experience.

To address this issue, we've integrated a convenient script in the theme editor. In this article, we will guide you on how to use this script.

Configuration Steps

  • Stop the theme test.

  • Navigate to the theme editor of the test theme: Sales channels > Online Store > Themes > Test theme > Customize.

  • Enable ABConvert clear cache script in the App embeds tab, and click the save button in the top-right corner.

Then it’s all set. Customers will only encounter the live theme and have a consistent browsing experience on your store.

If you have any questions about this topic, please feel free to contact our support team via [email protected].

Did this answer your question?