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.

1 Answer 1

0

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

How to override final_price.phtml in magento 2?

3
  • I think he wants to override the block
    – nuovecode
    Commented Mar 26, 2017 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. Commented Mar 27, 2017 at 17:52
  • So far I haven't found an effective and functional solution to this problem. Odd. Commented Apr 1, 2017 at 17:10

Your Answer

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

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