add to cart via ajax with validation