ok but why do you need a custom order number?
Where is this number originating from? order creation at checkout (catalog) or Admin order creation (admin)?
If it is originating from Catalog, then you need to edit the "/sale/order.php" model file and add your new column in the Sql queries. Same principle for Admin if it is the case.
As you want to display it in your list, then you will have to edit the "getOrders" query as well, by adding your new column in the search array().
Then you need to also update the controller, the language and the template to display the new column header and content.
Not that easy. Good luck!
Where is this number originating from? order creation at checkout (catalog) or Admin order creation (admin)?
If it is originating from Catalog, then you need to edit the "/sale/order.php" model file and add your new column in the Sql queries. Same principle for Admin if it is the case.
As you want to display it in your list, then you will have to edit the "getOrders" query as well, by adding your new column in the search array().
Then you need to also update the controller, the language and the template to display the new column header and content.
Not that easy. Good luck!
OpenCart custom solutions @ https://villagedefrance.net
Who is online
Users browsing this forum: No registered users and 8 guests