Skip to content

Commit 8048516

Browse files
committed
Fix issue 19887 creating new shipment: getting all trackers.
1 parent 2a389b0 commit 8048516

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/frontend/templates/email/shipment

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/frontend/templates/email/shipment/track.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</tr>
2020
</thead>
2121
<tbody>
22-
<?php foreach ($_shipment->getAllTracks() as $_item): ?>
22+
<?php foreach ($_order->getTracksCollection($_shipment->getId()) as $_item): ?>
2323
<tr>
2424
<td><?= $block->escapeHtml($_item->getTitle()) ?>:</td>
2525
<td><?= $block->escapeHtml($_item->getNumber()) ?></td>

0 commit comments

Comments
 (0)