I overridden authentication popup of Magento 2 in my custom theme. I discovered that the file that is called for the popup is with the extension .html (authentication-popup.html). This way I can't add php code.

Can I change the format of "authentication-popup.html" to "authentication-popup.phtml"? How?


  • No, you can't. You can pass all data through js. Check how knockout js works – Sohel Rana Jun 4 '20 at 17:14
  • Ok, but with knockout.js can i get form of register.phtml and call him into authentication-popup.html? – Jackom Jun 5 '20 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.