In Home pages I want to create a recommendation 'Trending products' . Recommendations should be only one product from each category w.r.t category priority list
Priority list:
Workbags
Totes
Shoulder bags
Handhelds
Organisers
Slings
Backpacks
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @shoeb131 you can follow below steps if that helps you :
create collection of using each and every category mentioned above
Use custom design using velocity JS something like below :
#foreach($e in $entities)
#if($e.category=="Workbags")
"slot-01": "$entity1.id",
#end
#if($e.category=="Totes")
"slot-02": "$entity2.id",
#end
#if($e.category=="Shoulder bags")
"slot-03": "$entity3.id",
#end
.
.
.
.
.
#end
Use this in recommendation activity
You can modify the design on the basis of your requirement. You can get more idea around this through this help article : https://experienceleague.adobe.com/docs/target/using/recommendations/recommendations-design/customiz...
Hope that helps you!
Hi @shoeb131 you can follow below steps if that helps you :
create collection of using each and every category mentioned above
Use custom design using velocity JS something like below :
#foreach($e in $entities)
#if($e.category=="Workbags")
"slot-01": "$entity1.id",
#end
#if($e.category=="Totes")
"slot-02": "$entity2.id",
#end
#if($e.category=="Shoulder bags")
"slot-03": "$entity3.id",
#end
.
.
.
.
.
#end
Use this in recommendation activity
You can modify the design on the basis of your requirement. You can get more idea around this through this help article : https://experienceleague.adobe.com/docs/target/using/recommendations/recommendations-design/customiz...
Hope that helps you!
I am using "Trending Products " as base criteria here some time I am getting products from 3 or 4 categories. i am not getting products across all the category each time. how do i make sure that i am getting at least one product from each category every time from algorithm.
Views
Replies
Total Likes