Jump to content

 

padinsoft

Member Since 17 Apr 2007
Offline Last Active Nov 25 2019 11:42 PM
-----

Topics I've Started

Custom Order Number

04 March 2019 - 05:51 PM

It is already known that the order number can not be modified with a custom format, because it is sequential in the database and is associated with several tables.
 
But, you could create an addon with a table with two fields in which the order_id and the custom_format_order_id appear and can be hooked to make it work whenever the order_id is required.
 
This would allow showing the customer an order number with a custom format. This would help to avoid knowing the number of orders that the store has or that the competition controls how many sales you have (making false orders).
 
Is it possible? Any proposal?