Shouldn't you rather check number of products in cart?