Product Recommendation API is a feature of Pricefx Core, which allows a user to add to a Quote some products from list of recommended products. This list is:
available via special button Add Recommended Products found on Quote Items page
produced by a Model in Optimization module.
Note: This specific core API solves only the special Add button on Quote Item page. If you need to implement the list of recommended products on the quote item, you will do it in the quote item logic, for example, by reading data from the Model (via the same Evaluation logic), or from Product Extension, or so.
Architecture
Process
On the Quote Detail page, the user clicks on Add Recommended Products. This button is visible only when the Product Recommendation is switched on by the configuration.
The system calls the Model Evaluation method once for each category in the list. For each call of Evaluation:
The Evaluation will find the proper products for the given Category and return them back.
The Evaluation can also further filter the calculated product list by the Product Filter, which was created by the Quote Product Picker Filter Logic. This filter is provided to the Evaluation logic via
input.productFilter
.
The user interface will present the user a list of products from all categories to choose from.
...