Magento is a quick and easy ecommerce software. It is open source and thus is free to download and customize to suit the individual requirements of any company. There are many e-commerce softwares available and there are even more options in recent times. Almost all of them offer a great many features but those are usually additional features. As for Magento, it offers a great many feature and they are all in-built. Besides this Magento also offers a great number of additional features too. Once such built-in feature of Magento is the Multi-Store feature.
The Multi-Store Magento can be set-up in this way. It is possible to share the same set of categories in two stores or have a different set for each. While nothing is required to be done with the categories if the same set is being used, if a different set us used then a new root category needs to be created. There are several other option that need to be tweaked as well. You need to set ‘Active’ to ‘Yes’ under the general information section and ‘Is Anchor’ to ‘Yes’ under the ‘Display Settings’ tab. Then visit the admin menu option System –> Manage Stores and click on create a website button. Here you can create a new website by entering the options, once created it will be listed. Staying on the same page now hit the ‘Create Store’ button and create a new store by following the options provided. Lastly still on the same page hit the ‘Create a Store View’ button and follow the options to create a new store view. There are further configuration requirements at FTP level as mentioned below:
1. Download the index.php file and the htaccess file from the magento folder and copy it to the new magento2 folder. In case you are using a different domain for the new store you can copy these files to the root folder of that other domain or map this folder as the default hosting account for the other domain.
2. You then need to edit the index.php file and make the change in the following like: $image Filename = ‘app.Mage.php'; to $imageFilename = ‘..app.Mage.php';
3. The second file to edit is htaccess file where you need to add the following:
SetEnvif Host.*base.*MAGE_RUN_CODE = “base”;
SetEnvif Host.*magento_site_2.*MAGE_RUN_TYPE=”magento 2”;
It is back to the admin panel once again after this. Go To the admin menu System –> Configuration –> General and make sure the ‘Default Config’ is selected. Click on ‘Web’ in the side menu options and set the option Auto Redirect to base URI to ‘No’ under the ‘url options’ sections. Now change the ‘Default Config’ to that of the new website we just created. Go back to the option ‘Web’ and click on the two tabs ‘Secure’ and ‘Unsecure’. Here both the ‘Secure Base URL’ and ‘Unsecure Base_url’ need to be changed to the corresponding new domain and ‘Use default[Store View]’ check box ned to be unchecked.
That’s it you are now set to use the multiple magento stores. It can be quite a task to set up multiple stores and at times it is best to leave it to the professionals. Alakmalak has been providing Magento development services since some time now and have a great deal of expertise on the topic.
If you like this blog Please Plus it, Like It ,Tweet It and best yet link to It.