1

I want to override this template file to my theme

vendor/amzn/amazon-pay-module/view/frontend/templates/widget/resetpassword.phtml

here is my theme path :

app/design/frontend/Custom/luma_child/

can anyone help here how to override this file.

Thanks in advance.

2 Answers 2

2

You can copy this file

vendor/amzn/amazon-pay-module/view/frontend/templates/widget/resetpassword.phtml

here in your theme

app/design/frontend/Custom/luma_child/Amazon_Payment/templates/widget/resetpassword.phtml

You can customize your file here.

You can find any module name in it's module.xml file, in your case you can find that here.

vendor/amzn/amazon-pay-module/etc/module.xml

and you can use that in your child theme.

Hope this will help you!

4
  • Ok thanks let me try Nov 1, 2019 at 12:50
  • Okay let me know if it will works for you then. :) Nov 1, 2019 at 13:12
  • 1
    yes worked +1 thanks Nov 1, 2019 at 14:35
  • Can you please approve my answer. If this helps you. Thanks :) Nov 17, 2019 at 5:15
1

You can override from

vendor/amzn/amazon-pay-module/view/frontend/templates/widget/resetpassword.phtml

to

app/design/frontend/Custom/luma_child/Amazon_Payment/templates/widget/resetpassword.phtml

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.