A Complete Guide of Websites, Stores and Views in Magento 2 Basic Configuration

Every Magento 2 installation has a system of website(s), store(s), and store view(s). The place in the system of database entity is determined by the term “scope” – such as such as a product, attribute, or category – content element, or configuration setting applies. A relationship between websites, stores, and store views is one-to-many parent/child. A Magento 2 installation can have many websites, and each website can have many stores and store views. In this article, we will provide information about each part of Magento 2 Basic Configuration: Websites, Stores and Views.

  1. Websites

By default, a single website called “Main Website” is the basic start of all Magento 2 installations. For a single installation, multiple websites can be set up, each one with its own domain and IP address.

  1. Stores

Multiple stores can be created on a single website, each with its own main menu. The web store has the similar product catalog, but can have an alternate selection of products and design. All stores under a similar site share the same Admin and checkout.

  1. Store Views

Each store which is available for customers is displayed following a specific “view”. In the beginning, a store only has a single view. To support different languages or for any other purposes, you can add other store views. The language can be selected in the header by customers to change the store view.

Above is an information article about three important part of Magento 2 Basic Configuration: Websites, Stores and View. We hope that you will find useful information from this article. If you have any question, feel free to leave a comment. In the next article, we will tell more about each part of Basic Configuration. Don’t forget to subscribe Magestandard for more Magento article.

An Useful Information about Scope in Magento 2

In this article, we will describe information about “scope” in Magento 2 hierarchy. If your Magento 2 installation has a system of websites, store or views, you can configure the setting, or “scope” of the configuration setting to apply to a specific part of the installation. You can also assign a specific scope using a system of many database entities to decide how it is used in the store system.

Because the same value is used throughout the system, this is the reason why some configuration settings such as postal code have a [global] scope.  Any lower stores than that level in the Magento system is applied to the [website] scope. You can set any item with the scope of [store view] differently for each store view that is typically used to support multiple languages.

Below the field label, the scope of each configuration setting will display as small text, unless the store is running Single Store Mode. You should always select the Store View where the settings apply before making any changes if multiple websites are included in your installation.

Hierarchy of Websites, Stores, and Store Views

Scope Settings

Scope Description
Global Throughout the Magento installation, settings and assets that are available
Website Only in a current website that settings and assets are limited. Each website has a default store.
Store Only in a current store that settings and assets are limited. Each store has a default root category (main menu) and default store view.
Store View Only in a current store view that setting and resources  are limited

Above is an article about scope in Magento 2 hierarchy. We hope that you will find useful information. If you have any question, feel free to leave a comment. The next article will describe how to changing scope. Don’t forget to subscribe Magestandard to read the new Magento 2 article.

How to Changing Scope in Magento 2 Basic Configuration

The location of the Store View selection is in the upper-left corner of Admin pages that filters the view of the page for a specific scope, and also sets the value of some entities that are used by Magento. Each level of the hierarchy is listed by name and is used to change scope to another level. Any settings that do not represent the current scope will be grey out by the system, and only represents the current scope setting. The scope is firstly set to “Default Config”. For restricted access Admin Users, the list of available store views includes only those to which the user has permission to access. According to the current scope, the default setting can be either applied or overridden by using the checkbox on the right of many configuration settings. When you mark the checkbox, the field value cannot be changed. To change the current value, first, you have to clear the checkbox, and then enter the new value. Whenever you change the scope, you must confirm. The checkbox label changes as indicated by the current range, and always alludes to the parent level which is one stage up in the order. The parent level is the holder for all items which are lower than that level, and this is the reason why the value from the parent level is inherited unless it is overridden.

Default Config with “Use System Value” Checkboxes

To set the configuration scope:

Follow these steps before making any changes to configuration settings that control only to a specific website, store or store view:

  1. On the Admin sidebar, follow one of these steps:

With almost configuration settings, click Stores. After that, under Settings, select Configuration.

For settings that relate to design, click Content. Under Design, select Configuration. Then in the grid, choose the applicable store view.

  1. Scroll to the configuration setting to be changed. After that, follow these steps:

In the upper-left corner, shift Store View to the specific view where the configuration applies. After confirmed scope switching, click OK.

There is a checkbox next to each field, and additional areas might become available.

Uncheck the Use system value checkbox after any field that you want to edit. After that, change the value of the view.

For each field that requires being an update on the page, repeat this process

  1. After complete, click Save Config

Store Hierarchy

Default Config The default system configuration.
Main Website The name of the site at the highest point of the hierarchy.
Main Website Store The name of the default store that is related to the parent site.
Default Store View The name of the default store sees that is related to the parent store.
Stores Configuration Goes to the Stores grid, and is the same as selecting Stores > All Stores from the Admin sidebar.
  • Default Value Options

Use system value When the configuration scope is changed to “Default Config.”, the “Use system value” checkbox displays
Use Default When the configuration scope is changed to “Main Website,” and refers to the default store that is assigned to the website, the “Use Default” check box displays.
Use Website When the configuration scope set to a specific store view, the “Use Website” check box displays. After marked, it uses the setting from the parent website which is related to the store view. For this situation, the store level is skipped because it is understood to apply to the default store that is related to the site.