How to Configure Multiple Stores in Magento 2
OR
Easy Steps to Configure Multiple Stores in Magento 2
Introduction
A common requirement of a business dealing in multiple markets or product lines is that of the different store for varying product lines or businesses. Magento, being the boss of CMS platforms, comes to the rescue again. There is no need to hire magento 2 developer for setting up multiple stores on the single instance of Magento. The business might want to set up numerous stores using different content and attributes like currency, category, language, etc. Magento 2 provides the option of using a single Admin panel to manage these multiple stores without breaking a sweat. This article guides the non-technical users in setting up multiple stores in Magento 2 easily. Let us first understand a little bit about the store.
Store – A Preamble
A store is contained within a website, whereas a website can contain multiple stores. Different stores within the same website are allowed to share important features like payment gateways, user sessions, carts, etc. An important distinction is that each of these stores has a different catalog skeleton and price. An important point to note here is that the inventory (catalog quantity) can be managed at the website level only and not at the store level. The store views differ for each store depending upon the requirements of the business, e.g., each of them can support different currencies or a different language. Each store can be configured to handle multiple currencies without the need to hire dedicated magento developer for the same. Let us now go through the steps involved in setting up multiple stores in Magento 2. Don't use plagiarised sources.Get your custom essay just from $11/page
Step # 1 – Select the Domain
Companies often hire magento developer to create a new website. However, a user with Admin credentials can create this without any trouble. The following steps should be followed to create a new website.
- Select Stores> Settings> All Stores from the Admin panel.
- Click Create Website from the Stores
URL: “https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html“
- Enter the name and code of the new website in the “Name” and “Code” fields, respectively. The “Sort Order” field is optional and specifies the numerical sorting order. Remember to note the code specified here for further usage.
- Click on Save Web Site
Step # 2 – Add the Store
The next step is creating a new store within the created website. It is often at this juncture that companies hire magento developer in india to avoid the hassles. However, it is not that difficult, and one can follow the steps given to create a new store on his own.
- From the Admin panel, click Stores> Settings> All Stores
- Click Create Store from the Stores
URL: “https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html“
- Select the name of the website created in the last step from the “Web Site” The “Name” and “Code” fields are specified for the unique identification of the store. Now, select “Default Category” from the “Root Category” field.
- Click on the Save Store
Step # 3 – Add a Store View
The further step requires setting up a default view of the new store. Although the process is simple enough for even a naïve user, owing to lack of awareness, companies hire magento developer online and pay them hefty fees for such a petty task. The below steps are needed to set up the default store view.
- Open the Admin panel to click Stores> Settings> All Stores
- Click Create Store View from the Stores
URL: “https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html“
- Select the name of the store created in step 2 from the “Store” Enter the name and unique code of the store view in the “Name” and “Code” fields, respectively. Now, select “Enabled” from the “Status” field.
- Click on the Save Store View
Step # 4 – Setup the URL
Now the final step involves setting up a unique URL like for accessing the store. For this, one needs to modify the base URL for each website in the Admin panel. Follow the below steps for doing the needful.
- Select Stores > Settings > Configuration > General > Web from the Admin panel.
- Select the name of the website from the Store View list
URL: “https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html“
- Select Base URLs from the right pane.
- Clear the Use System Value checkbox from the Base URLs section. Now, enter the new Base URL of the store in “Base URL” and “Base Link URL”
- Click the “Save Config”
Now the only thing left is to create a virtual host to allow managing each store separately and pass the values of variables MAGE_RUN_TYPE as store and MAGE_RUN_CODE as code of the new store respectively to the webserver.
Conclusion
For expanding the business, organizations often intend to hire magento 2 developer for setting up multiple stores under a single Magento platform. However, there is no need to hire dedicated magento developer for setting up multiple stores as the steps involved are straightforward, and even an inexperienced user can set up multiple stores for different markets without making a fuss.