Wednesday, 1 February 2012

How To Setup & Manage Multiple Stores In Magento Commerce

magento-multiple-stores
Gone are the days when you have to setup separate E-commerce scripts to manage & run multiple online stores. Magento makes new store creation extremely easy for the store owners so that they can have as many stores as they like still maintaining one backend (admin panel). If you are new to Magento then this tutorial will require you to read the instructions very carefully. You can create multiple stores with other E-commerce software as well i.e. osCommerce, X-Cart, Zen Cart or Miva but to have multiple stores you need to add few plugins, addons and invest in hiring a full time programmer which is painful. A single Magento installation will be enough to run multiple stores having different domain names, different IP’s and different Security certificate. You can optionally setup single checkout for each store as well.

Choose Your Preferred URL Structure

Choosing a URL structure for your individual store is your own personal choice. You can install two different stores on same domain name under different directories ie. Mystore.com/women & Mystore.com/men. You can also use single Magento installation to host two or more stores each sharing same Magento backend but pointing to different domain names as well i.e. womenstores.com & mensstore.com. Similarly you can setup more than one Magento powered stores in sub-domains i.e. women.mystore.com & men.mystore.com
Once you are done selecting a URL structure just stick to it. Typically people prefer hosting more than one Magento powered stores with one backend but each store having its own domain name (better for SEO).

How To Add Another Magento Powered Store

In order to setup another Magento powered store you need to following the steps given below:
  1. Login to the Magento admin panel.
  2. Go to the Catalog tab, and select Manage Categories.
  3. Click on the Add Root Category button on the left.
  4. We will input mystore2.com as Name. Set the dropdown to Yes for both “Is Active” and “Is Anchor”. Click Save category button.
  5. Now, Go to the System tab and select Manage Stores.
  6. Click on the Create Website button.
  7. We will enter mystore2.com as Name and in Code field we will enter mystore2. As we are going to use this value later so keep it handy. Click Save Website button.
  8. Click on the Create Store button.
  9. For the Website, select mystore2.com from the dropdown. For theName, we’ll enter Main Store. For the Root Category, select the mystore2.com from the dropdown. Click Save Store button.
  10. Click on the Create Store View button.
  11. For the Store, select Main Store from the dropdown, making sure it’s for the mystore2.com website. For the Name, we’ll enter English. For the Code, we’ll enter mystore2_en. For the Status, select Enabled from the dropdown. Click Save Store view button.
  12. Now, Go to the System tab and select Configuration.
  13. For the Current Configuration Scope (located on the top left), change the dropdown menu from Default Config to mystore2.com.
  14. Select Web from the sidebar on the left under the General heading.
  15. For both the Unsecure and Secure sections, uncheck the Use default box next to the Base URL item, and enter the URL for your store, e.g. http://www.mystore2.com/. Don’t ignore the trailing slash. Click Save Config button. You are all set, your new store is created.


Now, as you have created another store using your Magento admin panel, you need to decide which method to use for Magento to locate your new store. There are four main methods to setup your domains which are entirely based upon your URL structure.
  1. Addon Domain Method (Each store have its own domain name)
  2. Parked Domain Method (New stores will be setup on Parked domain
  3. Sub-directory Method (New Store will be setup in different directory under primary domain)
  4. Sub-domain Method (Each new store will be setup in different sub domains)

How To Install Magento Extensions

There are various cool Magento extensions Live in Magento Connect repository. Magento Extensions are classified into two main categories:
  1. Magento Core (Extension Created by Magentocommerce team)
  2. Community Extensions (Free Magento Extensions Built by the Magento Community)
  3. Commercial Extensions (Paid Magento Extensions)
Depending upon your need, required support you can choose any Magento extension to install. Once you have made up your mind of which extension to install, just follow the steps given below where i am presenting step by step instructions for installing Magento extensions.

Installing Magento Commercial Extensions

Commercial Magento Extensions are not sold via Magento Connect. You can browse those extensions from Commercial Magento Extensions but in order to install any of the commercial extension you need to go to the merchant site and buy the extension. After your successful purchase they will send you the zip file containing installation instruction and source code. All these commercial extensions are written by different companies so their style of installation might differ from each other. Just, focus on the installation instruction and you will know what to do. Don’t forget to go to admin area > System > Cache Management, “Refresh” option in the “All cache” dropdown and click “Save cache settings” button. You can always ask for support if you find the extension installation too difficult for you. Most of these extension merchants provide either Free or Paid support.

Install Magento Extensions via Magento Connect Manager (Community Extensions)

If you are about to install a Free Magento community extension from Magento Connect then follow the steps given below (Advance users may skip few steps):
1. Select the community extension by browsing huge Magento extension archive. OR, If you know the direct URL of your favourite extension just open its Magento connect URL
2. Now, you will see a button right under the theme image called “Get Extension Key”. You need to click “Get Extension Key” and agree to extension license agreement.
magento-connect-themes
3. After you select agree checkbox and click “Get Extension Key” you will see the Magento extension key right there itself (displayed in the box). You need to paste this extension key in your store’s Magento connect tab. Keep it safe.
4. Copy this Magento extension key. E.g. It will look like “magento-community/Magik_Autocomplete”
5. In order to install this Magento community extension into your Magento store you need to login to your store admin panel and go to System->Magento Connect->Magento Connect Manager. Magento connect manager will ask you to login again. You need to use your store admin login credentials to get past the login screen. You need to paste the theme “extension key” copied from the Magentocommerce.com’s Magento connect here.
magento-connect-manager
6. Installation process will begin and after successful install it will show a message. You can optionally click on “Refresh” button to see whether the extension is installed or not.
7. If the extension requires any post installation configuration then you should read & follow the documentation provided with the extension.
8. Your Magento extension is installed and Ready.