Recommendations not showing up for Cart Based Criteria | Community
Skip to main content
April 16, 2022
Solved

Recommendations not showing up for Cart Based Criteria

  • April 16, 2022
  • 1 reply
  • 1159 views

Hi, Team

 

I am running a test/use-case using a web template and have run a couple of Target use-cases inclusive of Recommendations. However, when it comes to Cart Based Criteria I am unable to achieve it. I tried changing the Algorithm, trying several permutation combinations but it didn't work. While debugging this further using mboxTrace it highlighted the saying the cause is "Unable to locate recommendation keys" I have used the in-built options within filtering/recommendation key also tried to use the profile object/parameter passed in mbox call, however, the same errors persists.

 

Thanks in advance & any help is appreciated.

 

Best Regards,

Ravz

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ryan_pizzuto

With Cart-Based recommendations the recommendation keys are supplied through the mbox parameter cartIds in comma-separated values. You would not be using the entityId as the key like you would in a typical Recommendation activity. Ensure you are passing the cartIds as specified here. 

More info on Cart-Based Recommendations is located here

Also note that the available algorithms for Cart-Based are as follows:

  • People Who Viewed These, Viewed Those
  • People Who Viewed These, Bought Those
  • People Who Bought These, Bought Those

1 reply

ryan_pizzuto
Adobe Employee
ryan_pizzutoAdobe EmployeeAccepted solution
Adobe Employee
April 19, 2022

With Cart-Based recommendations the recommendation keys are supplied through the mbox parameter cartIds in comma-separated values. You would not be using the entityId as the key like you would in a typical Recommendation activity. Ensure you are passing the cartIds as specified here. 

More info on Cart-Based Recommendations is located here

Also note that the available algorithms for Cart-Based are as follows:

  • People Who Viewed These, Viewed Those
  • People Who Viewed These, Bought Those
  • People Who Bought These, Bought Those
July 18, 2024

I am running into the same issue. I initially tried using "cartIds" as my key. This gave me the same message as the Ravs. However, in another post, for cart based recommendations, I am supposed to use the current item as the key:

https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/cart-based-recommendations-for-multiple-cart-items/m-p/548048#M8170

 

Here is my current criteria:

 

I no longer see the "key not found" message, but I still don't have any recommendations displaying. What am I doing wrong?

 

Thanks,
Tom