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 follow steps:
- 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.
- Go to Shopify admin panel > Online store > Themes.
- Find the theme you want to edit, and then click Actions > Edit code.
- Choose a [file].liquid file where you want to insert the widget.
- Copy the code from the Recommendation Widget, which you created manually. See the instructions on how to use the Upsell & Cross-sell Widget.
- Paste the code to the chosen [file].liquid file in any place you want.
- Save the changes.
Recommendation Widget is added. Now you can check out how it looks in your storefront.
We’d appreciate it if you could take some time to leave a review.