第一个大问题是,在找到大量解决方案后,我们如何才能更改Magento 1.8中的电子邮件地址,因此我与大家分享。

最佳答案

使用默认的用户名和副本打开Putty –将以下脚本粘贴到其中。
客户电子邮件更改

select * from sales_flat_order_address where email='old@gmail';
update sales_flat_order_address set email='[email protected]' where email='old@gmail' and telephone='Telephone Number';


select * from customer_entity where email = 'old@gmail';
update customer_entity set email = '[email protected]' where email ='old@gmail';

select * from sales_flat_order where customer_email='old@gmail';
update sales_flat_order set customer_email='[email protected]' where customer_email='old@gmail';

select * from sales_flat_quote where customer_email = 'old@gmail';
update sales_flat_quote set customer_email='[email protected]' where customer_email='old@gmail

关于sql - 更改Magento1.8中的现有客户电子邮件地址,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/59766494/

10-16 20:23