I want to Empty the cart items once i click on delete button.

0
Actually the cart item is going to be empty once i click on delete button and it is deleted but the problem is it is going to be deleted from all loggedin user who has carted the same items in his/her cart area. Here is my domain model and microflows.
asked
2 answers
0

Hi Saurabh,

 

change the association Product_Cart from one-to-many to many-to-many. This should solve the issue.

answered
0

When the association is many to many, instead of setting the value to empty, you can delete a specific Product from the cart.

answered