Skip to content

Commit 4c57fe0

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #19377: Back port pull #19094 (by @agorbulin) Fixed GitHub Issues: - #19085: Translation in tier_price.phtml not working (reported by @DanieliMi) has been fixed in #19377 by @agorbulin in 2.2-develop branch Related commits: 1. f895d4a 2. 74396e1 3. 08fe817 4. fba4bc8
2 parents 1c23e21 + e3b5297 commit 4c57fe0

File tree

1 file changed

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

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@
1515
+ '</span>'
1616
+ '</span>'; %>
1717
<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 %>">&nbsp;<%= item.percentage %></span>%
21-
</strong>
18+
<%= '<?= $block->escapeHtml(__('Buy %1 for %2 each and', '%1', '%2')) ?>'
19+
.replace('%1', item.qty)
20+
.replace('%2', priceStr) %>
21+
<strong class="benefit">
22+
<?= $block->escapeHtml(__('save')) ?><span
23+
class="percent tier-<%= key %>">&nbsp;<%= item.percentage %></span>%
24+
</strong>
2225
</li>
2326
<% }); %>
2427
</ul>

0 commit comments

Comments
 (0)