From adfea2a94dea9739f25c887b32fa4813cb8ffdc3 Mon Sep 17 00:00:00 2001 From: John Carlo Octabio Date: Mon, 20 Jul 2020 20:50:32 +0800 Subject: [PATCH] magento/magento2#108: Clear Shopping Cart - Updated config scope to website, removed showInStore configurable level --- app/code/Magento/Checkout/ViewModel/Cart.php | 2 +- app/code/Magento/Checkout/etc/adminhtml/system.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Checkout/ViewModel/Cart.php b/app/code/Magento/Checkout/ViewModel/Cart.php index e160fc1923b63..2bdfe504d4627 100644 --- a/app/code/Magento/Checkout/ViewModel/Cart.php +++ b/app/code/Magento/Checkout/ViewModel/Cart.php @@ -43,7 +43,7 @@ public function isClearShoppingCartEnabled() { return (bool) $this->_scopeConfig->getValue( self::XPATH_CONFIG_ENABLE_CLEAR_SHOPPING_CART, - ScopeInterface::SCOPE_STORE + ScopeInterface::SCOPE_WEBSITE ); } } diff --git a/app/code/Magento/Checkout/etc/adminhtml/system.xml b/app/code/Magento/Checkout/etc/adminhtml/system.xml index 7cb1d09417e30..b56566a043c3e 100644 --- a/app/code/Magento/Checkout/etc/adminhtml/system.xml +++ b/app/code/Magento/Checkout/etc/adminhtml/system.xml @@ -48,7 +48,7 @@ Magento\Config\Model\Config\Source\Yesno - + Magento\Config\Model\Config\Source\Yesno