Skip to content

Commit b81ad3f

Browse files
author
Yurii Torbyk
committed
MAGETWO-33578: Exception on frontend when Minimum Order Amount set to Yes
1 parent cb0b4f7 commit b81ad3f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/Controller/Cart

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Controller/Cart/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function execute()
6161
$this->cart->save();
6262

6363
if (!$this->cart->getQuote()->validateMinimumAmount()) {
64-
$currencyCode = $this->_objectManager->get('Magento\Framework\Store\ScopeInterface::SCOPE_STORE')
64+
$currencyCode = $this->_objectManager->get('Magento\Framework\Store\StoreManagerInterface')
6565
->getStore()
6666
->getCurrentCurrencyCode();
6767
$minimumAmount = $this->_objectManager->get('Magento\Framework\Locale\CurrencyInterface')

0 commit comments

Comments
 (0)