If you want to hide the Viral Loops widget from some pages of your Shopify store or show it exclusively in some others, you can add these snippets of code in the page to control the behaviour of the widget.

To show the widget: 

<script>window.SHOW_VL_WIDGET = true;<script>


To prevent the widget from appearing:

<script>window.SHOW_VL_WIDGET = false;<script>


This code overrides the relevant setting from the Shopify Dashboard:

Did this answer your question?