Skip to content

Commit ef5284e

Browse files
committed
Merge remote-tracking branch '32359/patch-4' into novcommpr-3
2 parents 30d0b82 + 54bbdfe commit ef5284e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/code/Magento/LoginAsCustomerAssistance/Model/Config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -42,7 +42,7 @@ public function getShoppingAssistanceCheckboxTitle(): string
4242
{
4343
return (string)$this->scopeConfig->getValue(
4444
self::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TITLE,
45-
ScopeInterface::SCOPE_WEBSITE
45+
ScopeInterface::SCOPE_STORE
4646
);
4747
}
4848

@@ -53,7 +53,7 @@ public function getShoppingAssistanceCheckboxTooltip(): string
5353
{
5454
return (string)$this->scopeConfig->getValue(
5555
self::XML_PATH_SHOPPING_ASSISTANCE_CHECKBOX_TOOLTIP,
56-
ScopeInterface::SCOPE_WEBSITE
56+
ScopeInterface::SCOPE_STORE
5757
);
5858
}
5959
}

app/code/Magento/LoginAsCustomerAssistance/etc/adminhtml/system.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2020 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
99
<system>
10-
<section id="login_as_customer" showInWebsite="1">
11-
<group id="general" showInWebsite="1">
12-
<field id="shopping_assistance_checkbox_title" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" canRestore="1">
10+
<section id="login_as_customer" showInWebsite="1" showInStore="1">
11+
<group id="general" showInWebsite="1" showInStore="1">
12+
<field id="shopping_assistance_checkbox_title" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>Title for Login as Customer opt-in checkbox</label>
1414
</field>
15-
<field id="shopping_assistance_checkbox_tooltip" translate="label" type="textarea" sortOrder="60" showInDefault="1" showInWebsite="1" canRestore="1">
15+
<field id="shopping_assistance_checkbox_tooltip" translate="label" type="textarea" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1616
<label>Login as Customer checkbox tooltip</label>
1717
</field>
1818
</group>

0 commit comments

Comments
 (0)