File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
app/code/Magento/LoginAsCustomerAssistance Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
use Magento \Framework \App \Config \ScopeConfigInterface ;
11
11
use Magento \LoginAsCustomerAssistance \Api \ConfigInterface ;
12
+ use Magento \Store \Model \ScopeInterface ;
12
13
13
14
/**
14
15
* @inheritdoc
@@ -42,14 +43,20 @@ public function __construct(
42
43
*/
43
44
public function getShoppingAssistanceCheckboxTitle (): string
44
45
{
45
- return (string )$ this ->scopeConfig ->getValue (self ::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TITLE );
46
+ return (string )$ this ->scopeConfig ->getValue (
47
+ self ::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TITLE ,
48
+ ScopeInterface::SCOPE_WEBSITE
49
+ );
46
50
}
47
51
48
52
/**
49
53
* @inheritdoc
50
54
*/
51
55
public function getShoppingAssistanceCheckboxTooltip (): string
52
56
{
53
- return (string )$ this ->scopeConfig ->getValue (self ::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TOOLTIP );
57
+ return (string )$ this ->scopeConfig ->getValue (
58
+ self ::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TOOLTIP ,
59
+ ScopeInterface::SCOPE_WEBSITE
60
+ );
54
61
}
55
62
}
Original file line number Diff line number Diff line change 6
6
"magento/framework" : " *" ,
7
7
"magento/module-backend" : " *" ,
8
8
"magento/module-customer" : " *" ,
9
+ "magento/module-store" : " *" ,
9
10
"magento/module-login-as-customer" : " *" ,
10
11
"magento/module-login-as-customer-api" : " *"
11
12
},
You can’t perform that action at this time.
0 commit comments