Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Using Multiple Stores and Single Checkout
 
Abhijit123
Jr. Member
 
Total Posts:  7
Joined:  2009-05-05
 

hi,

Just wanted to know if we can use two stores and a single checkout in magento.If it is possible please do post the solution here.

My requirement is as follows,

I have two websites main-site-1 and main-site-2.

main-site -2 uses another domain.

But both the stores share the same files of magento.

Now when a customer purchases any product from main-site-2, then i want him to be redirected to the main-site-1 cart/checkout page with the cart contents of the main-site -2 to be displayed on the cart/checkout page of main-site-1.

I was able to redirect him to the main-site-1 but the contents of the cart were not getting displayed.

can anyone help me with this..?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

Yes it is possible to manage two or more stores with a single checkout in magento.
You can check the demo with constraints at following links.
http://www.oscprofessionals.com/blog/magento-multistore-share-cart-module/
Check our demo:
http://www.oscprofessionals.com/magento-share-cart/

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
MiJaMu
Jr. Member
 
Total Posts:  11
Joined:  2010-05-10
 

I must disagree, satish.

I have only been able to successfully get a shared cart to work with multi stores by using sub-domains (store1.website.com and store2.website.com).  This is what gap.com has done if you click through to their different stores.

But I don’t think you can share it between separate domains (website1.com and website2.com).  It has to do with shared logins and cross-domain security, i think.

Anyway, with sub-domains you can at least use a common login and shopping cart between as many stores as you need (I currently have 6 stores each on their own sub-domains with a shared cart).  And you only have to buy 1 SSL Certificate because the root domain does not change when it’s time to checkout.  I have gotten it to work on our test server, but i’m still a bit nervous about URL-Rewrites wink .  I have been planning to post my results.

We need to have a central doc (knowledge base, perhaps?) source for multi-store setup because it comes up in the forum regularly.

I spent probably a solid week just working out all the settings.  Magento’s own screencast demos are outdated in spots, leave out certain essential settings, and don’t cover multi-domains with shared carts at all.

Even the OCS demo store links are mostly dead and no separate domains (looks like they use sub-directories for each store) so i wouldn’t trust that module just yet.

just sayin’
~ MiJa

 
Magento Community Magento Community
Magento Community
Magento Community
 
edmondscommerce
Guru
 
Avatar
Total Posts:  342
Joined:  2008-08-26
 

We have managed to do this for a client using separate domains and a single checkout domain with a single SSL certificate on this domain..

works nicely smile

in the end though we resorted to cookie stuffing to ensure that sessions were carried properly between the different domains.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Creative Web
Jr. Member
 
Total Posts:  4
Joined:  2009-02-07
Sofia/Bulgaria
 

Just few fast questions:
We want to use one installation and several stores under different sub domains.
We succeed with configuration, but stores doesn’t share one cart.

Question 1: Must sessions be defined in db instead of file system?
Question 2: Is SSL certificate mandatory for main domain - stores to share one cart?

Thanx in advance if somebody have answers grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
osforless
Jr. Member
 
Total Posts:  14
Joined:  2010-06-15
 

Edmonds - Can you post the link to the site where you were able to accomplish this?  Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ibgg_11
Jr. Member
 
Total Posts:  1
Joined:  2010-09-01
 
satish - 23 August 2010 06:07 AM

Yes it is possible to manage two or more stores with a single checkout in magento.
You can check the demo with constraints at following links.
http://www.oscprofessionals.com/blog/magento-multistore-share-cart-module/
Check our demo:
http://www.oscprofessionals.com/magento-share-cart/


Satish

satish I like your solution, but my question is how can i do it? Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
edmondscommerce
Guru
 
Avatar
Total Posts:  342
Joined:  2008-08-26
 
osforless - 18 September 2010 05:19 AM

Edmonds - Can you post the link to the site where you were able to accomplish this?  Thanks.

not in public I’m afraid, but get in touch if you are interested

 
Magento Community Magento Community
Magento Community
Magento Community
 
teamdane
Jr. Member
 
Total Posts:  19
Joined:  2010-11-19
 

Hey guys,

Did anyone actually get this working in a safe manor? 2 stores, 2 domains, 1 cart?

Any help would be great, I have the all the stores setup, I just can’t get them to share a cart.

Thanks,

- dane

 
Magento Community Magento Community
Magento Community
Magento Community
 
sandovn
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2010-01-27
UK
 

To make 2 websites to share a cart you have to create following structure:

In admin panel

System -> Configuration -> Web -> Enable Use SID on Frontend

System -> Manage Stores -> Create new website -> BaseSite

The BaseSite will be used for both domains, domain1.com and domain2.com.

Next create two Stores, e.g. StoreDomain1 & StoreDomain2 and add them both to the BaseSite.

Create Store views for each of the stores.

In System -> Configuration -> General set the domains accordingly:

Base: http;://domain1.com/ & Secure: https.domain1.com
Base: http;://domain2.com/ & Secure: https.domain1.com

You’ll need to update your .htaccess file like shown here: http://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup

Note: You should use just one Website and add all stores to it regardless of the domains because the cart CAN’T be share between different Websites (by this I mean Magento Websites not domains)

Hope that helps.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magestore
Mentor
 
Avatar
Total Posts:  1015
Joined:  2009-08-07
Viet Nam
 

You could refer our One Step Checkout extension on the link:
http://www.magentocommerce.com/magento-connect/one-step-checkout-4908.html
Or test it through the demo:
Front-end: http://demo-extension.magestore.com/sandbox/onestepcheckout/
Back-end: http://demo-extension.magestore.com/sandbox/onestepcheckout/index.php/admin

 
Magento Community Magento Community
Magento Community
Magento Community
 
JD Products
Jr. Member
 
Total Posts:  8
Joined:  2013-03-12
 
sandovn - 18 September 2012 03:13 PM

To make 2 websites to share a cart you have to create following structure:

In admin panel

System -> Configuration -> Web -> Enable Use SID on Frontend

System -> Manage Stores -> Create new website -> BaseSite

The BaseSite will be used for both domains, domain1.com and domain2.com.

Next create two Stores, e.g. StoreDomain1 & StoreDomain2 and add them both to the BaseSite.

Create Store views for each of the stores.

In System -> Configuration -> General set the domains accordingly:

Base: http;://domain1.com/ & Secure: https.domain1.com
Base: http;://domain2.com/ & Secure: https.domain1.com

You’ll need to update your .htaccess file like shown here: http://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup

Note: You should use just one Website and add all stores to it regardless of the domains because the cart CAN’T be share between different Websites (by this I mean Magento Websites not domains)

Hope that helps.

We have used this option to share. It works. But only when the customer is logged in. How can you see the items in the cart when you’re not logged in and switch to another website?

Check this website what we mean: www.redhound.nl

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top