Hi Team,
We have two recommendations activity A and B running on same page and both use same Popularity Based Algorithm > Top Sellers across the website
A activity uses the collection C1
B activity uses the collection which is subset of C2
Current State : Both activities are showing sometime the same products since collection is not mutually exclusive and criteria algo is same.
Is there we can customize the design?
entities.size() returns 99 entities. May be first entities.size() could be used in Activity A or next entities.size() could be used in activity B.
Any help on this would be great.
Thank you.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
As far as I'm aware each recommendations activity has no visibility of other activities on the same page.
For example - using getOffers() to fetch 2 recommendations activities on the same page (your A and B activities)
The only way I can think of to meet your requirement is to fetch the first activity (A) and then pass the entity id's returned as dynamic exclusions when fetching the second recommendations activity (B) using the "excludedIds=1,2,3,4,5" mbox parameter.
This way you will force Target to exclude any items from activity A to be excluded from activity B.
As far as I'm aware each recommendations activity has no visibility of other activities on the same page.
For example - using getOffers() to fetch 2 recommendations activities on the same page (your A and B activities)
The only way I can think of to meet your requirement is to fetch the first activity (A) and then pass the entity id's returned as dynamic exclusions when fetching the second recommendations activity (B) using the "excludedIds=1,2,3,4,5" mbox parameter.
This way you will force Target to exclude any items from activity A to be excluded from activity B.