I am using wordpress posts with multiple custom meta to display may items. The items are searched for and added to a collection (or cart) This resembles a commerce solution which are widely used in wordpress I don't understand where they store the variables while the user continues to shop.
To expand further the user will search for items when they see the item they want they can click on it to open a detail view in a modal. Add some specific information (meta) to the item and then ADD to collection. They will then search again for more items and perform the same - all the time building their collection.
Once they are happy with the collection they have created they move to the publish page where I need to output the contents of the collection into a template of the users choice.
The main problems I am facing is being able to add the post ID's and modified meta to local storage / DOM / $_COOKIE etc, some advice on the best solution would be great.
I have searched high and low and I cannot find anything that does this without getting bogged down in useless ecommerce features.
Many thanks