Able to view cart in search view.
Fixed bug in controller.