Asset Publisher

Any Page

To add the recommendation widget to any page, we need to use editing theme code (Advanced) approach.

Note: If you are theme developer, skip this tutorial and use your local liquid development environment to insert the widget HTML snippet . Otherwise, please continue reading.

  1. Go to Shopify Admin Panel -> Online Store -> Themes
  2. Under "Current Theme" section, click on Actions -> Edit code to edit the liquid theme code.
  3. On the left side of the Theme Editor, select a page you want to add the widget on. For example, if you want to add the widget to the blog page, then open the corresponding blog.liquid template. Note: the files layout and content may vary based on different themes.
  4. In the liquid template file, add the widget HTML snippet at the desired place. See Shopify official documentation for how to edit the theme file.
  5. Click on "Save" to save your changes.
  6. Now go to the page of your website that you just edited. VoilĂ , the recommendation widget shows up on the page!