Magento 1.5中订单号的自定义开始号码 [英] Custom Start Number for Order Numbers in Magento 1.5

查看:183
本文介绍了Magento 1.5中订单号的自定义开始号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何自定义Magento 1.5中的订单,发票等的起始号码?

How do I customise the starting number for orders, invoices etc in Magento 1.5?

推荐答案



从magento论坛:


From magento's forum:

  • by LindyKyaw (Magento Team Member), changing start number (through sql query):
There is a table in the database which stored increment id of order.
It is called "eav_entity_store" table.
You can check which entity type id belongs to which entity by looking at 
eav_entity_type table.
You can run following query to update last increment id for the order.

    update eav_entity_store
    inner join eav_entity_type on eav_entity_type.entity_type_id = eav_entity_store.entity_type_id
    set eav_entity_store.increment_last_id=3001 
    where eav_entity_type.entity_type_code='order';



查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