Fixed the show cart function