cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exclude Product from Recommendation

Former Member
690

Hi experts,

I created a recommendation model Top Seller in the Recommendation scenario Top Sellers in Web Home Page.

The requirement is to remove a certain product from the recommendation, so that it does not play on the website.

In the screenshot you can see the recommendation model, the algorithm and the preview. The product you see in the preview shall be exclude.

Thanks for helping!

Christiane

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197728
Active Participant

Hi Christiane,

I see two possible solutions here.

Hope this helps! Please mark your question as answered if my comment has helped.

Best regards,

Tim

Former Member
0 Likes

Hi Tim,

thank you for your quick reply!

So for understanding, it is not possible to exclude out of the box just one single product?

Best wishes

Christiane

former_member197728
Active Participant
0 Likes

Hi Christiane,

well, if you can identify that one single product (e.g. by a standard or custom field) it's possible out of the box via a pre-filter.

Here you can find more information about adding custom fields as pre-filters.

The pre-filter also supports the "exclude" operator.

https://help.sap.com/viewer/13d84c47bb6749a188fd53915c256516/1908.500/en-US/9a3ebe13094147ecb95612e0...

Best regards,

Tim

0 Likes

Hi Christiane,

In case you haven't found a solution yet you can try this approach as well.

The intention of the below method is to rank products but I think is the easiest way to manage this use case if the number of products is small.

Include a "Position Products" step as a last step in the model and include the "Position a product" algorithm.

In the parameters tabs set the following parameters:

Force Item: False (You only want to rank/remove the product only if it's being recommended by the previous steps).

Item: The product you want to exclude

Rank: 21 (a number higher than the number of products to recommend. i.e. 21 if model returns 20 products).

this will move the product if it was in the list of recommended products out of the list and the original product that was in the 21 spot will be moved in the 20th spot.

Just be careful if you plan to remove multiple products just keep adding an algorithm for each product and keep track of the ranking you enter for each product.

Remember that you can remove the steps that don't have any algorithms to keep the model clean.

Best regards,

Angelo