Top

Product Options 2.0 Snippet Files

When Product Options 2.0 is installed, additional "Snippet" files are automatically inserted into the main, published theme.

If you installed Product Options 2.0 from anywhere other than the Shopify app store, or your theme is changed/updated, these snippet files will need to be added to the new/updated theme.

To add the snippet files to your current theme, follow these steps:

  1. Duplicate themes, to create a backup copy.
  2. From "Shopify Admin", select Online Store.

    select online store 

  3. Select Actions.

    Select Actions 

  4. Select Edit code.

    Select Edit code 

  5. Under "Snippets", find these files:
    • bold-product.liquid
    • bold-common.liquid
    • bold-variant.liquid

    find these files 

  6. For any that don't exist:
    1. select Add a new snippet.

      add a new snippet 

    2. Enter the correct snippet name in the "Create a new snippet called" field.

      enter bold-product.liquid 

    3. Select Create snippet.

      select create snippet 

    4. Copy and paste the code found in each of these links into their respective files:
    5. Select Save.

      select save 

    6. Repeat steps 6a – d for each missing snippet file.
  7. Select bold-common.liquid.

    select boldcommon.liquid 

  8. Copy and paste this code at the bottom of the file.
    {{ 'bold-options.css' | asset_url | stylesheet_tag }}
    {{ 'https://option.boldapps.net/js/options.js' | script_tag }}

    copy and paste this code 

  9. Select Save.

    select save 

That's it!