Magento 2 Custom Order Number
- for Magento 2.4.x (CE, EE)
Custom Order number Magento 2 Extension Easily manage your store documents numbering using prefixes and custom starting numbers.
Custom Order number Magento 2 Extension Easily manage your store documents numbering using prefixes and custom starting numbers.
User Guide
Our Magento 2 custom order extension module allows the business or online stores to set up their custom format for order numbers, invoice numbers, shipment numbers and credit memos. Admin can customize the counter step, counter starting number,and padding options. Our module enables the admin to add prefixes and replace a specific part of the order number with the prefix for all the invoices, shipments,and credit memos. This module ameliorates the management of the order.Additionally, it looks professional to customers and builds trust. This ensures concealing crucial business data from competitors.
Features
- Admin can Enable/ Disable the module.
- Time-zone offset option.
- Set up your own numbering format for order.
- Choose your counter starting number.
- Customize counter step.
- Choose padding digits for order Id length.
- Individual Reset counter options.
- Different prefixes for each invoice, shipment, and memo.
- Option to replace part of the order id with the prefix.
Steps:
Extension Installation
- Download the zip file
- Extract and put it into /app/code/
- Open Cli in the Magento directory and follow the below commands:
- php bin/magento s:up
- php bin/magento s:d:c
- php bin/magento s:s:d -f
- php bin/magento i:rei
- php bin/magento c:f
- php bin/magento cron:install
- php bin/magento cron:run
How to Configure
- Configuration Login to the Admin Magento,Stores > Configuration > VDCSTORE > Order Number

- Admin can Enable / Disable the product module.
- Timezone offset allows adjusting the timezone.
- Set up your order number format using counter, date, month, year, prefix, or country code.
- For example, we have kept the format as ORD-{yy} {mm} {dd} {counter}”, where ORD is a prefix followed by two digits of the year, month, and date, and the order number with padding according to the set counter.

- For example, we have set our counter at 19, with counter increment step at 1, and counter padding of 8. So our order id number would be 8 digits in length.
- Choose when to reset the counter automatically. You can choose from daily, monthly,or yearly.

- You can choose different numbering formats for invoices as well.
- For case 1, we have selected “INV-{yy} {mm} {dd} {counter}” format.

- Admin can set the counter, counter increment step, and counter padding as desired separately for invoices.
- For case 2, We have kept it the same as the order numbering format.

- We have added the prefix “INV to the order id format to differentiate order id and invoice id.
- The admin wants to replace the order part with a prefix, he can replace it.
- Here, we have not replaced any part of order id with the prefix.
- Admin can reset the counter for invoices.
- Same adjustments can be done for shipping and credit memos individually.
- For case 1, we have selected SHI {yy} {mm} {dd} {counter}” format.

- For case 2, We have kept it the same as the order numbering format.

- For credit memo settings.
- For case 1, we have selected MEMO-{order_id}” format.

- For case 2, We have kept it the same as the order numbering format.

Frontend Examples
- Front end view when a customer places an order at Admin s store.

- After the customer checkouts the particular product.

- The order number is generated as per the format set by the admin.
- Here the order date is 4th July 2022, and the counter was at 21. so the generated order id is as shown.

- Customer view of the order under my orders section
- Detailed view of order for a customer in his account.

Backend Process
- The admin can check the newly generated order and its details in order grid.

- The Admin can check the detailed order information.

- The admin can check the newly generated shipment and its shipment id.

- The Admin can check the shipment information in the shipments grid.

- The admin can check the newly generated invoice and its invoice id.

- The Admin can check the invoice information in the invoices grid.

- The admin can check the new generated memo id in the memo grid.

- Admin can check the memo information

What you'll obtain with our Magento Technical Audit
With VDC Store's Magento eCommerce technical audit you'll gain expert separate in-depth analysis with an exhaustive summary of the state of your store's code grade and overall usability.
-
An organizational summary of discoveries with preferences and a brief overview
-
3rd party extensions initial review
-
An exact description of results and suggested solutions
-
Database innocence review (to secure that data is recorded precisely as planned)
-
Top preferences for your architects
-
Code quality examination (periodic reflection of your store source code)
-
Examination of possible Magento core design changes
-
Speed and execution analysis (HTTP requests, optimizations, exhale headers…)
By a technical appraisal, the client not only obtains information about the issues the store is facing but also this examination by VDC Store allows them to acquire beneficial information and concepts for setting up programs to enhance sales and conversion drivers.
Our analysis appreciates the essence of your business. We are not utilizing an automatic procedure that is used in every case. We want to make sure you end up with suggestions based on the exact condition of your store. Start the discussion about the Magento technical audit you're curious in by filling out the Contact Us form.
Why Choose the VDCStore Magento 2 Custom Order Number Extension
Order numbers are more than just references — they shape the way customers and internal teams track, manage, and communicate about purchases. The VDCStore Magento 2 Custom Order Number Extension allows you to replace default Magento order numbers with your own customized format, helping your brand maintain consistency, improve internal organization, and deliver a more professional post-purchase experience. Whether you want sequential numbering, prefixes, suffixes, or specialized rules based on store view or sales channel, this extension gives you flexible control with zero coding required. Fully compatible with Magento 2, easy to configure, and lightweight, it enhances clarity for customers and administrators alike — contributing to stronger branding and smoother operational workflows.
Explore Our Customer Reviews
Comparison
Explore Our Hyvä Theme Demos
Need More Help?
Save time by starting your support request online and we'll connect you to an expert. Save time by starting your support request.
