Show product recommendations

You can recommend products through a section, using the following:

The premise of this approach is that your section content builds the general display by looping through each product returned through the products attribute of the recommendations object. However, this object isn’t populated when the section is initially rendered, so you need to use JavaScript to render the section with the Section Rendering API, in the context of the Product Recommendations API URL.

For example: