we have overwritten the FinalPriceBox.php in order to show a custom price with some conditions. This works well with the categories and product page. But we have seen it's not working on the wishlist. We have been debugging and checking if it followed the same route and if it went through vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php and it does.

Our question here is why does this overwriting work with the category and product page and not with the wishlist when we have overwritten the class which uses in our custom module.

We have compiled, deployed, cleaned cache and reindexed.

Thank you

Your Answer

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

Browse other questions tagged or ask your own question.