Adding Recommendation widgets to theme files manually

Important info

Our Upsell and Cross-Sell functionality is now limited: you can no longer create new recommendation blocks.

However, all the features are fully available in our app Searchanise Upsell & Marketing for Shopify.

If you need to add the Recommendation Widget to some specific part of the page, you may find it more convenient to insert the widget code right into the theme template. To do so, follow these steps:

  1. Choose a place in your online store where you want to insert the widget.
    Important info

    The Similar Products Widget works only for product pages.

  2. Go to Shopify admin panel > Online store > Themes.
  3. Find the theme you want to edit, and then click Actions > Edit code.
  4. Choose a [file].liquid file where you want to insert the widget.
  5. Copy the code from the Recommendation Widget that you created manually in the Searchanise Search & Filter control panel > Merchandising & Promo > Upsell & Cross-sell section. See the instructions for using the Upsell & Cross-sell Widget.
    Adding Recommendation widgets to theme files manually
  6. Paste the code into the chosen [file].liquid file in any place you want.
    Adding Recommendation widgets to theme files manually
  7. Save the changes.

That’s it. The Recommendation Widget is added. Now you can check out how it looks in your storefront.

Updated on November 26, 2025

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you

Let us improve this post!

Please tell us how we can improve this post

Related Articles