Following steps to create multi store shopping cart in magento. All the Magento Store Development can be managed and shared from a single backend Admin panel. We can also share all the customers between stores.
For this in each Store you need to create Web store in main Magento admin installation: To perform the action just login to Magento Admin panel as an Administrator. Follow the below steps.
Website: Select “test.com” from dropdown menu.
Now you need to setup Store View goto:
Store: select “test_com” from dropdown menu.
To setup Magento on different domains you need to update following two files:
Open “index.php” and modify line which begins with “$mageFilename” in Magento 1.4.1 it is on line no 45
$mageFilename = ‘magento_installation_path/app/Mage.php’;
And on line no 68:
$mageRunCode = isset ($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ”;
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ‘test_com’;
We can copy these files from the previous installation to new domain, We can also set this from Magento admin panel:
Click on Web and under Secure and Unsecured you need to modify:
Else modify the below.
+ Base Skin URL (example: http://test.com/skin/)
+ Base Media URL (example: http://test.com/media/)
You are done now. This is how we create magento multiple stores as Magento Module Development
We can create separate Magento Theme Design work by just copy and paste of the magento skin/frontend/default/yourtheme and paste it as your store name and then just go the system>> configuration >> Web >> Design and change the select your store name and paste the theme name whatever you have created in magento skin folder.