Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ScopeConfigInterface $scopeConfig) | |
isModuleEnabled (int $storeId) | |
getButtonText (int $storeId) | |
Data Fields | |
const | ACTIVE = 'sales/instant_purchase/active' |
const | BUTTON_TEXT = 'sales/instant_purchase/button_text' |
Instant purchase configuration.
Definition at line 15 of file Config.php.
__construct | ( | ScopeConfigInterface | $scopeConfig | ) |
Data constructor.
ScopeConfigInterface | $scopeConfig |
Definition at line 29 of file Config.php.
getButtonText | ( | int | $storeId | ) |
Defines instant purchase trigger button title on product page.
int | $storeId |
Definition at line 52 of file Config.php.
isModuleEnabled | ( | int | $storeId | ) |
Defines is feature enabled.
int | $storeId |
Definition at line 41 of file Config.php.
const ACTIVE = 'sales/instant_purchase/active' |
Definition at line 17 of file Config.php.
const BUTTON_TEXT = 'sales/instant_purchase/button_text' |
Definition at line 18 of file Config.php.