I have a catalog price rule that setup so I can do a x% off site wide sale. Now when i view any category my simple products show the original price crossed out and then show the new discounted price next to it.

However configurable products are showing only the discount price and not the original price? All of the simple products which are inside the configurable product have the same price.

What file do I need to edit and how so that the configurable products will show the original price?

I saw one post about editing


However I don't want to edit a core magento file for obvious reasons.


2 Answers 2


Copy this file vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml into your theme/module and remove the following condition,

!$block->isProductList() && on line 22:

Original Code:

 <?php if (!$block->isProductList() && $block->hasSpecialPrice()): ?>



Can anyone give me the exact location where to create the duplicate file of final_price.phtml as I'm unable to find the exact path/ location.

  • vendor\magento\module-configurable-product\view\base\templates\product\price\final_price.phtml Jan 27, 2020 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.