on ‎2021 Mar 22 9:07 AM
Hi all,
I have enabled "CUANPROD-PROD_ID aka product id" from "CEI_CUAN_PRODUCT aka SAP Marketing Product" datasource to be used in recommendations to filter product id out.
I would like to exclude all the product variants (which are a LOT) by only specify their base product id.
This seems impossible since the filter "productid" is applied only with "equals" action and not "contains" action (other fields have this possibility) and since the variant id is different from base product id, the recommendation algoritm won't filter them out.
The only immediate solution I have found is to remap ids to base product in algo parameters, but the result is not what I want since I'm not interested to show in the carousel base products but product variants. And there is no way to map them back to their original variant ids.
There is a simple way to achieve this that I am missing?
Many thanks,
Laura
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Thank you very much, this solved mi issue.
Laura
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi abdullah.amerk ,
I understand what you are suggesting but I'm having some issues with the implementation.
I've added and enabled a new custom field to which attach the logic but I cannot find where I can stick the logic to it.
I supposed this has to be done in custom logic tab--> marketing recommendation --> Enhance Recommendation Runtime Parameters (it's the only one that seems fit) but here it seems the product_id parameter is not visible (or maybe I'm not good at BADl)
What am I missing here?
Many thanks,
Laura
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lafemmenikita85 ,
I am suggesting to create a custom hana view. You can find the necessary reference in the help and in this blog.
BADis will not work for your case. I think the "Enhance Recommendation Runtime" Parameters has a totally different use-case.
A custom field will work but for the custom field to work, you will need to reimport the product data and fill the custom field appropriately.
Thanks,
Hi lafemmenikita85,
A custom prefilter for the products should work. You can specify in the custom view for product prefilters which products needs to be kept and which need to be removed using something like:
PREFILTER_VALUE : CASE LEFT("PRODUCT_ID", 3) WHEN 'XYZ' then 'YES' ELSE 'NO' END
This when then actiavated can be used to Prefilter the product selection on the Recommendation Model Prefilters.
Please use the @ and my id. So that I get informed for your replies.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdullah,
If I have understood your question correctly:
In the productID prefilter there are both base and variants ids, so we can filter them there.
Are you suggesting to add a custom pre filter parameter in which save only the base id?
Which type will allow to have a "contains" rule?
Isn't There a way to simply change the productID type since everything is already there?
Many thanks,
Laura
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lafemmenikita85 ,
How are you filtering the base products now?
I would have tried to enricht the product data to contain such a field with which i can filter.
I think you probably already know about the data source prefilters
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.