Developer forum

Forum » Ecommerce - Standard features » Multiple shop types on same site...

Multiple shop types on same site...

Martin Skov Nielsen
Reply
Yes the subject is not good, but I don't know how else to explain it in short...

The issue is that our client wants to have 3 different kinds of shops on a single website with 3 different payment flows. So how to do it best?

Shop types:
  1. Normal shop - by books and posters (no problem)
  2. Ticket shop - ends up with a printable ticket
  3. Donation - I see this one as a normal shop and the donation probably being a service.
Can I do this on a single website or will the shopping carts be conflicting?

Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Martin

If I understand you correctly, then this should not be a problem. You need a separate cart for each shop but other than that I don't foresee an issue.

- Jeppe

 
Martin Skov Nielsen
Reply
Hey Jeppe

Thx - my concern is that the carts would share the same session?

Another issues has risen:
The issue is that the client is divided in three parties. They need to have each their payment gateway - or as I see it each their merchant id, if the payments are to end up with different accounts?

So I'm talking about:
- one shop
- three different account

How would I solve this best?
 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

It seems I misunderstood you. I did not realize that you needed the same customer to be able to put products from the different shops into a cart in the same session. This is not possible if you want the orders to end up in different shops. There is only one session for the cart order, so adding products across shops will result them being added to the same instance. You can of course create a Template Extender or a Notification Subscriber that ensures that only products from a given shop are added to the session within a certain context.

With regard to multiple accounts. If payments need to be captured into different accounts then you need a merchant id for each account -- at least as far as I'm aware but you need to verify that with the given gateway. You then need to create different payment methods for each merchant id. You'll also have to make sure that the correct payment method is chosen for each Shopping Cart. This can be done in the template or through custom code.

- Jeppe

 

You must be logged in to post in the forum