Finish cart functionality with localstorage features