Get Free Audit

How To Use Configuration Scopes in Magento 1.9 and 2.2

Oct 19, 2017

1760 Sergey Samets

How To Use Configuration Scopes in Magento 1.9 and 2.2

How can I use the available configuration scopes to the greatest effect?

If you’re aimed at changing some settings of all your stores, it’s better to apply the setting for the highest level (Default Configuration), as in this case the setting will be applied for all stores. Similarly, if you have 10 stores, and it’s necessary to change any configuration value of 8 stores (for example, logo), it’s better to change the configuration for the whole website (Default Configuration) while applying another configuration value for the rest 2 stores. Using this approach simplifies the process and saves time.

How to set configuration values for the whole website globally? Let’s consider the following example. The task is to change the number of products displayed in the grid on the category page (the parameter is “Products per Page on Grid Allowed Values”).

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_1

In Magento 2 we need to go to the section Stores > Configuration > Catalog > Catalog > Storefront and find the necessary parameter “Products per Page on Grid Allowed Values”, which needs to be changed according to the aim. Don’t forget to choose the top level of the website, so the parameter “Store View” should have the value “Default Configuration”.

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_2How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_2

The same approach can be applied for Magento 1. Go to the section System > Configuration > Catalog > Catalog > Frontend and find the necessary parameter “Products per Page on Grid Allowed Values” which needs to be changed according to the aim. Don’t forget to choose the top level of the website, so the parameter “Current Configuration Scope” should have the value “Default Config”.

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_3

Why some options can’t be configured on a store view level?

The keystone idea in Magento is using various stores to differ in languages or frontends from customer’s side (that means frontend). The functional part of the website is the same. That’s why there’s a problem that some functional configurations can’t be changed for the separate store, but for the whole website. Shipping and payment gateway can be considered as examples of such configurations (set for the whole website).

For example, we’d like to change the configuration of Flat Rate shipping:

In Magento 2 we go to the admin panel Stores > Configuration > Sales > Shipping Methods > Flat Rate. For the whole website (Default Configuration) it will look like that:

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_4

Andrey_Dubina
Partner With Us Let's discuss how to grow your business. Get a Free Quote.
Talk to Andrey

As for Magento 1, the process is almost the same. We should go to System > Configuration > Sales > Shipping Methods > Flat Rate. For the whole website (Default Configuration) it will look like that:How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_5

As for the separate store in Magento 2, it will look like that:

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_6

As for the separate store in Magento 1, it will be the same:How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_7

As you can see, for the separate store we can change the fields “Title”, “Method Name” and “Displayed Error Message”, but the rest configurations will be set globally (for all stores).

Besides, some examples of configurations which can be set for a store separately should be provided here. As I’ve mentioned it before, such configurations are likely connected with fronted or languages. For example, for a definite store, we can set a custom order confirmation letter for a new order (read more information on How to customize the look of specific pages in Magento 1.9 and 2.2 ).

In Magento 2 we need to go to the store settings Stores > Configuration > Sales > Sales Emails > Order (don’t forget to choose the necessary Store View). We need to choose the necessary letter template for the field “New Order Confirmation Template”.

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_8

In Magento 1 we also need to go to the store settings System > Configuration > Sales > Sales Emails > Order (don’t forget to choose the necessary Store View). We need to choose the necessary letter template for the field “New Order Confirmation Template”.

How To Use the Admin Configuration Scopes in Magento 1.9 and 2.2_9

Andrey Dubina
Partner With Us Looking for a partner to grow your business? We are the right company to bring your webstore to success. Talk to Andrey

2 Comments

Post a new comment

BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *