Magento 2 tier price is not showing with tax

<?php if($_product->getTierPrice()){ foreach ($tierPrice as $key => $value) { $qty = (int)$value[‘price_qty’]; $price = $value[‘price’]; $formattedTierPrice = $this->helper(‘Magento\Framework\Pricing\Helper\Data’)->currency(number_format($price, 2), true, false); $savePercentage = round(100 – ( (100 / $_product->getPrice())* $price) ) .”%”; echo “<div style=’font-weight: 600;background: #f5f5f5;padding: 5px; display: block; margin: 20px 0px 0px’>”.”Buy $qty for “.”<span style=’color: #000;font-size: 16px;’>” . $formattedTierPrice . “</span>”.” each…

Magento 2 tier price is not showing with tax

<?php if($_product->getTierPrice()){ foreach ($tierPrice as $key => $value) { $qty = (int)$value[‘price_qty’]; $price = $value[‘price’]; $formattedTierPrice = $this->helper(‘Magento\Framework\Pricing\Helper\Data’)->currency(number_format($price, 2), true, false); $savePercentage = round(100 – ( (100 / $_product->getPrice())* $price) ) .”%”; echo “<div style=’font-weight: 600;background: #f5f5f5;padding: 5px; display: block; margin: 20px 0px 0px’>”.”Buy $qty for “.”<span style=’color: #000;font-size: 16px;’>” . $formattedTierPrice . “</span>”.” each…

how to refresh a part of the page when configurable variation is selected in magento 2.3

I want to reload a div section on the product detail page of the configurable product when the configurable variation is selected. How do I achieve that? require([‘jquery’,’jquery/ui’],function($){ jQuery(document).on(‘click’, ‘.swatch-option’,function(){ $(‘#points-refresh’).load(document.URL + ‘ #points-refresh’); }) }); points-refresh is the id of the div section I want to reload whenever I switch one configurable child product…