In a default install, if a customer tries to buy something with an attribute set to "required" but they've not made a valid selection, an error message is displayed to explain exactly what went wrong.
Further, when attempting to add an item to the cart that exceeds the available quantity an error message stating such is also displayed.
Perhaps your template and/or your alterations to the code are preventing the normal built-in functionality from operating as intended.


Reply With Quote
