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 92bd591 commit a6cf5cbCopy full SHA for a6cf5cb
app/code/Magento/Quote/Observer/Frontend/Quote/Address/CollectTotalsObserver.php
@@ -119,7 +119,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
119
120
$groupId = null;
121
if (empty($customerVatNumber) || false == $this->customerVat->isCountryInEU($customerCountryCode)) {
122
- $groupId = $customer->getId() ? $quote->getCustomerGroupId() : $this->groupManagement->getNotLoggedInGroup()->getId();
+ $groupId = $customer->getId() ? $quote->getCustomerGroupId() :
123
+ $this->groupManagement->getNotLoggedInGroup()->getId();
124
} else {
125
// Magento always has to emulate group even if customer uses default billing/shipping address
126
$groupId = $this->customerVat->getCustomerGroupIdBasedOnVatNumber(
0 commit comments