File tree Expand file tree Collapse file tree 11 files changed +25
-11
lines changed
Bundle/view/frontend/templates/sales/order/creditmemo/items
Catalog/view/frontend/templates/product/view
Checkout/view/frontend/templates
onepage/review/item/price
Theme/view/frontend/templates/html Expand file tree Collapse file tree 11 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 67
67
</td>
68
68
<td class="col discount" data-th="<?= $ block ->escapeHtml (__ ('Discount Amount ' )) ?> ">
69
69
<?php if ($ block ->canShowPriceInfo ($ _item )) : ?>
70
- <?= $ block ->escapeHtml ($ block ->getOrder ()->formatPrice (-$ _item ->getDiscountAmount ())) ?>
70
+ <?= $ block ->escapeHtml ($ block ->getOrder ()->formatPrice (-$ _item ->getDiscountAmount ()), [ ' span ' ] ) ?>
71
71
<?php else : ?>
72
72
73
73
<?php endif ; ?>
Original file line number Diff line number Diff line change 26
26
data-toggle="trigger"
27
27
href="#<?= $ block ->escapeUrl ($ alias ) ?> "
28
28
id="tab-label-<?= $ block ->escapeHtmlAttr ($ alias ) ?> -title">
29
- <?= $ block -> escapeHtml ( $ label) ?>
29
+ <?= /* @noEscape */ $ label ?>
30
30
</a>
31
31
</div>
32
32
<div class="data item content"
Original file line number Diff line number Diff line change 13
13
<span class="price-label"><?= $ block ->escapeHtml (__ ('Price ' )) ?> </span>
14
14
<span class="price-wrapper">
15
15
<?= $ block ->escapeHtml (
16
- $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ())
16
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ()),
17
+ ['span ' ]
17
18
) ?>
18
19
</span>
19
20
</div>
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ $_item = $block->getItem();
13
13
<span class="price-excluding-tax" data-label="<?= $ block ->escapeHtml (__ ('Excl. Tax ' )) ?> ">
14
14
<span class="cart-price">
15
15
<?= $ block ->escapeHtml (
16
- $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getRowTotal ())
16
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getRowTotal ()),
17
+ ['span ' ]
17
18
) ?>
18
19
</span>
19
20
</span>
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ $_item = $block->getItem();
13
13
<span class="price-including-tax" data-label="<?= $ block ->escapeHtml (__ ('Excl. Tax ' )) ?> ">
14
14
<span class="cart-price">
15
15
<?= $ block ->escapeHtml (
16
- $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ())
16
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ()),
17
+ ['span ' ]
17
18
) ?>
18
19
</span>
19
20
</span>
Original file line number Diff line number Diff line change 11
11
$ _item = $ block ->getItem ();
12
12
?>
13
13
<span class="cart-price">
14
- <?= $ block ->escapeHtml ($ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getRowTotal ())) ?>
14
+ <?= $ block ->escapeHtml (
15
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getRowTotal ()),
16
+ ['span ' ]
17
+ ) ?>
15
18
</span>
Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ $_item = $block->getItem();
12
12
?>
13
13
<?php $ _incl = $ this ->helper (Magento \Checkout \Helper \Data::class)->getSubtotalInclTax ($ _item ); ?>
14
14
<span class="cart-price">
15
- <?= $ block ->escapeHtml ($ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _incl )) ?>
15
+ <?= $ block ->escapeHtml (
16
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _incl ),
17
+ ['span ' ]
18
+ ) ?>
16
19
</span>
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ $_item = $block->getItem();
12
12
?>
13
13
<span class="cart-price">
14
14
<?= $ block ->escapeHtml (
15
- $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ())
15
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _item ->getCalculationPrice ()),
16
+ ['span ' ]
16
17
) ?>
17
18
</span>
Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ $_item = $block->getItem();
12
12
?>
13
13
<?php $ _incl = $ this ->helper (Magento \Checkout \Helper \Data::class)->getPriceInclTax ($ _item ); ?>
14
14
<span class="cart-price">
15
- <?= $ block ->escapeHtml ($ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _incl )) ?>
15
+ <?= $ block ->escapeHtml (
16
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ _incl ),
17
+ ['span ' ]
18
+ ) ?>
16
19
</span>
Original file line number Diff line number Diff line change 32
32
<?php endif ; ?>
33
33
<span>
34
34
<?= $ block ->escapeHtml (
35
- $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ block ->getTotal ()->getValue ())
35
+ $ this ->helper (Magento \Checkout \Helper \Data::class)->formatPrice ($ block ->getTotal ()->getValue ()),
36
+ ['span ' ]
36
37
) ?>
37
38
</span>
38
39
<?php if ($ block ->getRenderingArea () == $ block ->getTotal ()->getArea ()) :?>
You can’t perform that action at this time.
0 commit comments