auto save cart to local storage