Custom Order Number extension for Magento 2

Version 1.1.0
  • Lifetime Updates


  • Lifetime Support


  • Money Back

    Money Back

This product is GDPR Compliant
    • Powerful templates for order, invoice and credit memo documents
      Create any custom order, invoice and credit memo numbers using templates.

    • Context generation for Magento 2 order numbers
      Use prefixes & custom numbers to indicate the kind of documentation.

    • Business info protection from turnover estimation
      Set custom increment numbers to hide business data.

    • Customer-friendly order number digits
      Customize order/invoice/shipment/credit memo numbers.

    • Invoice numbering to meet local requirements
      Easily adjust order numbers to country/region jurisdiction.

CE 2.2.x - 2.4.x; EE 2.2.x - 2.4.x

The version for Magento Enterprise comes with:

  • Priority Support


  • Personal Assistance


  • Product Consultancy


Select Magento Extension Builder
Magento Marketplace
Magento Enterprise
Composer Packages

What is Custom Order Number extension for?

Expand the native numbering scheme of Magento 2 through order length editing, custom prefixes, increment prefixes, and starting numbers.

With this under control, you’ll protect valuable business data from being publicly available, indicate the kind of documentation (order, invoice, shipment or credit memo), make order number digits more customer-friendly, and so much more.

  • Comes with FREE life-time support from the certified Magento specialists.
    • Includes FREE life-time updates.

The Issues Custom Order Number Extension Solves


Custom Order Number Functionality


By default, Magento 2 does not allow you to customize order numbers according to the business needs. As a result, merchants can be vulnerable to making critical business data publicly available ― based on the succession of order numbers that cannot be changed.

Additionally, invoicing is subject to country-specific regulations. While this kind of jurisdiction can be different from country to country, inability to customize invoice numbers in order to meet local requirements can become a challenge.


The Magento 2 Custom Order Number extension helps quickly deal with the related customization difficulties, thus helping you protect the business from turnover estimation or other activities from the competition. For starter businesses, this can be a great way to increase the orders count artificially, for instance, and not only.

Feature Highlights:

  • Ability to specify the order number format
  • Setting up counter increments step
  • Prefix/suffix setup
  • Order number padding
  • Ability to replace a specific order number part with a prefix

Custom Order Number Templates


The process of customizing numbers for orders, invoices, shipments, and credit memos can be twisted and complicated. The ability to use separate templates for each documentation type would create the freedom of making documentation-specific settings flawlessly.


With Custom Order Numbers Magento 2, you can conveniently set up templates for any kind of your stores documentation, such as orders, invoices, shipments and credit memos. Templates get configured and applied in a few mouse clicks.

Feature Highlights:

  • Order templates
  • Invoice templates
  • Shipment templates
  • Credit memo templates

Dynamic Variables


Native Magento 2 functionality is limited when it comes to order numbers customization. Ability to include dynamic variables allows configuring this critical store data in a way that is most clear and convenient for store administrators.

Additionally, you get the necessary degree of privacy for business data related to turnover estimation ― based on, say, numbers of orders made a month apart.


The Order Number Magento 2 extension empowers you to add dynamic information order numbers using multiple variables.

Feature Highlights:

  • Variables to create random order numbers of different length
  • Date variables to be replaced with order date
  • Multiple formats of date variables
  • Counter variable & steps configuration
  • Ability to use store ID variable

Prefix/Suffix Customization


Order numbers that get generated in default Magento 2 do not indicate the kind of documentation they refer to. This causes particular challenges when trying to distinguish orders, credit memos, shipments, and invoices using their numbers.


MageWorx Custom Order Number extension helps deal with this challenge by adding a custom prefix, suffix, or text.

Feature Highlights:

  • Custom prefix/suffix for order templates
  • Custom prefix/suffix for invoice templates
  • Custom text within any template part
  • Custom prefix/suffix for shipment templates
  • Custom prefix/suffix for credit memo templates

Features of Custom Order Number for Magento 2

Order Templates

Create the templates for all types of order documents to cover all your business requirements. You’ll be able to:

  • create the templates for order ID, invoice ID, shipment ID and credit memo number,
  • apply the order template for invoices, shipments and credit memos or specify different template for each entity

Invoice Templates

Create the template for the invoices to meet your local requirements. You’ll be able to:

  • create the templates for invoice ID using all available variables,
  • use the order ID template or specify a completely different one,
  • use custom prefix that will replace the order's prefix automatically.

Shipment Templates

Create the template for your shipment documents to meet your carrier requirements. You’ll be able to:

  • create the templates for shipment ID using all available variables,
  • use the order ID template or specify a completely different one,
  • use custom prefix that will replace the order's prefix automatically.

Credit Memo Templates

Create the template for your credit memo documents to meet your accountant requirements. You’ll be able to:

  • create the templates for credit memo ID using all available variables,
  • use the order ID template or specify a completely different one,
  • use custom prefix that will replace the order's prefix automatically.

Dynamic Variables

