add cart validation