How do I customise the starting number for orders, invoices etc in Magento 1.5?
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