cancel
Showing results for 
Search instead for 
Did you mean: 

product is available in cart,and now stock is zero in hybris database, How we will notify to customer that stock is not availbale when he will come to shopping bag

Former Member
0 Kudos

product is available in cart,and now stock is zero in hybris database. When user comes to shopping cart page, we want product should be displayed in cart with message that stat product is not available in cart.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Exactly !! this functionality is provided OOB.

former_member537989
Contributor
0 Kudos

CartValidationStrategy is doing that operation for you - then on the controller level you should have CartModificationData which contains required message displayed to a customer.