added quantity check to add-to-cart.php in the loop