checking variant quantity before add to cart