Display IBM Product Recommendations on an Aurora store page
There are two methods for displaying recommendations that are generated by IBM Product Recommendations on a page of the Aurora starter store. The method that you choose depends on whether the page is managed in the Commerce Composer tool or not. To identify the Aurora store pages that are managed in the Commerce Composer tool by default, see the following diagrams:
- Site flow diagram for Aurora published as a B2C store
- Site flow diagram for Aurora published as a B2B store
The following table summarizes the correct method to use to display IBM Product Recommendations for each type of page. The right column provides a link to instructions.
Type of page Method to display the recommendations Link to instructions A page that is managed in the Commerce Composer tool We must add the IBM Product Recommendations widget to the layout assigned to the store page. Then, run a web activity in the widget that uses the Display IBM Product Recommendations action with the zone ID for the recommendations. Displaying IBM Product Recommendations on an Aurora store page that is managed in Commerce Composer A page that is not managed in the Commerce Composer tool In a specialized e-Marketing Spot in the page, we must run a web activity that uses the Display IBM Product Recommendations action with the zone ID for the recommendations.The following two pages already contain the specialized e-Marketing Spot:
- Shopping Cart (B2C) or Current Order (B2B) page: The name of the e-Marketing Spot is ShoppingCart_ProductRec.
- Order Confirmation page: The name of the e-Marketing Spot is OrderConf_ProductRec.
To display the recommendations in some other page that is not managed in the Commerce Composer tool, we must include the specialized e-Marketing Spot JSP file in the page JSP file.
Displaying IBM Product Recommendations on an Aurora store page that is not managed in Commerce Composer
- Displaying IBM Product Recommendations on an Aurora store page that is managed in Commerce Composer
When a store page is managed in the Commerce Composer tool, the page content is defined by widgets that are arranged in a layout. To display recommendations generated by IBM Product Recommendations, add a specialized widget, called the IBM Product Recommendations widget, to the layout for the page. Then, run a web activity in the widget that uses the Display IBM Product Recommendations action.- Displaying IBM Product Recommendations on an Aurora store page that is not managed in Commerce Composer
Store pages that are not managed in the Commerce Composer tool contain specialized e-Marketing Spots that can display dynamic recommendations from IBM Product Recommendations. To display these recommendations, we must run a web activity in the specialized e-Marketing Spot that uses the Display IBM Product Recommendations action.
Previous topic: Selecting the store function to enable IBM Product Recommendations e-Marketing Spots