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.

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

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!

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

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.