How to Setup Multiple Stores in Magento 2
With a big catalog of 234+ extensions for your online store
Setting up Multiple Stores Magento 2 is one of the variable functionalities Magento 2 brings to store owners. This feature allows you to create stores as many as you need only in the single configuration. All stores share the same domain, be set up as subdomains of the same domain, or have entirely different domain, yet possibly share the same backend for easier adminstration.
Learn more: Setup automatic change store view used Magento 2 Store Switcher
Benefits of creating multiple stores in Magento 2?
With different goals in mind such as expanding your business or operating your business in different locations, you may want to create multiple stores. But multiple stores can bring you more amazing outcomes than that, such as:
- Save money by using the same payment gateways
- Get uniform support for all of your built stores from third-party extensions
- Maintain a standard customer database that may be used across all stores.
- Share the same content of Terms & conditions, privacy policy, and other materials for the pages.
Therefore, you can follow the instruction below to apply these awesome benefits into your store. Addtionally, you can add multiple websites for each store you want to configure.
4 Steps to Setup Multiple Stores in Magento 2
- Step 1: Select the Store Domain
- Step 2: Add the New Store
- Step 3: Add a Default Store View
- Step 4: Setup the Store URL
Step 1: Select the Store Domain
The very first step is to determine how you want to place the store. Will the stores share the same domain, have their own subdomain, or have distinctly different domains? For each store, select one of the following options:
- To place the store one level below the primary domain, you don’t have to do anything.
- Set up a subdomain of your primary domain.
- Set up a different primary domain.
Step 2: Add the New Store
In this step, you will fill required information of the new store in the ‘Store Information’ section.
- On the Admin Panel,
Stores > Settings > All Stores
. - Click on
Create Store
, then follow the below- Select the
Website
that is the parent of the new store. If there is only one website, use the default “Main Website”. - Fill the
Name
for the new store, just for the internal reference. - In the
Root Category
field, you will set the root category for the main menu of the new store. The created root categories are shown in the dropdown list, select one for the store.
- Select the
Save Store
to complete.
Step 3: Add a Default Store View
After adding the new store, now you will create the store view:
- Click on
Create Store View
, you can:- Assign the
Store
to the new store you’ve just created. - Set the
Name
for the store view. - Type the
Code
for the store view with lower characters. - Choose “Enabled” for the
Status
. - Specify the
Sort Order
that is the position of the new store in the list.
- Assign the
Save Store View
to save all settings.
Step 4: Setup the Store URL
In this step, we will configure the Store URL.
- On the Admin Panel, go
Stores > Settings > Configuration
. - On the left panel, under
General
, selectWeb
. - In the upper-left corner, choose the
Store View
to check the new store you added. - Hit
OK
to verify the scope switching.
- Open the
Base URLs
section,- Clear the Use Website checkbox, that is next to the
Base URL
field. - Change the
Base URL
for the store.
- Clear the Use Website checkbox, that is next to the
- Open the
Secure Base URLs
section below to set the store’s secure URL if needed. Save Config
to complete.
The bottom line
The need to set up multiple stores in Magento 2 has been increasing due to different business goals, and also because of the amazing benefits it can bring to online stores. If you also want to do it, start following this tutorial. Leave comments below to share your ideas and tell us about your concerns if any. See you in later posts!
Related Post
Looking for
Customization & Development Services?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.
Get free consultantRecent Tutorials
Change Store Email Addresses
Fix Magento 2 'Invalid Form Key. Please refresh the page'
Magento 2 Search Settings: Default Magento vs Mageplaza AJAX Search
Explore Our Products:
People also searched for
- magento 2 multistore
- magento 2 create store
- set default store view magento 2
- magento 2 multistore setup
- create multi store in magento 2
- magento 2 create new store
- magento 2 multi store setup
- magento 2 change default store view
- multi store in magento 2
- multistore magento 2
- create store view in magento 2
- magento 2 create store view
- in magento 2
- multiple store creation is not possible.
- magento 2 multi store subdomain
- magento multi store setup
- magento multi store
- magento 2 set default store
- magento 2 multiple stores
- magento 2 setup multiple stores
- magento 2 multiple stores different domains
- magento 2 set default store view
- magento 2 multi website multi domain
- magento 2 switch store programmatically
- magento multiple stores
- magento multi-store
- magento multi-shop
- magento multistore
- magento multiple stores different domains
- magento multi store demo
- magento multiple store
- magento default store
- 2.2.x, 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!