Configuration
How to Expose system configuration value to be used in CMS Pages/Blocks or email template
Expose system configuration value to be used in CMS Pages/Blocks or email template
Magento2 Configuration values per deafferent scopes
in order to get any value per specific scope you can use the below parameters
First you need to initialize scopeConfig
* @var \Magento\Framework\App\Config\ScopeConfigInterface */ protected $_scopeConfig;
in the constrructer of your class