Developer forum

Forum » Ecommerce - Standard features » Separate orders by shop depending on user group

Separate orders by shop depending on user group

Adrian Ursu
Adrian Ursu
Reply

Hi guys,

I have a project that is currently implemented as a combined B2B2C shop where B2B users are the ones coming from NAV and the B2C users are the ones registering on the website. 

The integration flow is now the same for both B2B and B2C orders.

The customer wants to separate the integration flow and send B2C orders towards a separate NAV company while keeping the same website. The best solution I could find to support this with minimum customization to the integration is to add an additional shop that would hold the B2C order.

On the integration part, this approach is supported. I am now thinking about ways to separate the orders between 2 different shops on the same website.
What would be the most healthy approach for accomplishing what I have just described? Is it enough to have a different shop stored on B2C users? Do I need to use Order Contexts? Can I change the SHOP context when the user logs in?

I am using DW 9.9.2.

I appreciate any suggestions.

Thank you,
Adrian


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

On the cart setup on the paragraph, you can specify the shop to check out to. So you can create 2 cart pages and use permissions to show the right one.

Or you can handle it using notifications when the order has completed and change the shop of the order.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for confirming it. Both options sound very promising.

Thank you,

Adrian

 

You must be logged in to post in the forum