Building a shopping cart type app. I need to temporarily store some information so people can order multiple items (i.e. store the product id, product name, quantity etc). So users will search for a product, add to cart, search for a product, add it to a cart and on and on until this click place order. When they click place order that is when I want everything to be stored in my remote database.
What is the best way to temporarily store this data local storage or a service? How would I create a service to store multiple items per one order?