Use the dynamic variables to generate the order numbers that suit your business. You’ll be able to:

  • use the date variables that will be replaced with the order date,
  • use multiple formats of the date variables,
  • use counter variable,
  • set the step for the counter variable,
  • use the variables to generate random numbers of different length,
  • use the store ID variable.

Custom Prefix/Suffix

Add any custom prefix, suffix or custom text to the templates. With the extension, you'll be able to:

  • add any prefix/suffix to the order template,
  • add any prefix/suffix to the invoice template,
  • add any prefix/suffix to the shipment template,
  • add any prefix/suffix to the credit memo template,
  • add custom text to any part of the templates.
This extension for Magento 2 is fully GDPR complaint. The software neither collects nor stores any personal users' data.
Also, the extension doesn't share any personal info with third parties, and doesn't use this data for any marketing purposes.


How to install our Magento 2 extensions?

We offer 4 independent ways of Magento 2 extension installation:

What Magento editions do MageWorx extensions support?

MageWorx extensions support Magento 2 Open Source (former Community), Commerce (former Enterprise) editions including Magento 2 Commerce Cloud platform.

MageWorx Repository: how to use it?
Our own repository has been primarily intended to facilitate and speed up the process of MageWorx extensions installation and update.
In order to work with the repository, you’ll need to have the Composer on the server first. This is the package manager of the PHP software that allows you to update & install scripts on your site.
Click here for further installation instructions > > >
Can I use 1 MageWorx license on multiple websites and staging/test hosts?
According to MageWorx License Agreement, 1 copy of MageWorx software can be used on 1 Magento production installation. Thus, separate Magento installations require purchasing separate licenses.
Please mind that the extensions are not domain related, i.e., if you run each website one 1 Magento installation, then 1 license can be used. However, if you’ve got several websites on different Magento installations, then separate licenses for each of them should be purchased.
Full MageWorx License Agreement is available here > > >
Before going live, can I test a MageWorx extension on a staging site?
Yes, you can install and set up any MageWorx extension on a test environment before making changes on your production site.
Are MageWorx extensions compatible with 3rd party themes?
By default, all MageWorx Magento 2 extensions are tested on three most popular themes: Luma, Ultimo, and Porto.
Are MageWorx extensions mobile-friendly?
In the world where 45% of purchases are completed via mobile (according to Retail Dive), we find it crucial to test and optimize all MageWorx extensions for mobile friendliness.
How can I pay for MageWorx products?
Two most common payment methods are currently accepted ― credit card & PayPal. All the payment transactions are carried out in full compliance with the security and confidentiality requirements.
For how long can I get free updates?
MageWorx offers free LIFETIME updates & support.
How can I get tech support?

Currently, MageWorx Magento support team can be reached via:

How can I migrate from Magento 1 to Magento 2?
Database migration, migrating custom-built functionality & design, as well as migrating advanced SEO settings ? these and other options are available within our one-stop migration service.
To get a quote, you’ll need to contact our Client Relations Manager.
Request an estimate here > > >
How can I get a refund?
30-day money back guarantee is offered for MageWorx extensions that have been purchased via our site ? customer satisfaction & creating true value are our top priority! Please mind that this is with the exception of those Magento 1 extensions that are intended to be upgraded to their Magento 2 versions within 30 days since the moment of M1 version purchase. In such a case, a refund will be applied solely to the Magento 2 extension version.
Full MageWorx Refund Policy is available here > > >
Does MageWorx have a discount program?
Reward points, bulk & upgrade discounts ? at MageWorx, we do our best to show appreciation to our new & existing customers. Joining the program is fast and easy. To start saving with us, you need to create an account.
To learn more about how much you can save on shopping with MageWorx and get detailed instructions, please
Follow the link > > >
How can I become an affiliate?
By helping MageWorx promote our extensions, you can earn up to 50% on every order. To join the affiliate program, you need to create an account on our website, go to ‘My Profile ― Affiliates’, then complete & verify your affiliate profile! That’s it!
More details on MageWorx Affiliate Program is available here > > >

Reviews of Custom Order Number extension for Magento 2

Only registered users can write reviews. Please, log in or register


On January 10, 2021
- SamP Lakewood, United States United States Verified User
Nice extension, excellent support!

easy installation

On November 2, 2020
- Trace United States United States Verified User
We needed an easier way to track our orders, and custom order number module helps achieve that. The installation was fast and easy. We are satisfied

Trusted partner with good extensions

On January 31, 2020
- Michael WXP Anchorage, United States United States Verified User
One of our clients needed the custom order number functionality. The extension by Mageworx met all the requirements and it’s not the first year that we are working with the team. So the choice was easy as we trust their products 100%.
Product Changelog
  • Legend:
  • New Feature
  • Bug Fix
  • Version: 1.1.0 (October 12, 2020)
  • Magento 2.4 compatibility
  • Version: 1.0.1 (August 22, 2019)
  • Bug fixes
  • Version: 1.0.0 (June 12, 2019)
  • Initial release