I want to show a popup when click on My Account header link.
As I could not find any phtml file for My Account.
Please anybody help me on this.
Any help would be appreciated.
customer-accountloginmagento2modal-popup
I want to show a popup when click on My Account header link.
As I could not find any phtml file for My Account.
Please anybody help me on this.
Any help would be appreciated.
Best Answer
You will have to override
/magentorootfolder/vendor/magento/module-customer/view frontend/layout/default.xml
either in your theme or extension & update below codeHere I have added css class
my-account-link
on My Account Link (on which you have to trigger JS code for modal popup). For that add below JS CodeContent that will be displayed in popup