cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.2. Show both regular & special price on configurable products

SOLVED

Re: Magento 2.2. Show both regular & special price on configurable products

Do you remove all of the code and place just 

<?php if ($block->hasSpecialPrice()): ?>
    <span class="old-price sly-old-price no-display">
        <?php /* @escapeNotVerified */ echo $block->renderAmount($priceModel->getAmount(), [
            'display_label'   => __('Regular Price'),
            'price_id'        => $block->getPriceId('old-price-' . $idSuffix),
            'price_type'      => 'oldPrice',
            'include_container' => true,
            'skip_adjustments'  => true
        ]); ?>
    </span>
<?php endif; ?>

 Or do you just replace this section? Thanks,

Re: Magento 2.2. Show both regular & special price on configurable products

Will this solution work on grouped products also.  Need both prices to show on category page.