What is the difference between Magento 2 website, store, and store view?
Magento 2 has a 4-level hierarchy: Global, Website, Store, and Store View. Let’s consider the difference between them and their opportunities.
This is the highest level in the Magento pyramid. Here you can set the only 3 options that will be the same for all stores:
- Stock - configure the main product settings;
- Price - define the same price for the products in all stores;
- Buyers - merge all store customer data into one big database for all websites.
With one Magento base, you can design various websites, for example, hats.com and pants.com. You can set different payment and shipping methods, goods can have different prices, currencies, and websites; have a separate client base. Also, for each website, you can create multiple stores. But all the information will be gathered in one admin panel.
It’s possible to create several stores on one Magento 2 website. For each store, you can use different products and category structures. But all stores have the same currency and prices, payment and shipping methods, taxes, stock management system, customer accounts.
And finally, for every store, you can create several store views. Magento store views are usually used for different languages and currencies. All store views have the same categories, but you can specify different product prices.
To sum all the information and make it clear, let’s consider a simple example.
Say, you sell cars and auto parts. So you have a domain abc.com that is connected with Magento installation (global level). Now you can create 2 Magento websites with subdomains cars.abc.com and autoparts.abc.com. Each website you can split on multiple stores. Cars.abc.com can include stores Audi, BMW, and Volkswagen. Autoparts.abc.com can include stores for new and used parts. And if you sell cars in different countries, you can change your default Magento store view and add the ability to change languages and currencies to localize your business. You can change the Magento store view automatically by IP.