Skip to content

Commit

Permalink
SHQ18-1992 Fix for tracking links from wrong order showing in email t…
Browse files Browse the repository at this point in the history
…emplate
  • Loading branch information
wsajosh committed May 16, 2019
1 parent 3867853 commit 9523dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/frontend/templates/email/shipment/track.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if ($this->getOrder()) {
}
$zipCode = strtr($string, $rplChars);
?>
<?php if ($_shipment && $_order && $_shipment->getAllTracks()): ?>
<?php if ($_shipment && $_order && $_shipment->getTracks()): ?>
<br/>
<table class="shipment-track">
<thead>
Expand All @@ -24,7 +24,7 @@ $zipCode = strtr($string, $rplChars);
</tr>
</thead>
<tbody>
<?php foreach ($_shipment->getAllTracks() as $_item): ?>
<?php foreach ($_shipment->getTracks() as $_item): ?> <!--SHQ18-1992 Changed from getAllTracks-->
<tr>
<td><?= $block->escapeHtml($_item->getTitle()) ?>:</td>
<?php $_url = $this->helper(Track::class)->getTrackUrl($_item->getTitle(),
Expand Down

0 comments on commit 9523dea

Please sign in to comment.