File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Quote/Observer/Frontend/Quote/Address Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,8 @@ public function execute(\Magento\Framework\Event\Observer $observer)
119
119
120
120
$ groupId = null ;
121
121
if (empty ($ customerVatNumber ) || false == $ this ->customerVat ->isCountryInEU ($ customerCountryCode )) {
122
- $ groupId = $ customer ->getId () ? $ quote ->getCustomerGroupId () : $ this ->groupManagement ->getNotLoggedInGroup ()->getId ();
122
+ $ groupId = $ customer ->getId () ? $ quote ->getCustomerGroupId () :
123
+ $ this ->groupManagement ->getNotLoggedInGroup ()->getId ();
123
124
} else {
124
125
// Magento always has to emulate group even if customer uses default billing/shipping address
125
126
$ groupId = $ this ->customerVat ->getCustomerGroupIdBasedOnVatNumber (
You can’t perform that action at this time.
0 commit comments