0

I am using Magento 2.3 and I have a problem, I have a custom theme that displays the sale price of a product in the path app/design/frontend/mytheme/theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml and use the block in route vendor/magento/module-configurable-product/Pricing/Render/FinalPriceBox.php, How can I use a custom block to add more functions and call them in the template? for example app/code/myvendor/mymodule/Block/Product/Price/FinalPriceBox.php

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.