1

Due to a bug in CE 2.1+ (See Here, I am trying to replace a core Magento file:

\vendor\magento\module-catalog\Pricing\Render\FinalPriceBox.php

with my own version. However, I have tried inserting this into several different existing theme locations and it doesn't get picked up.

How can I replace this core file with my own version (You can see what I did in the above linked github thread).

Any help is appreciated.

0

You can try to override final price template as per following thread.

How to override final_price.phtml in magento 2?

  • I think he wants to override the block – nuovecode Mar 26 '17 at 20:04
  • Yes, unfortunately, your solution is to replace the final_price.phtml file, which in my testing, didn't solve my problem (I'm trying to remove the As Low As completely), so far the only solution that I've found is to comment out he function renderAmountMinimal() contents in the FinalPriceBox.php file. So I'm trying to replace this actual file with my own version. – Spyrule Mar 27 '17 at 17:52
  • So far I haven't found an effective and functional solution to this problem. Odd. – Spyrule Apr 1 '17 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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