Thursday 11 October 2012

Magento: How to share customer while using multistore

Magento: How to share customer while using multistore

By default magento is built under website->store->storeview concept. so magento is highly flexible to share customer details among different store.
 The customer by logging in a store, can access any store with same session. To do so.

Step 1
1) create stores as much you need.
2) Login to admin->system->configuration
3) In the left side menu, under Customers select Customer Configuration.
4) under Account Sharing Options set Share Customer Accounts to Global
5) Save Configuration.

Step 2. 
We need to enable cookies
1) system->configuration.
2) In the left side menu, under General select Web.
3) under Session Cookie Management  set Cookie Path to /
4) Save Configuration.

step 3.
clear your browser cookies and try to login in frontend as customer, and the open other store created, you can see the customer is logged in to all store.  

No comments:

Post a Comment