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 72eb75d commit c5d2accCopy full SHA for c5d2acc
src/app/code/community/Zendesk/Zendesk/Helper/Data.php
@@ -507,15 +507,15 @@ public function getShipments($order)
507
}
508
$shipments[] = $shipment;
509
510
- } else {
511
- if ($orderShippingAddress) {
512
- $shipments[] = array(
513
- 'shipping_address' => $this->formatAddress($orderShippingAddress),
514
- );
515
- }
516
517
518
+ if (empty($shipments) && $orderShippingAddress) {
+ $shipments[] = array(
+ 'shipping_address' => $this->formatAddress($orderShippingAddress),
+ );
+ }
+
519
return $shipments;
520
521
0 commit comments