Store cart/shortlist in localStorage.