I’m having an issue with stock validation on my site.
The problem is that in the cart (both in the sidebar and the main cart page), I can manually type any quantity in the quantity input field, even if the product has a stock limit (e.g., stock of 10). The system does not validate the limit and allows any quantity to be entered, calculating the total without restrictions.
Could you help me fix this? Is there a way to handle this through the theme settings, or would it require custom code?