Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Steps to Setup Magento Multi-Stores
Multi-store functionality is considered to be one of the greatest capabilitiesof Magento. So, in this presentation we are ...
Step 1: CategoriesFirst of all we need to create categories. As all three websites will besharing the same catalog, we wil...
Step 2: Store configuration1. Well, we have created our Categories, now it’s time to create websitesby going to System -> ...
2. Once the website is created, we will create the store corresponding tothis website by clicking on the “Create Store” bu...
3. Now, we create the store view which is the interface that the customerwill be able to access on the frontend. Click the...
4. After the Store is created, we need to configure the Unsecure Base URLand Secure Base URL under System -> Configuration...
with the corresponding domain name by un-checking the ”Use default [STOREVIEW]” checkbox and then click on save the config...
Step 3: Store Configuration in the Server1. Now we re-configure the Apache configuration file, httpd.conf, for alldomains ...
2. Edit the .htaccess file at /var/www/http/.htaccess and add the followinglines below:SetEnvIf Host www.domain1.com MAGE_...
3. Restart Apache ServerIf you are on a Red Hat based distribution, you’ll be able to type serviceapache restart. For othe...
Step 4: Here we are ready to Go!After we’ve completed all of these steps we should now see all 3 domainsin our backend:All...
Many web owners are taking advantage of Magento’s incredible multi-store functionality,whether it’s to set up stores with ...
Upcoming SlideShare
Loading in …5
×

Steps to Setup Magento Multi-Stores

9,876 views

Published on

Magento Multi Store Development | Magento Development India

