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 1c23e21 + e3b5297 commit 4c57fe0Copy full SHA for 4c57fe0
app/code/Magento/ConfigurableProduct/view/base/templates/product/price/tier_price.phtml
@@ -15,10 +15,13 @@
15
+ '</span>'
16
+ '</span>'; %>
17
<li class="item">
18
- <%= $t('Buy %1 for %2 each and').replace('%1', item.qty).replace('%2', priceStr) %>
19
- <strong class="benefit">
20
- <%= $t('save') %><span class="percent tier-<%= key %>"> <%= item.percentage %></span>%
21
- </strong>
+ <%= '<?= $block->escapeHtml(__('Buy %1 for %2 each and', '%1', '%2')) ?>'
+ .replace('%1', item.qty)
+ .replace('%2', priceStr) %>
+ <strong class="benefit">
22
+ <?= $block->escapeHtml(__('save')) ?><span
23
+ class="percent tier-<%= key %>"> <%= item.percentage %></span>%
24
+ </strong>
25
</li>
26
<% }); %>
27
</ul>
0 commit comments