fixing shopping cart
created validations