Magento 1.9 getCompanyName from registration form field
-
11-12-2020 - |
Domanda
I have a custom module with an event observer that sends an e-mail to the admin as soon as a new user registers.
In my registration form i am using also the company field. Now I would like to show the company name also in my e-mail to the admin.
How can I call this value? Everything I tried so far did not work. Who can help ?
thanks
Soluzione
You can try to get it from POST request.
Mage::app()->getRequest()->getParam('your_field_name')
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange