edit cart shows and functions