Top

Missing bold-btm-init.liquid

If you are missing the bold-btm-init.liquid snippet, follow these steps to fix it:

  1. From "Shopify Admin", select Online Store.

    select online store 

  2. Select Actions.

    Select Actions 

  3. Select Edit code.

    Select Edit code 

  4. Under "Snippets", select Add a new snippet.

    select add a new snippet 

  5. "Create a new snippet called" bold-btm-init.liquid.

    create a snippet called bold-btm-init.liquid 

  6. Select Create snippet.

    select create snippet 

  7. Copy and paste this code into the file:

    <script>
    var money_format = {{shop.money_format | json}};
    var btm_prod = {};
    var btm_title = {{ shop.metafields.bold_measurement.title | json }};
      
    $(document).ready(function() {
      var btm_init_script = document.createElement('script');
      btm_init_script.setAttribute('src', '//shappify-cdn.com/btm/btm-init.js?v2');
      btm_init_script.setAttribute('type', 'text/javascript');
      document.head.appendChild(btm_init_script);
    });
    </script>

    copy and paste this code 

  8. Select Save.

    select save 

That's it!