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!

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.