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 b3b920d commit b5353a0Copy full SHA for b5353a0
app/code/Magento/Multishipping/Controller/Checkout/Plugin.php
@@ -34,7 +34,9 @@ public function __construct(\Magento\Checkout\Model\Cart $cart)
34
*/
35
public function beforeExecute(\Magento\Framework\App\Action\Action $subject)
36
{
37
- $this->cart->getQuote()->setIsMultiShipping(0);
38
- $this->cart->saveQuote();
+ if ($this->cart->getQuote()->getIsMultiShipping()) {
+ $this->cart->getQuote()->setIsMultiShipping(0);
39
+ $this->cart->saveQuote();
40
+ }
41
}
42
0 commit comments