Product Options Snippet Files

Follow

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

Note: If you installed 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, please follow these steps:

  1. Duplicate themes, to create a backup copy.
  2. From Shopify's admin, select Online Store.

    select online store

  3. Select Actions.

    Actions

  4. Select Edit code.

    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.

      Note: These snippet names should exactly match those in Step 5.

      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!

Next Steps:

Blog Posts:

1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.