Creating Multiple Stores On Magento
1) First create a root category for second store you wants to add.To add root category follow the below given procedure:-
a) Go to Catalog->Manage categories
b) Add Root category.
c) Provide the desired information and be sure IsActive and IsAnchor is
configured as yes.Now save category.
2)From here Go to system->Manage stores
3)First Create a new website you can name it as you like and also provide its corresponding code.
4)Now for that website you have to create a store.So Now click on create store.
5)Provide information as per your requirements.Set its website property to the newly created website and its root category will be the one which we had created in step 1.
6)Now create a store view for the above created store.Select the store for which you wants to create the view,set its name (eg 'english'), its code and you have to set its status to enabled.
7)After all these stuff you have to create a folder at magento_root for your second store.In that store copy index.php and .htacess from your main magento store.
8)Now you have to edit your second store's index.php file find
“$mageFilename = '../store1/app/Mage.php';”
and replace the path “../store1/app/Mage.php” as you have to locate app/Mage.php of your main magento store.And
at bottom repalce Mage::run() function with Mage::run('storename','website').
9)Now in magento admin panel go to System->Configuration.
10)On the left top side change the scope to your new added store.
11)Now change its web configuration.In unsecure and secure property tab uncheck use website values.
12)Now provide the base url of your second store.
13)Now provide the link url of your second store.If you want to use the same cart for all the stores use link url of your main store else you can also assign it differently.
14)Provide links for skins images,etc as they as refered to images skins of main store.
15)Now save your Configuration.
No comments:
Post a Comment