Skip to content

Commit

Permalink
Merge pull request #21 from saphaljha/2.2-develop-PR-port-19094
Browse files Browse the repository at this point in the history
[Backport] 19085-Translation-in-tier-price-phtml-not-working
  • Loading branch information
saphaljha authored Dec 22, 2018
2 parents 4026586 + feba55f commit bb38593
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
+ '</span>'
+ '</span>'; %>
<li class="item">
<%= $t('Buy %1 for %2 each and').replace('%1', item.qty).replace('%2', priceStr) %>
<strong class="benefit">
<%= $t('save') %><span class="percent tier-<%= key %>">&nbsp;<%= item.percentage %></span>%
</strong>
<%= '<?= $block->escapeHtml(__('Buy %1 for %2 each and', '%1', '%2')) ?>'
.replace('%1', item.qty)
.replace('%2', priceStr) %>
<strong class="benefit">
<?= $block->escapeHtml(__('save')) ?><span
class="percent tier-<%= key %>">&nbsp;<%= item.percentage %></span>%
</strong>
</li>
<% }); %>
</ul>
Expand Down

0 comments on commit bb38593

Please sign in to comment.