Monday, 24 October 2011

How to create multi store in magento



The only changes you have to do which is not given in this video is as follows
Open the index.php file that you have copied to new folder
find the below line:
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
Replace this line by
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'shoestore';
It will automatically take the MageRunCode of shoestore
Similaarly find the following line:
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : '';
Replace this line by
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Save the changes and refresh the index.php file in browser
You are done with Multistore in magento


For any magento customization contact :
Company : Parsys Media
Mumbai Office :
Mobile No : +91-8123481528(Ashish Khadpe)