anjuMV Posted March 28 Share Posted March 28 if ('update' !== $mode && $this->shouldAvailabilityErrorBeRaised($product, $qty_to_check)) { $this->{$ErrorKey}[] = $this->trans( 'The product is no longer available in this quantity.', [], 'Shop.Notifications.Error' ); } found a validation like this in cart controller processChangeProductInCart() function. how is it possible to add the validation for quantity above available quantity in block cart modal popup and checkout page ? any suggestion will be appreciable. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now