- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020
06:17 PM
02-26-2020
06:17 PM
Constants defined under : /vendor/magento/module-store/Model/ScopeInterface.php
I know Magento 2 have store, group, website, stores, groups and websites scope types. But my question is when Magento use singular form and when it uses plural form.
Under core_config_data table sometimes it saves under website or sometime websites scope. How it decide this ?
For example :
If issue solved, click Kudos/Accept as solutions.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020
06:48 PM
02-27-2020
06:48 PM
Hi @sudhanshu_bajaj,
We should use websites for consistency.
Magento\Store\Model\ScopeInterface:
COPE_WEBSITES
The module (dotmailer) is using website only.
You can check in core_config_data table as well.
Select * FROM core_config_data where scope = 'websites';
You have raised a good question.
I hope it will help you and others as well.
We should use websites for consistency.
Magento\Store\Model\ScopeInterface:

The module (dotmailer) is using website only.
You can check in core_config_data table as well.
Select * FROM core_config_data where scope = 'websites';
You have raised a good question.
I hope it will help you and others as well.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2020
06:48 PM
02-27-2020
06:48 PM
Hi @sudhanshu_bajaj,
We should use websites for consistency.
Magento\Store\Model\ScopeInterface:
COPE_WEBSITES
The module (dotmailer) is using website only.
You can check in core_config_data table as well.
Select * FROM core_config_data where scope = 'websites';
You have raised a good question.
I hope it will help you and others as well.
We should use websites for consistency.
Magento\Store\Model\ScopeInterface:

The module (dotmailer) is using website only.
You can check in core_config_data table as well.
Select * FROM core_config_data where scope = 'websites';
You have raised a good question.
I hope it will help you and others as well.