fixed syntax error in cart qty checking