Magento 2 custom order number is released with the helpful support to store owners make the flexible changes to the Order number increment ID. With the customized formula is built up depending on the targeted messages of a store owner, hence, the business data is more safely protected.
Especially, one of the most highlighted features of this module is creating the same invoice number based on order number. This function leads the steps of the backend to become simplified and time-saving.
It is widely admitted by a huge number of online shop owners that modifying the formula of orders and relating billing documents (invoice, shipment, credit memo) is necessary. This is the changing of boring default number string like 00000001, 00000002 to more complicated one such as ORD-01-300318-0001 or INV- 01-300318-0001 for an order placed on Mar 30th, 2018.
Such a sensitive kind of number strings follows a secret structure set by each store owner, which will protect their data from competitives. Besides, it also impresses shoppers or visitors by overall professional-looking number systems from order, invoice, shipment to credit memo.
Take a close look at a noted feature of Mageplaza Custom Order Number - matching invoice number with order number. This function allows admins to track all billing documents more efficiently.
The invoice number will be set up synchronically with order number, for example:
The order number is ORD-01082018123, then the invoice number will be INV - 01082018123
Hence, to set up the invoice number, let ’s take a look at the customized formula of custom order number in the admin backend
To configure this extension please go to Login to the Magento Admin, choose
Store > Settings > Configuration > Mageplaza Extensions > Customer Order Number.
At General Configuration section, choosing
Enable box to activate the module.
At Order Number section, choose
Enable box to activate this function.
Then, you will see some boxes with particular functions as follows:
Counter by Stepfield below.
Counter Start Fromfield, after entering a new value and saving, admins need to click on
Reset Nowbutton so that the Order ID can get a new
Counter Start Fromvalue.
Counter Start Fromvalue that is using at 00h daily
Counter Start Fromvalue that is using at 00h the first day of the week
Counter Start Fromvalue that is using at 00h the first day of the month
Counter Start Fromvalue that is using.
Counter Start Fromvalue that is using instantly. For example,
Counter Start Fromfield is 10000 now,
Counter Stepis 5. After a long time to order and click on
Reset Now, the ID of the next order after resetting will start from
Counter Start From + Counter Stepvalues.
Now, you have finished the based step to form the formula of order number. To set up the same invoice, it will be very simple as follows:
Enable box, please choose option
“Same as order number”
Replace box, type the prefix of order number would be changed. At To box, type the replacement value.
For example, The Invoice ID of an Order ID which is ORD-01-10-2005-000123 will be INV-01-10-2005-000123
It comes to the end of tutorial: How to setup Same Invoice Number with Order Number in Magento 2.