Fixed the preloading of cart items from cookie during page refresh