KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: cubillas on December 02, 2010, 09:07:43 am

Title: sharing a cart across multiple stores
Post by: cubillas on December 02, 2010, 09:07:43 am
Hi all,

is it possible to share a cart across multiple stores?
If yes, how can I do?

thanks in advance

Amedeo
Title: Re: sharing a cart across multiple stores
Post by: trevor on December 02, 2010, 09:13:31 am
No, you can't share a cart across multiple stores since each store can have its own shipping and payment modules, stock etc. If you need to do this, maybe you really just need to have one store but to create virtual stores by showing only products from a top level category in each store.
Title: Re: sharing a cart across multiple stores
Post by: cubillas on December 02, 2010, 09:48:21 am
If I have only one store and multiple virtual host,
How can I show only the categories associated to virtual host?
Title: Re: sharing a cart across multiple stores
Post by: trevor on December 02, 2010, 09:51:59 am
You have to have some custom code that the detects which virtual host you are using and displays the correct category accordingly.
Title: Re: sharing a cart across multiple stores
Post by: cubillas on December 02, 2010, 10:04:00 am
Can suggest me which class, of KK enterprise,  I have to customize, to  do this?

Thanks
Title: Re: sharing a cart across multiple stores
Post by: trevor on December 02, 2010, 10:07:25 am
I think that it should be code that you place in the struts action classes.
Title: Re: sharing a cart across multiple stores
Post by: cubillas on December 02, 2010, 11:18:17 am
This answer did not help me, however thanks a lot
Title: Re: sharing a cart across multiple stores
Post by: trevor on December 02, 2010, 11:27:01 am
Within a struts action class you should be able to detect which virtual host the customer is accessing. Based on that information you can decide which products to show on the UI.

I may not understand what you want to do?