Hello! I can understand your Point because you want to keep the 2 Different Personal Profile , Its possible to make.
Thanks for your answer.
Can you help me clear this out?
Is there any hint on the path I have to follow in order to change the cart when another profile is chosen without deleting the other one, from the first profile my user has picked.
I'll try to clear things out and post some code too..
All calculations, abandoned carts etc linked to user_id.
Hmm, it will surely be a mess, a huge mess!
But how can I refresh the cart depending on what the customer is choosing?
For example, in their first login, if the user has 2 profiles, I ask him to choose one.
Let's say he/she chooses the 1st one.
He now has a beautiful clear cart ready to be filled with products.
The cart is being filled with "product A - 2 pieces" and "product B - 3 pieces".
He regrets about this order and wants to fill another one first for the other profile.. He picks the 2nd profile, and he has a clear cart. So, he fills the cart, and completes the order.
Then, he remembers the other order for the 1st profile and returns to it. I want the "product A - 2 pieces" and "product B - 3 pieces" choice to be in their cart!
How can I "reset", "clear" or "refresh" the cart with every profile choice?
Is there any function or something that I can use to save/link the cart with every profile?
But how can I refresh the cart depending on what the customer is choosing?
For example, in their first login, if the user has 2 profiles, I ask him to choose one.
Let's say he/she chooses the 1st one.
He now has a beautiful clear cart ready to be filled with products.
The cart is being filled with "product A - 2 pieces" and "product B - 3 pieces".
He regrets about this order and wants to fill another one first for the other profile.. He picks the 2nd profile, and he has a clear cart. So, he fills the cart, and completes the order.
Then, he remembers the other order for the 1st profile and returns to it. I want the "product A - 2 pieces" and "product B - 3 pieces" choice to be in their cart!
How can I "reset", "clear" or "refresh" the cart with every profile choice?
Is there any function or something that I can use to save/link the cart with every profile?
I think you do not need separate cart for different profiles.
The idea itself that a customer can have several different carts is really strange, and I'm afraid it will do more harm than good. People just won't expect this behaviour. In other words it is complex solution of easy problem.
Why don't you use Wishlist for the case you described. In case you need to hold on some products and buy others - you just send them to wishlist for a while. This should do the trick if you make a clear user interface.