在 Magento1.8 中更改现有客户电子邮件地址

Change Existing Customer Email Address in Magento1.8

第一个大问题,我们如何在 Magento 1.8 中更改电子邮件地址,我找到了很多解决方案,所以我与大家分享。

使用您的默认用户名打开 Putty 并复制 – 将以下脚本粘贴到其中。

客户电子邮件更改

select * from sales_flat_order_address where email='old@gmail';
update sales_flat_order_address set email='new@gmail.com' where email='old@gmail' and telephone='Telephone Number';

select * from customer_entity where email = 'old@gmail';
update customer_entity set email = 'new@gmail.com' where email ='old@gmail';
select * from sales_flat_order where customer_email='old@gmail';
update sales_flat_order set customer_email='new@gmail.com' where customer_email='old@gmail';
select * from sales_flat_quote where customer_email = 'old@gmail';
update sales_flat_quote set customer_email='new@gmail.com' where customer_email='old@gmail