Site, store, and view scope
Every Adobe Commerce and Magento Open Source installation has a hierarchy of websites, stores, and store views. The term scope determines where in the hierarchy a database entity — such as a product, attribute, or category — content element, or configuration setting applies. Websites, stores, and store views have one-to-many parent/child relationships. A single installation can have multiple websites, and each website can have multiple stores and store views.
Websites
Installations begin with a single website, which is called Main Website by default. You can also set up multiple websites for a single installation, each with its own IP address and domain.
Stores
A single website can have multiple stores, each with its own main menu. The stores share the product catalog, but can have a different selection of products and design. All stores under the same website share the Admin and checkout.
Store views
Each store that is available to customers is presented according to a specific view. Initially, a store has a single default view. Additional store views can be added to support different languages, or for other purposes. Customers can use the language chooser in the header to change the store view.
When working with websites, stores, and store views, keep the following in mind:
- Commerce instances have a cascading model: global → website → store → store view.
- Every website has a minimum of one default store and store view.
- Each store view can have a different base URL.
- The primary function of a website is top-level feature configuration.
- The primary function of a store is root category configuration.
- The primary function of a store view is translation information and currency symbol configuration.
Scope settings
If your Adobe Commerce or Magento Open Source installation has a hierarchy of websites, stores, or views, you can set the context, or scope of a configuration setting. The context of many database entities can also be assigned a specific scope to determine how it is used in the store hierarchy. To learn more, see Product scope and Price scope.
Some configuration settings such as postal code, have a global scope because the same value is used throughout the system. The website scope applies to any stores below that level in the hierarchy, including all stores and their views. Any item with the scope of store view can be set differently for each store view, which is typically used to support multiple languages. To override the default values of configuration settings, see Set the scope.
Unless the store is running in single store mode, the scope of each configuration setting appears in small text below the field label. If your installation includes multiple websites, stores, or views, choose the store view where the settings apply before making any changes.
{width="550"}
Single store mode
If your Commerce installation has only a single store and store view, you can simplify the display by turning off all store view options and scope indicators. Single store mode is overridden if you add more store views later.
{width="550"}
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
Under General, scroll down to the bottom of the page and expand the Single-Store Mode section.
-
Set Enable Single-Store Mode to
Yes
.{width="400"}
-
Click Save Config.
-
When prompted to refresh the cache, do the following:
-
Click the Cache Management link in the system message at the top of the page.
{width="600" modal="regular"}
-
Select the Page Cache checkbox.
-
With Actions set to
Refresh
, click Submit
-