Shopping Cart app

0
Hello, I am trying to build a Add to cart app for educational purpose, Why it is not showing the data of the product in the cart? Here is the Domain model this is the Add to cart microflow And this is the calculate total microflow
asked
4 answers
0

My advice would be to debug both microflows and see if the data is correct: eg, if the Cart Ids match. 

 

When is the second microflow being triggered?

 

I would also move the Cart retrieve on the first microflow before the IF and then use the result in the IF condition. Also, the commit at the end is not required since you are already commiting in the Change activity. This is not related to the issue, it's just some improvement tips.

 

Let me know if this helps.

answered
0

Because when you create the cart, you do not associate it to the Customer, but only to the Product:

image.png

Therefor when doing the retrieve Cart by Cart_Customer, you do not get a cart. So the solution is:

in the activity Create Cart, also associate it to the Customer

answered
0

Image attachedScreenshot (55).png

Here is an images of what I did

answered
0

Hi, have you figured out how to do it?

I'm struggling with this part too

 

answered