Author: wang

magento 2, Magento 2 Dev Guide Book Note

Magento 2 get Core_config_data

core_config_data  table config_id: 65     scope: default scope_id: 0      path: Mentel_convertprice_section/convertprice_general/convertprice_active     value: 1 First you need to include the  \Magento\Framework\App\Config\ScopeConfigInterface $   class in your constructor: protected $_scopeConfig; public function __construct( ...  \Magento\Framework\App\Config\ScopeConfigInterface $ScopeConfigInterface, ... )...