Implemented add to cart view controller.