[TYPO3-commerce] How to reset the order-numbers?

Franz Koch typo.removeformessage at fx-graefix.de
Sat Oct 6 09:55:33 CEST 2007


Hi,

> Anybody know how i can reset the counting order-numbers to "0"?

in the default setup the order-numbers are generated using a timestamp 
and some other techniques, so that the order-number is unique.

If you use the addon extension 'com_ordernumber', it might be a bit 
harder if you don't have ssh-access on the webserver, because the 
extension stores the count-value in a file named 
'YOUR_DB_NAME.tx_com_ordernumber_orderhooks.counter' located in /tmp 
(which is not a good idea in my eyes). So, to reset the counter you have 
to set the value in this file to 0. Additionally you should clear the 
orders-table as well as the basket table.

Or, have a look at 'com_ordernumber' and write your own extension just 
as you like it.

--
Kind regards,
Franz


More information about the TYPO3-project-commerce mailing list