• Duplicate your live theme, Click on Actions > Duplicate. 

  • Rename you duplicate theme, Click Actions > Rename. 
  • Please install code into this theme
    • Open Apps > Simply Insurance
    • Click on Code Installation
    • Select on Auto Installation Tab
    • Choose our test theme
    • Click Install button to install required asset to test theme.
    • Please approve auto installation instruction.
    • As you receive auto installation successful message, Go to themes 
  • Edit code to Update test theme, Click Actions > Edit code

  • In the new page, click on the Snippets folder.

  • Open for simply-insurance.liquid


  • Please look for {% comment %} simplyInsurance.simplySelector = ".si-widget"; {% endcomment %}
  • Remove {% comments %} and {% endcomment %}
  • Look for Side Drawer Code in theme and add the following code 
    <div class="si-widget"></div>
  • Please call below function whenever product is added to cart and removed from cart. 
    simplyInsurance.loadApp()

(Stop auto refresh - Optional 

You can also stop refreshing page by following Steps

  • Open for simply-insurance.liquid
  • Please look for following code  
    simplyInsurance.cartReload = function(changeType){
        switch(changeType){
          case 0: {// insurance added
            location.reload();
            break;
          } 
          case 1: { // insurance removed
            location.reload();
            break;
          }
        }
      }
  • Comment location.reload() code in simplyInsurance.cartReload
  • You can add code which can refresh your SideCart.