Custom Start Number for Order Numbers in Magento 1.5

前端 未结 4 1005
我寻月下人不归
我寻月下人不归 2021-02-10 15:44

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

4条回答
  •  迷失自我
    2021-02-10 16:19

    Actually with the newer versions (and probably in 1.5 as well), there is an easier way to change it. In PHPMyAdmin, or your mysql client, go to the eav_entity_type table. Locate the table in the entity_type_code column (probably order), and set the increment_pad_length to be whatever you would like, as well as the increment_pad_char.

    Then you don't have to rewrite core code - a win-win.

    JMax

提交回复
热议问题