Fixed view carts functionality to allow the view cart option to work on all pages.