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

标签 sql ubuntu magento-1.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

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

相关文章:

java - "Quick and Dirty"Java中的人脸识别和数据库存储/查找

java - 如何使用 JOOQ 获得简单的 Sum?

ubuntu - Dymola 图 TableView 中缺少连接

php - 检测文件已更改并自动更新的简单方法是什么?

ubuntu - Amazon Web Service Beanstalk 上的 Dockerfile 问题

magento - 将子 SKU 添加到 Magento 全文搜索索引

magento - 提供了非法方案,Magento 1.8 中只允许使用字母数字字符

mysql - 合并两个sql查询

sql - CTE 表达式中的 TSQL-ORDER BY 子句?

Magento:以编程方式创建 Magento 订单