Product recommendation in Accelerator

This section describes where the recommendation on a public site is shown and how to build an index of recommended products in Backoffice.

Public site

The "Product recommendation" is displayed on a product page in the "Popular Products" section.

popular products3.PNG


The PurchaseHistoryDocument index contains all the users, with all the products they have purchased.
The Accelerator uses PurchaseHistoryDocument to get the recommended products for a product.
The PurchaseHistoryDocument is located in Elasticsearch/Indices node in the page settings.

Click the "Rebuild index" action for the PurchaseHistoryDocument index to be rebuilt with all users and all products they have purchased.

Note: When the user did a new purchase and order has a completed status, then this purchase is automatically added to the PurchaseHistoryDocument index