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.
2 parents 02bca98 + 70fa33d commit 63fda1aCopy full SHA for 63fda1a
app/code/Magento/Sales/view/frontend/templates/email/shipment/track.phtml
@@ -9,8 +9,9 @@
9
?>
10
<?php $_shipment = $block->getShipment() ?>
11
<?php $_order = $block->getOrder() ?>
12
+<?php if ($_shipment && $_order): ?>
13
<?php $trackCollection = $_order->getTracksCollection($_shipment->getId()) ?>
-<?php if ($_shipment && $_order && $trackCollection): ?>
14
+<?php if ($trackCollection): ?>
15
<br />
16
<table class="shipment-track">
17
<thead>
@@ -29,3 +30,4 @@
29
30
</tbody>
31
</table>
32
<?php endif; ?>
33
+<?php endif; ?>
0 commit comments