...

Manage multiple stores in Magento

This tutorial will show you how to manage multiple stores in Magento

Managing multiple stores in Magento Commerce (or Magento Open Source) is a powerful feature that allows you to run and manage multiple stores from a single admin panel. Magento’s multi-store architecture supports different storefronts with unique domains, designs, product catalogues, and pricing structures—all while sharing a common backend.

Here’s a detailed guide to managing multiple stores in Magento:


Step 1: Understand Magento’s Multi-Store Architecture

Magento operates using a hierarchical structure:

  1. Global: The highest level, encompassing all websites, stores, and store views.
  2. Website: A collection of stores. Each website can have separate settings, customers, and payment methods.
  3. Store: A website can have multiple stores. Each store has its own product catalogue.
  4. Store View: Each store can have multiple views, typically used for different languages or layouts.

Step 2: Set Up Multiple Stores in Magento

  1. Log in to the Admin Panel:
    • Access the Magento Admin Panel with administrative privileges.
  2. Create a New Website:
    • Navigate to Stores > Settings > All Stores.
    • Click Create Website.
    • Fill in the following details:
      • Name: The name of the website (e.g., “Store 2”).
      • Code: A unique identifier for the website.
      • Sort Order: The position of the website in the list (optional).
    • Click Save Website.
  3. Create a New Store:
    • Still under Stores > Settings > All Stores, click Create Store.
    • Fill in the details:
      • Website: Select the website the store will belong to.
      • Name: The name of the store (e.g., “Electronics Store”).
      • Root Category: Select the root category for the store.
    • Click Save Store.
  4. Create a Store View:
    • In Stores > Settings > All Stores, click Create Store View.
    • Configure the store view:
      • Store: Select the parent store.
      • Name: Enter the name of the store view (e.g., “English”).
      • Code: Provide a unique code for the view.
      • Status: Set to Enabled.
      • Sort Order: Define its position (optional).
    • Click Save Store View.

Step 3: Configure Store URLs

Each store and website can have its own domain or subdomain.

  1. Set Up the Base URL:
    • Navigate to Stores > Configuration > General > Web.
    • Select the desired website from the Store View dropdown.
    • Under Base URLs, update the following:
      • Base URL: Enter the store’s URL (e.g., https://store2.example.com/).
      • Secure Base URL: Enter the secure URL (if SSL is enabled).
  2. Update the .htaccess or Web Server Configuration:
    • For Apache:
      • Add virtual host entries in the server configuration to point to the appropriate Magento installation.
    • For Nginx:
      • Update the server block to map domains to the corresponding store codes.
  3. Configure index.php:
    • In Magento’s root directory, update the index.php file to specify the store code in the URL.

Step 4: Manage Products for Multiple Stores

Magento allows product catalogues to vary across stores:

  1. Go to Catalog > Products.
  2. Select a product and use the Store View dropdown to switch between stores.
  3. Modify product attributes like price, description, or visibility for specific stores.
  4. Save changes.

Step 5: Configure Store-Specific Settings

Magento enables customisation of settings for each store or store view.

  1. General Settings:
    • Navigate to Stores > Configuration.
    • Select the desired store view from the dropdown in the upper-left corner.
    • Adjust configurations like:
      • Currency.
      • Payment methods.
      • Shipping methods.
      • Tax settings.
  2. Theme Customisation:
    • Assign unique themes to stores by going to Content > Design > Configuration.
    • Select the store view and set the theme.
  3. Language and Translations:
    • Use store views to support different languages.
    • Install language packs or create custom translations for each store view.

Step 6: Monitor and Manage Customer Data

  1. Shared or Separate Customer Accounts:
    • Choose whether customer accounts are shared across websites by navigating to Stores > Configuration > Customers > Customer Configuration.
    • Under Account Sharing Options, set Share Customer Accounts to Global or Per Website.
  2. Orders and Analytics:
    • Each website can have separate order tracking, analytics, and reporting to keep store data organised.

Step 7: Test and Launch

  1. Test Store Functionality:
    • Verify that all stores load correctly with their respective URLs.
    • Test checkout, product visibility, and customer login for each store.
  2. Launch and Monitor:
    • Make the stores live and monitor their performance.
    • Use Magento’s reporting tools to track sales and customer activity per store.

Best Practices for Managing Multiple Stores in Magento

  1. Use Clear Naming Conventions:
    • Assign logical names and codes to websites, stores, and views for easy management.
  2. Centralised Product Management:
    • Avoid duplicate products by sharing the same product catalogue across stores where applicable.
  3. Regular Backups:
    • Ensure regular backups to prevent data loss during updates or customisation.
  4. SEO for Multiple Stores:
    • Optimise metadata and URLs for each store to avoid duplicate content issues.
  5. Monitor Performance:
    • Use caching solutions like Varnish or CDN services to maintain fast loading times across multiple stores.

By setting up and managing multiple stores effectively, you can cater to diverse customer needs, expand your business reach, and maintain centralised control, all within Magento Commerce’s powerful framework.

 

1) Go to System… and click Manage Stores.

Manage multiple stores in Magento

On this page, you can view all of the stores that have been set up

Manage multiple stores in Magento

2) To create a new website, click this button

3) Enter a name for the new website

Manage multiple stores in Magento

4) Enter a code for the website

4) Enter a code for the website

5) Click Save Website

5) Click Save Website

The website has been saved

The website has been saved

We will now need to create a name for the new store

6) Click Create Store

6) Click Create Store

7) Choose the website

7) Choose the website

8) Enter a name for the new store

8) Enter a name for the new store

9) Select the root category

9) Select the root category

10) Click Save Store

10) Click Save Store

The store has been saved

The store has been saved

Now, we will create a store view name

11) Click Create Store View

11) Click Create Store View

12) Select the store

12) Select the store

13) Enter a name

13) Enter a name

14) Enter the new store code

14) Enter the new store code

15) Select the status

15) Select the status

16) Click Save Store View

16) Click Save Store View

The store has been saved

The store has been saved

This is the end of the tutorial. You now know how to manage multiple stores in Magento Commerce

Do you have any questions? Ask us in the forums ?

Previous Post
Sales options in Magento Commerce
Next Post
Configure your website in CuteFTP