We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0315e commit 9609270Copy full SHA for 9609270
app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php
@@ -904,10 +904,12 @@ public function validateMinimumAmount()
904
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
905
);
906
907
- if ($this->_scopeConfig->isSetFlag(
+ $minimumOrderMultiFlag = $this->_scopeConfig->isSetFlag(
908
'sales/minimum_order/multi_address',
909
- \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
910
- ) {
+ \Magento\Store\Model\ScopeInterface::SCOPE_STORE
+ );
911
+
912
+ if ($minimumOrderMultiFlag) {
913
$result = !($minimumOrderActive && !$this->getQuote()->validateMinimumAmount());
914
} else {
915
$result = !($minimumOrderActive && !$this->validateMinimumAmountForAddressItems());
0 commit comments