Contents
When to use subdomains or domains in Magento?
Generally, subdomains are often used to create localized or area-specific versions of the store (e.g. es.mybestshop.com and en.mybestshop.com). Since most users will choose either the domain or subdomain method, this is the method I will describe in this tutorial.
Stores can share customer base, product catalog and settings based on how you choose to configure your sites. This tutorial will go through the steps of setting up multiple stores in Magento, and how to configure a domain for each store.
How to set store code in Magento 1.4?
The ability to set store code using environmental variables were introduced in Magento 1.4. If you are running an older version of Magento, or your webserver does not support Apache environmental variables, you must set the store code using a different method. Replace the domain , code and type according to your particular setup.
Which is the most important entity in Magento?
Before we start configuring our stores, lets pause for a minute and explain the concepts of Websites, Stores , and Store Views in Magento. Websites are the top-most entity in Magento. If you want completely separate sites that do not share cart, shipping methods, etc., you should create separate Websites.
How are stores managed by stores in Magento?
Managed by stores are storeviews—the selectable views that customers can choose to enable different languages, catalog prices, and/or different currencies. In your Magento backend, go to Stores > Settings > All Stores. On the Stores page, click Create Store View. Store: Select the store with which to associate this store view.
Can you have more than one instance of Magento?
With just one single instance of the Magento software, you can have multiple websites, stores, and storeviews operating on the same Magento backend.
How do I add a category to Magento?
Log into your Magento Admin Panel. Click on Catalog > Manage Categories. Click on Add Root Category. Enter a name for the new category and make sure Is Active is set to True. Click on the Display Settings tab and set Is Anchor to True.
How can I tell which store to load on Magento?
Now we just need to glue it together by telling Magento which store to load based on the domain name the user is on. On the server, open the .htaccess file, located in the root directory of your Magento installation, in your favorite text editor. You can also use the File Manager in your control panel.