如何在Magento中更改订单开始编号 [英] How to Change Order Starting Number in Magento
本文介绍了如何在Magento中更改订单开始编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以更改Magento中的订单起始编号,而无需更改已经存在的订单编号?我只想为所有新订单设置170000xxxx.
Is there any way to change Order Starting Number in Magento without changing order numbers that are already there? I just want to set 170000xxxx for all new orders.
谢谢
推荐答案
查找eav_entity_store
并找到increment_last_id
.更新此编号,确保entity_type_id
对于订单正确.
Look in eav_entity_store
and find increment_last_id
. Update this number, making sure that entity_type_id
is correct for orders.
查找订单的entity_type_id
SELECT entity_type_id FROM eav_entity_type WHERE entity_type_code = 'order';
这篇关于如何在Magento中更改订单开始编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文