Skip to content

Commit 9a49052

Browse files
Update Save.php
add comment
1 parent 11610d5 commit 9a49052

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment

1 file changed

+1
-0
lines changed

app/code/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public function execute()
167167

168168
$this->_saveShipment($shipment);
169169

170+
// Pass the specific store ID from the order to check if shipment emails are enabled for that store
170171
if (!empty($data['send_email'])
171172
&& $this->salesData->canSendNewShipmentEmail($shipment->getOrder()->getStoreId())) {
172173
$this->shipmentSender->send($shipment);

0 commit comments

Comments
 (0)