Hi Everyone,
I've just upgraded to CE 2.2.1.
I'm having a problem for configurable products with a special price, the old price no longer show on the categories catalogue. before it showed up but crossed out.
Has this been depreciated in 2.2.1? if not what can i do to fix it.
Many thanks
Solved! Go to Solution.
Found the answer if anyone else needs it
Copy final_price.phtml from
Vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml
to
Vendor/theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml
change (around line 22)
<?php if (!$block->isProductList() && $block->hasSpecialPrice()): ?>
with <?php if ($block->hasSpecialPrice()): ?>
Found the answer if anyone else needs it
Copy final_price.phtml from
Vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml
to
Vendor/theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml
change (around line 22)
<?php if (!$block->isProductList() && $block->hasSpecialPrice()): ?>
with <?php if ($block->hasSpecialPrice()): ?>
Hi,
I have a problem with visualization of Promo Price in Configurable products. The old price is struck through and the new price is visible, but it is not shown as a promo price.
My simple product is OK and I want the Configurable product to look the same.
This will degrade performance as hasSpecialPrice iterates on every product from the configuration. The first condition !$block->isProductList prevents executing hasSpecialPrice function.