diff -Nuar a/vendor/magento/module-negotiable-quote/Model/Plugin/Cart/ValidateQuoteCurrentStorePlugin.php b/vendor/magento/module-negotiable-quote/Model/Plugin/Cart/ValidateQuoteCurrentStorePlugin.php new file mode 100644 index 000000000..a9518b809 --- /dev/null +++ b/vendor/magento/module-negotiable-quote/Model/Plugin/Cart/ValidateQuoteCurrentStorePlugin.php @@ -0,0 +1,39 @@ +getQuote()->getStore(); + $quoteStoreId = $cartStore->getStoreId(); + if ($quoteStoreId && $quoteStoreId !== $currentStore->getStoreId()) { + $currentStore = $cartStore; + } + return $currentStore; + } +} diff -Nuar a/vendor/magento/module-negotiable-quote/etc/adminhtml/di.xml b/vendor/magento/module-negotiable-quote/etc/adminhtml/di.xml index 6c3c67a63..893c18cf6 100644 --- a/vendor/magento/module-negotiable-quote/etc/adminhtml/di.xml +++ b/vendor/magento/module-negotiable-quote/etc/adminhtml/di.xml @@ -27,4 +27,7 @@ \Magento\NegotiableQuote\Model\CustomerGroupRetriever + + +