Skip to content

Commit 8a3086c

Browse files
committed
ENGCOM-1611: Fixed set template syntax in block file #15339 (fix tests)
1 parent cc00525 commit 8a3086c

File tree

1 file changed

+7
-3
lines changed
  • app/code/Magento/Tax/view/frontend/templates/checkout/cart/item/price

1 file changed

+7
-3
lines changed

app/code/Magento/Tax/view/frontend/templates/checkout/cart/item/price/sidebar.phtml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
<?php $_item = $block->getItem() ?>
1212
<?php if ($block->displayPriceInclTax() || $block->displayBothPrices()): ?>
1313
<span class="price-wrapper price-including-tax" data-label="<?= /* @escapeNotVerified */ __('Incl. Tax') ?>">
14-
<?php $_incl = $_item->getPriceInclTax(); ?>
15-
<?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($_incl) ?>
14+
<span class="minicart-price">
15+
<?php $_incl = $_item->getPriceInclTax(); ?>
16+
<?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($_incl) ?>
17+
</span>
1618
</span>
1719
<?php endif; ?>
1820
<?php if ($block->displayPriceExclTax() || $block->displayBothPrices()): ?>
1921
<span class="price-wrapper price-excluding-tax" data-label="<?= /* @escapeNotVerified */ __('Excl. Tax') ?>">
20-
<?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($_item->getCalculationPrice()) ?>
22+
<span class="minicart-price">
23+
<?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($_item->getCalculationPrice()) ?>
24+
</span>
2125
</span>
2226
<?php endif; ?>

0 commit comments

Comments
 (0)