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 HTML / CSS.

    select edit HTML/CSS 

  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:
    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', '//');
      btm_init_script.setAttribute('type', 'text/javascript');

    copy and paste this code 

  8. Select Save.

    select save 

That's it!

Have more questions? Submit a request