Installing Highlight Box On Online Store 2.0 Themes (Via Integration Code)

The Smart App integrates easily with Online Store 2.0 themes. This guide shows how to add the Highlight Box integration code to the Dawn theme (and similar 2.0 themes).

Before You Begin

  • Create at least one Highlight in the Smart App dashboard.
  • Duplicate your theme before editing code.
  • For vintage (older) themes, see the Integration Guide instead.

Step-by-Step Instructions

Step 1: Open the Code Editor

  1. Go to your Shopify admin.
  2. Click Online Store > Themes > Actions.
  3. Click Edit code.

Screenshot

Step 2: Open main-product.liquid

  1. In the sidebar, under Sections, click main-product.liquid.

Screenshot

Step 3: Add the Integration Code

Add the following code where you'd like the Highlight Box to appear:

{% render 'smarth', hideAssets:'0', product: product, smarthGroup: '1', smarthOuterClass: 'smart-mt-4 smart-mb-4' %}

To display Highlights below the product price, search for {%- when 'price' -%} or {% render 'price'} and paste the code on the next line.

Screenshot

Step 4: Save

  1. Click Save in the top-right corner.

Expected Result

The Highlight Box appears on product pages at the location where you placed the integration code — typically below the product price.

Tips

Troubleshooting

Highlights do not appear after saving

  1. Confirm Highlights are saved and published in the Smart App dashboard.
  2. Verify the render code is in the active (published) theme.
  3. Check that product rules match the product you are viewing.

Frequently Asked Questions

Can I get free installation help?

Yes! Raise a support ticket or email us at [email protected] and our team will install Highlights for you.


Related Articles