Skip to content

Commit 425514b

Browse files
author
Oleksii Gorbulin
committed
19085-Translation-in-tier-price-phtml-not-working
#19085:Translation in tier_price.phtml not working
1 parent 9186f4a commit 425514b

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/ConfigurableProduct/view/base/templates/product/price

1 file changed

+2
-2
lines changed

app/code/Magento/ConfigurableProduct/view/base/templates/product/price/tier_price.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
+ '</span>'
1616
+ '</span>'; %>
1717
<li class="item">
18-
<%= $t('Buy %1 for %2 each and').replace('%1', item.qty).replace('%2', priceStr) %>
18+
<%= $t('<?= $block->escapeHtml(__('Buy %1 for %2 each and')) ?>').replace('%1', item.qty).replace('%2', priceStr) %>
1919
<strong class="benefit">
20-
<%= $t('save') %><span class="percent tier-<%= key %>">&nbsp;<%= item.percentage %></span>%
20+
<?= $block->escapeHtml(__('save')) ?><span class="percent tier-<%= key %>">&nbsp;<%= item.percentage %></span>%
2121
</strong>
2222
</li>
2323
<% }); %>

0 commit comments

Comments
 (0)