Showing alert message on purchase click with non-positive purchase count input and prevented sending inappropriate request.