Expand my Community achievements bar.

[FEEDBACK REQUESTED] Share your Target user feedback on Gartner Peer Insights by February 29th, 2024!
SOLVED

prioritizing product by category in adobe target recommendation

Avatar

Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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!

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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!

 

Avatar

Level 2

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.