I have one extension and it has the following file: app/code/[Namespace]/[Module]/view/frontend/templates/test.html

I want to override that specific file in my theme: app/design/frontend/[Namespace]/[ThemeName]

So how can I do that please help me.


It will be overridden in the following path.


For example the file is


It will be overriden in the following path


  • Hi @Qasim Let me try this and after it I have to RUN any command? – Rajan Soni Mar 5 '18 at 12:00
  • @Rajan you need to remove the pub/static var/ and run sudo php bin/magento setup:static-content:deploy after this – Qasim Ali Saeed Mar 5 '18 at 12:21
  • still it generated from the extension file app/code/[Namespace]/[Module]/view/templates/test.html What can I do so it will be generated from the app/design/frontend Please help me if you have already fixed it. – Rajan Soni Mar 6 '18 at 5:52

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.