Skip to content

Commit 4a4ef64

Browse files
committed
ACP2E-2615: Bundle products added via the Page Builder > Products widget break the cart
- addressed static issue
1 parent c59ed47 commit 4a4ef64

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content

1 file changed

+2
-2
lines changed

app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ use Magento\Wishlist\Helper\Data;
113113
<div class="actions-secondary" data-role="add-to-links">
114114
<?php if ($this->helper(Data::class)->isAllow() && $showWishlist): ?>
115115
<a href="#"
116-
data-post='<?= /* @noEscape */ $block->getAddToWishlistParams($_item) ?>' class="action towishlist" data-action="add-to-wishlist" title="<?= $block->escapeHtmlAttr(__('Add to Wish List')) ?>">
116+
data-post='<?= /* @noEscape */ $block->getAddToWishlistParams($_item) ?>' class="action towishlist" data-action="add-to-wishlist" title="<?= $escaper->escapeHtmlAttr(__('Add to Wish List')) ?>">
117117
<span><?= $escaper->escapeHtml(__('Add to Wish List')) ?></span>
118118
</a>
119119
<?php endif; ?>
120120
<?php if ($block->getAddToCompareUrl() && $showCompare): ?>
121121
<?php $compareHelper = $this->helper(Compare::class);?>
122-
<a href="#" class="action tocompare" data-post='<?= /* @noEscape */ $compareHelper->getPostDataParams($_item) ?>' title="<?= $block->escapeHtmlAttr(__('Add to Compare')) ?>">
122+
<a href="#" class="action tocompare" data-post='<?= /* @noEscape */ $compareHelper->getPostDataParams($_item) ?>' title="<?= $escaper->escapeHtmlAttr(__('Add to Compare')) ?>">
123123
<span><?= $escaper->escapeHtml(__('Add to Compare')) ?></span>
124124
</a>
125125
<?php endif; ?>

0 commit comments

Comments
 (0)