Bold Motivator Premium Install Instructions

Follow

Warning!

This article requires technical knowledge and prior experience with liquid code. If you are not comfortable with this, please contact our Merchant Success team for assistance.

Before you begin, review Notes Before Installing Apps. This article can help get you prepared and answers many common questions.

Select each step below to view the instructions.

  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 three files:
    • bold-product.liquid
    • bold-variant.liquid
    • bold-cart-item.liquid

    look for bold-product.liquid

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

      add a new snippet

    2. Enter the correct Snippet name.

      enter snippet name

    3. Select Create snippet.

      select create snippet

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

      copy and paste the code

    5. Select Save.

      select save

    6. Repeat steps 6a – d for each missing snippet file.
  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Layout", select theme.liquid.

    select theme.liquid

  5. Copy and paste this code directly above the </head> tag:
    {% if product.metafields.inventory.ShappifyHidden == "true" %} <meta name="robots" content="noindex"> {% endif %}

    add this code above the closing head tag

  6. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Templates", select collection.liquid.

    Note: If your template contains sections, you will need to select the collection-template.liquid section instead.

    select collection.liquid

  5. Find:

    {% for product in collection.products %}

    Note: This line may appear more than once in the file, you will need to add the line of code for each instance. Can't find this code?

    find this line

  6. Copy and paste this code directly below each instance:

    {% include 'bold-product' with product, hide_action: 'skip' %}

    copy and paste this code below

  7. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Templates", select index.liquid.

    select index.liquid

  5. Find:

    {% for product in collection.products %}

    Note: This line may appear more than once in the file, you will need to add the line of code for each instance. Can't find this code?

    find this code

  6. Copy and paste this code directly below each instance:

    {% include 'bold-product' with product, hide_action: 'skip' %}

    copy and paste this code above

  7. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Snippets", select related-product.liquid.

    select related-product.liquid

  5. Find:

    {% for product in collection.products %}

    Note: This line may appear more than once in the file, you will need to add the line of code for each instance. Can't find this code?

    find this code

  6. Copy and paste this code directly below each instance:

    {% include 'bold-product' with product, hide_action: 'skip' %}

    copy and paste this code below

  7. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Templates", select search.liquid.

    Note: You may find this code in a similarly titled file instead.

    select search.liquid

  5. Find:

    {% for item in search.results %}

    Note: This line may appear more than once in the file, you will need to add the line of code for each instance.

    find this code

  6. Copy and paste this code directly below each instance:

    {% include 'bold-product' with item, hide_action: 'skip' %}

    copy and paste this code below

  7. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Templates", select product.liquid.

    Note: If your template contains sections, you will need to select the product-template.liquid section instead.

    select product.liquid

  5. Paste this code at the top of the file:
    {% include 'bold-product' with product, hide_action: 'break' %}{% if bold_hidden_product %}{% break %}{%endif %}

    paste this code

  6. Select Save.

    select save

  1. From Shopify's admin, select Online Store.

    Online Store

  2. Select Actions.

    Actions

  3. Select Edit code.

    Edit code

  4. Under "Templates", select cart.liquid.

    Note: If your theme contains sections, you may have to look for this code under "Sections" in cart-template.liquid instead.

    select cart.liquid

  5. Find:

    {% for item in cart.items %}

    and add this code directly after:

    {% include 'bold-cart-item' with item %}

    Note: This may appear more than once in the file, repeat this step for each instance.

    add code

  6. Find a line that starts with <input,ends with /> and contains value="{{ item.quantity }}". Can't find this code?

    look for this code

  7. Copy and paste:

    {{ bold_qty_attr }}

    right before the />.

    It will look similar to this:

    <input value="{{ item.quantity }}" {{ bold_qty_attr }} />

    copy and paste this code

  8. Select Save.

    select save

That's it!

Next Steps:

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.