Magento2: How to overwrite


Just do following steps

1 . Add phtml file in your layout xml file

<action method="setTemplate">
     <argument name="template" xsi:type="string">Namespace_Modulename::configurable.phtml</argument>
  1. After that add configurable.phtml file in your module/view/frontend/templates/ folder

Note : Clear cache

For more information click here

  • nothing happens after following the steps above.
    – Tora
    Sep 25 '18 at 2:54
  • @Tora did you find any solution? Please share.
    – Fena shah
    Nov 6 '20 at 8:13

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.