Custom Order Number for Magento 2
Easily manage your store documents numbering using prefixes and custom starting numbers. Fluently change counter increment step to protect your business data from competitors and attract more customers.
- Set custom starting numbers for all order documentation
- Hide business data using increment intervals
- Use prefixes and postfixes to change documents numbering
- Adjust numbers to your local jurisdiction requirements
Win customers appreciation and easily manage order numbering
Store owners often need to change Magento 2 order numbers either for customer convenience or to keep business information safe. In such cases, they need specific functions because native Magento numbering is not very convenient. With custom order module store owners can easily customize invoices, shipments, orders and credit memos according to their needs.
Attract new clients using order numbers
It’s not a secret that customers are more likely to buy items in big and trusted shops that have lots of buyers. Very often people can judge about your sales volumes by the order numbers. With Magento 2 custom order number extension you can easily change starting order numbers and Magento 2 invoice numbers by adding relevant prefixes and increment steps.
Easily meet your local invoice numbering requirements
With the help of the Magento 2 custom invoice number module you can set necessary invoice numbering that meets jurisdiction requirements of your country or region in a couple of clicks.
Fluently migrate from another webshop to Magento
When you move from another e-commerce platform to Magento you often need to adjust order numbering. In this case, you just need to set order starting numbers and implement them for the new site. See how to migrate all your data to Magento 2 securely.
Keep your business info private
Hide real order numbers from competitors
Thanks to Counter Increment Step option you can change the real numbers of consecutive orders. E.g. when increment of 4 is set, it means that if the first order has id 1, the second one will have id 5.
Make sure your business data is kept secure.
Specify order numbers
The module enables you to set Magento 2 custom order numbers manually. If you specify the starting number and an increment step, the module will change all order numbers respectfully. Using this feature you can keep real order numbers only for internal use.

Customizable order documentation

Change Magento 2 order number prefix
With the help of Magento 2 order prefixes and postfixes you can easily change number settings for the orders, invoices, shipments and other order documentation.
Customizable order number padding
You can implement a certain length for the order numbers to make them easy to perceive. E.g. if you set a padding as 4 it means that all your Magento 2 order numbers will have four symbols. Therefore, if you have an order starting with 2, its number will be 0002. Using this option you can easily export all your store data to CRM system.
What is number padding or leading zero? See here.
Increase the chances for your emails to be actually delivered to customers
Send reliable emails from popular hosting services and reduce the possibility to get into spam with the magento custom smtp extension.
According to the statistics, the extension can cover each business need in synergy with the following solutions: magento 2 delete orders and magento 2 custom invoice.

Other Features
- 100% Open Source — Easy To Customize
- Follows Magento Code Architecture
- Separated HTML/CSS/JS
- Simple installation via Composer

however, we really need a tool which will give completely random order numbers without changing the settings again and again - automatically. there is no such tool on the market.
maybe you guys could think about it? many shops with a middle or large amount of orders would love that =)
you'll be logged in automatically
add a product to cart, then go to checkout to see order numbers
Are you looking to add specific functionality for this extension or want to acquire a reliable development partner altogether? With custom development services by Amasty, you will receive high quality and cost-effective solutions developed by Magento professionals according to industry’s best practices.
Magento 2.2, 2.3, 2.4
You can always download the recent version free of charge from your account
Installing an upgrade is easy — check now
- Fix we fixed the issue with increment_id updating on object save
- Compatibility now the extension is compatible with Magento 2.3.6 and 2.4.x
- Compatibility compatibility with Amasty Admin Actions Log was enhanced
- Fix we added a check for entity type for sequence plugin
- Fix we resolved the problem with the processing of the ‘country_code’ variable
- Fix we fixed the issue with the replacing of the ‘country_code’ variable in orders
- Fix we resolved the problem with the creation of invoice, shipment and credit memo
- Fix we added an option to use only ‘counter’ in the order number pattern
- Improvement we reviewed and enhanced the code of the extension. Now the process of order placement is significantly advanced.
- Fix we solved the problem with the same numbers for orders that were placed at the same time
- Fix the error `The requested store wasn't found. Verify the store and try again.` was resolved
- Fix the issue with the error after updating the extension was resolved
- New the new variable {country_code} is available for custom order number. A country from the shipping address will be used for generating the country code to the order number
- Fix the issue with increasing the order number after the invoice or shipment creation was resolved
- Fix the problem with getting LastIncrementId was resolved
- Fixed an issue with the counter when the order was placed in other days
- Compatibility with the Amasty Multi Warehouse Inventory extension was added
- Fixed issue with Same as Order Number setting
- Fixed an issue with reset counter: now the counter doesn't reset if this option is not enabled in settings
- Fixed the problems during the order, invoice and shipment creation
- Code Refactoring
- Fix for passing order ID to PayPal