diff --git a/Controller/Adminhtml/Edit/Index.php b/Controller/Adminhtml/Edit/Index.php index 02193f5..ce3391a 100755 --- a/Controller/Adminhtml/Edit/Index.php +++ b/Controller/Adminhtml/Edit/Index.php @@ -139,6 +139,11 @@ public function execute() $order->addStatusHistoryComment($comment); $order->setCustomerEmail($emailAddress); $this->orderRepository->save($order); + + foreach ($order->getAddressesCollection() as $address) + { + $address->setEmail($emailAddress)->save(); + } } //if update customer email