Developer forum

Forum » Ecommerce - Standard features » Reserve stock in Checkout

Reserve stock in Checkout

Adrian Ursu
Reply

Hello,

I am using the "Reserve stock on checkout" option for ecommerce.

Now I get correctly the Available amount and that;s very nice.

However, I have noticed that in Cart, if the user tries ti change the quantity to a higher quantity than the available quantity, the system will ignore the update request and revert to the initial quantity in cart.

I mean, if I have 2 products in cart and I try to add 5 while the available amount is 3, the 5 unit request is ignored. If I try to change it to 3, the quantity is updated.

The behavior looks correct with the exception that we need to display a message to the user and not just ignore the request.

Is there any message that I am missing? Is there any way to trigger a message in such cases?

Thanks,
Adrian

 


Replies

 
Nicolai Høeg Pedersen
Reply

You can render the amount available in the cart and prevent the user from changing to more than is available.

 
Adrian Ursu
Reply

Hi Nicolai,

 I just realised that after posting the comment :)

We have done it like that.

Thanks a lot for the feedback.

Adrian

 

You must be logged in to post in the forum