I am working on an e-commerce website that will sell cloths but also provide a way to book a service, like manicure. I am trying to create a single shopping cart, to which users will add both. The user should have a single shopping cart and a single total to pay for in the end. The problem is how should I store these in the database?
Cloths will have size and colour as params, while the services will have the date and time, when the user wants to get the service. Storing all these parameters in a single table order_items
doesn't look too wise, while storing params as a serialized string doesn't feel any better.
What is the most common way of storing this data together?