Developer forum

Forum » Rapido » Cart App Setting for A check for stock status

Cart App Setting for A check for stock status

Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Hi

In the Cart App setting,  I had checked  to show error message when cart quantity exceeded stock quantity.

I had changed the stock quantity to 2, from backend,  for a product and added it to cart.

In the cart page,   I increase the quantity to 3,  checked T&C and proceed to pay.

The system did not show any error message,  but page was refresh and the T&C checkbox become unchecked.

Pleaes advise was this a bug?

 

Thanks

Pang Lin

 


Replies

 
Konstantin Landyshev
Reply
This post has been marked as an answer

Hi
Great find!
We will fix it in Rapido template set as soon as posible. Template tags, which should show validation errors are missing. To fix it in your local solution you can use this code (Razor)

@foreach (LoopItem error in GetLoop("ValidationErrors"))
{
    @error.GetString("Ecom:Cart.ValidationError.ErrorMessage")
}

Best regards
Frontend developer
Konstantin Landyshev

Votes for this answer: 1
 
Tan Pang Lin Dynamicweb Employee
Tan Pang Lin
Reply

Noted with Thanks.    Konstantin.

Looking forward for the fix.

 

Regards

Pang Lin

 

You must be logged in to post in the forum