Skip to content

Commit 12ae6e5

Browse files
author
Michael Bottens
committed
Update wishlist email product link to match wishlist page
1 parent 854761d commit 12ae6e5

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Wishlist/view/frontend/templates/email

1 file changed

+3
-3
lines changed

app/code/Magento/Wishlist/view/frontend/templates/email/items.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<?php $_product = $item->getProduct(); ?>
1818
<td class="col product">
1919
<p>
20-
<a href="<?= $block->escapeUrl($block->getProductUrl($_product)) ?>">
20+
<a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>">
2121
<?= /* @noEscape */ $block->getImage($block->getProductForThumbnail($item), 'product_small_image')->toHtml() ?>
2222
</a>
2323
</p>
2424

2525
<p>
26-
<a href="<?= $block->escapeUrl($block->getProductUrl($_product)) ?>">
26+
<a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>">
2727
<strong><?= $block->escapeHtml($_product->getName()) ?></strong>
2828
</a>
2929
</p>
@@ -34,7 +34,7 @@
3434
</p>
3535
<?php endif; ?>
3636
<p>
37-
<a href="<?= $block->escapeUrl($block->getProductUrl($_product)) ?>">
37+
<a href="<?= $block->escapeUrl($block->getProductUrl($item)) ?>">
3838
<?= $block->escapeHtml(__('View Product')) ?>
3939
</a>
4040
</p>

0 commit comments

Comments
 (0)