Magento News

 

Get a old Email in customer_save_before

Hi, i need get a old email and compare with a new email using customer_save_before event

Test to listen customer_save_before event, getData(‘email’) return a new email and getOrigData(‘email’) not work

Test me too with customer_save_after and not work, getOrigData(‘email ‘) return 1 and getData(‘email’) return a new email.

is there any way to tell which is the email that was changed?

use: magento-1.4.0.1

Thanks

Get a old Email in customer_save_before

Possibly Related Posts:


 

Leave a Reply