- New
Replace random order codes (e.g. FTECXTKRM) for legible sequential numbers with leading zeros (e.g. 000000017). Configurable format, counter without collision for simultaneous orders, synchronization panel in the admin panel and automatic discrepancy detection and the ability to correct it in the module.
Read more navigate_next
80.49 tax excl.
Full compatibility with PS 9.x
A one-time purchase entitles you to unlimited updates.
Blik, Cards, PayPal, Transfer to the account. Implemented by: Imoje, FirstData, PayPal.
The module replaces the default random PrestaShop order code (e.g. FTECXTKRM) with a legible sequence number with leading zeros (e.g. 000000017). The numbers are easy to read, easy to find and convenient to communicate with the customer.
The order number is generated using the database counter (LAST_INSERT_ID). Even with hundreds of simultaneous orders, each receives a unique, unique number - without the risk of collision characteristic of solutions based on MAX(id_order)+1.
In the module settings, you can select from 1 to 12 digits. With 6 digits, the store will handle up to 999,999 orders, with 12 digits - up to a trillion. The module automatically blocks the reduction of the meter below the current value, preventing accidental shortening of the numbers when the meter is already high.
The admin panel displays real-time numbering status: the current value of the counter, the last 10 orders with a comparison of the generated number to the value saved in the database and a list of discrepancies. The Sync button allows you to restore the correct order numbers with one click, which is useful after data migration or manual database editing.
When the counter reaches 80% of the capacity of the selected digit length, the module displays a visible alert in the admin panel and saves a warning in the PrestaShop log - before it even overflows.
The module works through the standard actionGenerateDocumentReference hook. It does not overwrite PrestaShop core files, does not modify existing orders and does not require changes to the store template.
You might also like