Published in: Technology, Design
  • Good work. It's an easy tutorial to setup multiple store views in Magento. I would also suggest to enhance the existing functionality of Magento multi-store views by automatically the visitors to the pre-configured store based on their Geolocation. You can use this FME Magento GeoIP Store Switcher to create multiple store views and perform auto-store switching according to the pre-configured settings. http://www.fmeextensions.com/magento-geo-ip-default-store-view.html
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Steps to Setup Magento Multi-Stores

  1. 1. Steps to Setup Magento Multi-Stores
  2. 2. Multi-store functionality is considered to be one of the greatest capabilitiesof Magento. So, in this presentation we are going to discuss the oneadvanced functionality of Magento, Multi-store. How you can add andmanage multiple stores on your Magento website, we will show you in thispresentation cum tutorial.Magento Multi Stores functionality powers you to add numbers of storeswithin single Magento installation. This can be very useful if you are going tosell products on different domains sharing single admin panel. You can keeptrack of your sales and customers without having login to the admin of eachwebsites.For this example, we’ll be attempting to set up domain1.com, domain2.comand domain3.com.Usually, Magento is installed into the folder /var/www/http, according tothe Magento Installation Guide. We’ll be dividing process into the stepsbased on the areas of configuration we will need to deal with–namely,Categories, Store Configuration in Magento Admin, and Store Configurationin the Server.
  3. 3. Step 1: CategoriesFirst of all we need to create categories. As all three websites will besharing the same catalog, we will be using the default root category inCatalog -> Categories -> Manage Categories and this will be creatingcategories under the root category (i.e. electronics, clothing etc.).These categories (Clothing, Electronics) should be set as both “Is Active”from the General Information tab and “Is Anchor” from the DisplaySettings tab for them to appear on the frontend of your Magento shop.(NOTE: If the websites will not be sharing the same catalog, a RootCategory must be created for each website. Thus, if there are 3websites, there will be 3 Root Categories with subcategories under them.)
  4. 4. Step 2: Store configuration1. Well, we have created our Categories, now it’s time to create websitesby going to System -> Manage Stores and clicking the “Create Website”button.Name – domain name of our new websiteCode – a parameter that will be used in configuring the Apache web server to pointto that particular domain name
  5. 5. 2. Once the website is created, we will create the store corresponding tothis website by clicking on the “Create Store” button in System -> ManageStores.Website – website to which this store will be associatedName – the same as the website nameRoot Category – the root category that will be used for this store. (Refer to Step 1for Details)
  6. 6. 3. Now, we create the store view which is the interface that the customerwill be able to access on the frontend. Click the “Create Store View”button in System -> Manage Stores.Store – store to which this view will be associatedName – name of this store view (i.e. English Version, German Version, etc.)Code – code for this store viewStatus – if enabled, this store view will be accessible from our frontend, otherwise,it will not be accessible
  7. 7. 4. After the Store is created, we need to configure the Unsecure Base URLand Secure Base URL under System -> Configuration -> General ->Web. Before we set their respective base URLs first we need to confirmthat the configuration scope is set to the domain1.com website to definewhich site we are working on.Then, we modify the base URLs for both Unsecure:and Secure:
  8. 8. with the corresponding domain name by un-checking the ”Use default [STOREVIEW]” checkbox and then click on save the configuration button .5. Now just repeat Steps 2-4 for the other two websites, domain2.com anddomain3.com by replacing the fields with their respective information.
  9. 9. Step 3: Store Configuration in the Server1. Now we re-configure the Apache configuration file, httpd.conf, for alldomains to set the DocumentRoot to our Magento directory. In thiscase, the directory is /var/www/http<VirtualHost *:80>ServerAdmin webmaster@domain1.comDocumentRoot /var/www/httpServerName domain0.com</VirtualHost><VirtualHost *:80>ServerAdmin webmaster@domain2.comDocumentRoot /var/www/httpServerName domain1.com</VirtualHost><VirtualHost *:80>ServerAdmin webmaster@domain3.comDocumentRoot /var/www/httpServerName domai2.com</VirtualHost>
  10. 10. 2. Edit the .htaccess file at /var/www/http/.htaccess and add the followinglines below:SetEnvIf Host www.domain1.com MAGE_RUN_CODE=domain1_comSetEnvIf Host www.domain1.com MAGE_RUN_TYPE=websiteSetEnvIf Host ^domain1.com MAGE_RUN_CODE=domain1_comSetEnvIf Host ^domain1.com MAGE_RUN_TYPE=websiteSetEnvIf Host www.domain2.com MAGE_RUN_CODE=domain2_comSetEnvIf Host www.domain2.com MAGE_RUN_TYPE=websiteSetEnvIf Host ^domain2.com MAGE_RUN_CODE=domain2_comSetEnvIf Host ^domain2.com MAGE_RUN_TYPE=websiteSetEnvIf Host www.domain3.com MAGE_RUN_CODE=domain3_comSetEnvIf Host www.domain3.com MAGE_RUN_TYPE=websiteSetEnvIf Host ^domain3.com MAGE_RUN_CODE=domain3_comSetEnvIf Host ^domain3.com MAGE_RUN_TYPE=website
  11. 11. 3. Restart Apache ServerIf you are on a Red Hat based distribution, you’ll be able to type serviceapache restart. For other distributions, you’ll want to type apachectlrestart.(NOTE: The second option here is different than “apachectl graceful” whichwill run a graceful restart and reload configuration files, withoutterminating current connections. We don’t have any visitors to our siteyet, so it’s okay to do a “apachectl restart.)
  12. 12. Step 4: Here we are ready to Go!After we’ve completed all of these steps we should now see all 3 domainsin our backend:All that’s left now is to add products to the catalog and give each site acustom theme if you want.
  13. 13. Many web owners are taking advantage of Magento’s incredible multi-store functionality,whether it’s to set up stores with multiple languages, different catalogs and even the samecatalogs with different themes.Without any doubt, Magento is most powerful ecommerce web developmentplatforms. No other ecommerce development platform can beat Magento interms of functionality and serviceability. Magento as ecommerce is incredibleand most sought-after platform.Just with single Magento installation one should have control over multiplestores from single admin panel which is really considerable.Website with a huge amount of data, products and categories wouldobviously bother users to find their desired products. We need to thankMagento Ecommerce Development because it has solved this problem bycoming up with this exciting multiple store management functionality using asingle admin. With this amazing feature functionality, retailers can easily crafttheir business in more bespoke manner.When it comes to Magento Ecommerce Development, companies like KGN Technologies truly standapart in the crowd because of their incredible services and familiarity with the way to successfulMagento Ecommerce Development solutions. Technically skillful Magento Developers of KGNTechnologies are known for developing solutions abide to industrial standards in the form ofastonishing and dominating Magento store for you.

×