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
SHQ18-1992 Fix for tracking links from wrong order showing in email t…
  • Loading branch information
wsagen authored May 22, 2019
2 parents cf0dab8 + 9523dea commit 3fb27de
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 3fb27de

Please sign in to comment.