Need different settings for specific websites in your Magento 2 store? Website-level configuration overrides let you customize values without changing the defaults for every store view. This is useful when your websites serve different regions, currencies, or customer needs.
In this guide, you’ll learn how to set up Magento 2 website level configuration overrides and apply them with confidence. We’ll walk through the key steps so you can manage website-specific settings while keeping your configuration organized.
Understand Magento 2 website level configuration overrides
One setting can suit every storefront—until a regional site needs a different currency or shipping setup. Before changing anything, it helps to see where website-level values sit in Magento’s scope hierarchy and which differences belong at that level.
Magento organizes configuration in layers, and each layer can inherit a value from the one above it or replace it with a more specific value. The hierarchy helps you predict which setting will take effect.
How Magento’s default, website, store, and store-view scopes relate
From broadest to most specific, the scopes are Default (global), Website, Store, and Store View. A website can contain multiple stores, and each store can have multiple store views—often used for different languages or presentations of the same catalog.
When a value is not set at a narrower scope, Magento generally uses the value inherited from its parent. For example, a website can inherit a default value, while one of its store views can inherit the website’s value. This fallback behavior keeps shared settings consistent without preventing targeted changes.
In the Admin, the scope selector determines where an editable field applies. If a field is unavailable at a chosen scope, it cannot be overridden there; its supported scope depends on the setting.
Knowing the hierarchy is only part of the decision: the configuration field itself must support the scope you need. The examples below show common candidates and an important limitation.
Which configuration settings can vary by website
Common website-specific choices include base currency, payment and shipping availability, and certain tax or checkout settings. For example, a regional website might use a different base currency or offer a local payment method, while another website keeps its own shipping options.
Not every setting is adjustable at every level. Catalog price scope, for instance, is controlled by a separate configuration choice and can affect whether product prices are shared globally or vary by website. Check the field’s scope and the relevant module’s behavior before planning an override; third-party extensions may add their own rules.
These examples point to a useful principle: choose the narrowest scope that matches a genuine business difference. That keeps configuration easier to maintain as your storefronts grow.
When Magento 2 website level configuration overrides are appropriate
Use Magento 2 website level configuration overrides when separate websites serve distinct markets, brands, or operational requirements—for example, different currencies, payment methods, or shipping policies. A website-level value avoids changing the default for storefronts that should continue using the shared setting.
If the difference is only language or presentation within the same website, a store-view setting may be a better fit. Before applying an override, confirm which storefronts it will affect and whether leaving the field at its inherited value is preferable. This avoids unnecessary duplication and makes future changes more predictable.
Apply a website-specific setting in the Admin
With the right scope identified, the change itself is usually straightforward. The key is to select the intended website before editing, then confirm the updated value reaches the storefronts that should use it.
Select a website and change its inherited value
Start in Stores > Settings > Configuration. The scope selector near the top of the page controls which site you are editing, so take a moment to choose the correct website before changing any fields.
Find the setting and check that it supports website scope. If it is inheriting the default, clear the Use Default checkbox to enable a website-specific value, then enter the replacement. For example, you could enable a payment method for one regional website without changing its availability on other sites.
- Confirm the selected website name before editing.
- Change only fields that need to differ from the inherited value.
- Leave Use Default selected when the website should continue following the global setting.
After entering the value, save it before checking the storefront. The next step is to make sure Magento serves the updated configuration rather than a cached version.
Save the setting and refresh relevant caches
Click Save Config, then review any confirmation message for validation errors. If the page reports that a cache needs refreshing, open System > Cache Management and refresh the indicated cache types. Configuration changes commonly involve the config cache; storefront changes may also require refreshing full-page cache.
For a command-line workflow, an administrator can clean the relevant cache with bin/magento cache:clean config. Avoid flushing every cache by default, since that can affect performance across the entire store. Finally, check the affected website in a fresh session and confirm that other websites still show their expected values.
One successful Admin change is easy to verify; keeping it consistent across development, staging, and production takes a little planning. Treat website-specific values as part of your deployment process, not as undocumented one-off edits.
Manage Magento 2 website level configuration overrides across environments
Magento 2 website level configuration overrides are typically stored in the database, so an Admin change in one environment does not automatically update the others. Record the setting, its website scope, and the intended value in your deployment notes or configuration checklist.
Before promoting a change, confirm that each environment uses the same website structure and website codes. Back up the database before bulk configuration work, and follow your team’s established configuration deployment process—especially if settings are managed or locked through app/etc/config.php or app/etc/env.php. After deployment, verify the value at the intended scope and test the relevant customer journey.
Verify and troubleshoot website-level changes
A saved setting is only useful if the intended storefront actually uses it. A quick check at the right scope can catch mismatches before they affect customers—or get copied into another environment.
First, compare the selected website’s value with what its storefront displays. This helps distinguish a correctly saved override from a setting that is still inherited or unavailable at that scope.
Confirm effective values at the intended scope
Return to Stores > Settings > Configuration and select the website you changed. Reopen the field and check that Use Default is cleared and the expected value appears. If the box remains selected, the website is still inheriting its parent value.
Then confirm the field’s scope and the affected website code or name. Some settings can’t be overridden at website level, and a similarly named website or store view can be easy to select by mistake. Where available, an administrator can also inspect configuration with Magento’s command-line tools, taking care to specify the correct scope and code.
If the Admin shows the right value but the storefront does not, investigate what might be overriding or obscuring it. Scope selection, caching, and deployment-managed configuration are common places to look.
Diagnose scope, cache, and deployment conflicts
Check whether the value is managed by app/etc/config.php or app/etc/env.php, or included in a team’s configuration import process. Deployment-managed values may be locked or restored during deployment, so an Admin edit alone may not persist. Compare the relevant configuration across environments before changing files or importing settings.
If the scope and deployment settings look correct, refresh the relevant Magento cache and retest. A reverse proxy, CDN, or browser cache can also serve an older page. Narrow the cause by checking in a private browser session and, when available, comparing the storefront response before and after cache refresh. Avoid flushing all caches unless there’s a clear reason.
Once the value is confirmed, test the customer-facing behavior—not just the configuration screen. A short record of the change also makes future releases easier to review.
Test the storefront and document the change
Visit the affected website using its normal URL and test the related journey, such as selecting a payment method or reviewing displayed currency. Confirm that the change appears on the intended site and that another website still behaves as expected. For checkout or shipping changes, test the relevant conditions, including destination and cart contents.
Record the setting, website scope, value, date, and verification steps in your deployment notes or change log. Include any cache refresh or configuration import performed. This gives teammates a clear reference if the setting is changed later and helps keep Magento 2 website level configuration overrides consistent across environments.
Keep website-specific settings clear, consistent, and easy to verify
Website-level configuration overrides let you tailor Magento settings to each market without changing values that other storefronts rely on. The key is to choose the right scope, override only what genuinely needs to differ, and leave inherited settings in place when they still fit.
After saving a change, refresh the relevant caches and confirm the effective value in the Admin and on the storefront. Keep deployment-managed settings and environment differences in mind, and document what changed and how you tested it. With these habits, you can adapt each website confidently while keeping your Magento configuration organized and predictable.