I've been given a new assignment with functionality of which I'm not sure is possible out-of-the-box with Dynamicweb 9.
I've discussed this functionality with Morten Snedker and Jonas Karup Dam while I was in Denmark last week.
One of them told me it wasn't a problem, the other doubted if this could ever work (and if so expects a good chance on performance issues).
I hope someone can give me a conclusive answer and perhaps pointers on how to approach this (they pointed at Nicolai ).
Case:
We have a webshop.
We have customers which are dealers of products in our shop.
These dealers have customers of itself who do not exist in our shop.
The behavior we want to offer these dealers is an online equivalent of walking through a warehouse carrying multiple shoppingbaskets and being able to add shopping baskets on the fly.
So when you reach a product you can add this to one or more shopping baskets.
So, in the application you will have a shopping cart section in your screen with the option to add more shopping carts and give them a label to be able to recognice them.
This will becom a list of shopping carts in your screen (see image for functional display, ignore stock labels).
Products can be added to the available shopping carts.
Each shoppingcart can at any moment be checked out by itself, not effecting the others.
When getting back to the application the open shopping carts still remain until removed or checked out.
What I know:
I know of order contexts.
I'm aware you can configure ordercontexts via the CMS for example to enable a daily-, a weekly-, and a monthly shopping cart.
This doesn't seem usefull for my case.
I'm aware ordercontexts can be created in code. I've used them when we generated websites with corresponding shops, but then we had one ordercontext per website-shop combination for all users of that website.
This doesn't seem usefull for my case.
I'm not aware of multiple ordercontexts per user per website, which I'm looking for.
Maybe there is a distinction between ordercontexts and ordercontextcarts which I don't fully understand, but can't find good documentation or samples about either.
I hope someone knows how to approach this ...