0

How Can I override below name.phtml file from customer module

vendor/magento/module-Customer/view/frontent/templates/Widget/name.phtml
1
  • This is explained on the official dev docs. I'd recommended giving them a read.
    – Ben Crook
    Commented Jun 23, 2017 at 13:53

1 Answer 1

1

You can override the name.phtml by below path in your theme

app/design/frontend/YourTheme/Vendor/Magento_Customer/templates/widget/name.phtml

Let me know if you have any issue.

4
  • Patel +1 for you Commented Jun 23, 2017 at 13:24
  • can i add only html file in my theme ?
    – Devidas
    Commented Jun 23, 2017 at 14:22
  • i have override name.phtml file but not display on frontend..plz give me any soluction?
    – Devidas
    Commented Jun 23, 2017 at 14:24
  • Flush Magento cache?
    – Ben Crook
    Commented Jun 23, 2017 at 16:05

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.