Custom Order Number | v1.1.1

For M1
For M2 Custom Order Number for Magento 2
Magento 1
Take control over your order numbers. The extension enables you set any starting numbers and prefixes for all types of store documents such as invoices, orders, shipments, credit memos. Protect your private business info from your competitors and make your store more user-friendly.
Set any starting numbers for all document types
Specify increment intervals and numbers length
Use prefixes and date postfixes for numbers
Mask important data to protect your business
Adjust numbers to your local legislation
30 Days moneyback
50% Off updates
120 Days free support

Change Megento Order Numbers in your store to hide important business data

Customize your store numbers

Unfortunately, native Magento numbering model is not functionally rich. Because of this store owners may face a problem of inadvertent revealing important business info or confusing customers with long order numbers. The Custom Order Number extension helps to avoid all these issues by customizing invoices, shipments, orders and credit memos according to your needs.

Set custom Magento invoice numbers to draw new clients

It’s obvious that the more orders you have, the more attractive you look in your customers’ eyes. Low numbers can undermine trust of your clients and stop them from purchasing. At the same time numbers can clearly demonstrate your state of affairs to all you rivals. To make better impression on your users and hide your weak points from competitors you should learn how to set order number in Magento. For instance, you can show a random order number or change Magento invoice number. Customers are more likely to return to your shop if they see thousands of orders from people who trust your services. With the extension you can change starting order number in Magento, set relevant prefixes and increment steps.

Meet your local record keeping standards

Adjust document numbers according to the requirements of your local jurisdiction in a couple of clicks. Due to the ability to fine tune the format of Magento order number and invoice numbers you can make appropriate settings at once and forget about all kinds of discrepancies.

Transfer your data to a new Magento store

In case you are operating a new Magento store and want to preserve the orders and invoices count of your old online shop, use Magento custom order number option. Just set the starting numbers according to your needs and implement them for your new site.

Win customers' appreciation and mask important order and invoice number

Easy steps to change order number in Magento store

In order to help you keep your business info private, this Magento module allows changing order number. Counter Step option lets you hide the real numbers of consecutive orders. For example, you set an increment of 5; it means that if the first order has id 1, the second one will have id 6.

magento custom order number
magento order number increment

Set starting order number to protect your private information

As long as you’re not going to demonstrate the real numbers to your customers and competitors, it’s better keep this info only for your internal use. The module enables you to set Magento order number manually and display the data you need. In case with a new store it is also useful to set Magento random order number. Such measures guarantee that no one, except for your store managers, will find out your private business info.

Customize order ID to make your web-shop user-friendly

Change Magento order number prefix

Specify document, for which to modify the numbering model. The extension conducts order number change, alters invoices, shipments, etc. with the help of Magento order prefixes and date postfixes for each type.

magento order number prefix
magento custom invoice number

Customize Magento order number padding

To make the numbers more readable you can implement a certain length for them. For example, you need the starting number to be 2 and want all numbers to have 4 symbols, then you need to set a 4 padding. In this case your numbers will start from 0002. Using this option you can easily export e-shop data to your CRM system.

Monitor internal order number in Magento

The extension allows you to customize Magento invoice numbers or order numbers to display to your buyers. At the same time you will not fall under this illusion; e-shop owners and staff will always be aware of the real picture.

See other effective ways of store protection and order management

Track everything that happens in your online store

To enrich your list of inner management tools try also our Admin Actions Log. This module enables you to easily track all log actions in your store and prevent it from malicious login attempts.

Benefit from effective order management

Easily export Magento invoice number, shipment, product & credit memo data as well as order-related output of third-party extensions with the help of Efficient Order Export module.

7 reasons to choose
Risk-free Investment

30-day moneyback guarantee for all extensions. No questions asked.

Comprehensive Documentation

There is a detailed user guide with examples even for tiny addons. FAQ section and videos also available.

Solutions Which Work

Careful in-house testing ensures you get robust applications. Multiple stores support. Custom themes compatibility. All included.

Outstanding Support

Our support service is friendly and of high quality. And it is free. Unbelievably. Just check independent reviews at Magento Connect.

Usability and Performance

Nice and easy to use interfaces. Fast algorithms. Save your time and get things done.

Flexible and Easy Licensing

No product or store view or domain limits. No monthly fees. No hidden charges. One extension license for one Magento installation.

Long Term Strategy

We've been in the market for 5+ years. We're proud to be a Bronze partner and are planning to stick to Magento platform for years ahead. We're doing our best to build extensions which maximize effectiveness of your business. We're open to customers' suggestions and constantly update our products to match your needs.

Other Features

  • 100% Open Source — Easy To Customize
  • Follows Magento Code Architecture
  • Separated HTML/CSS/JS
  • W3C Validated Code

Online Extension User Guide

* The name "Magento" and the logo are the trademarks of Magento, Inc.

General Questions

How can I pay for Amasty extensions?

You can pay for our extensions in any convenient for you way as a full range of payment methods are supported. The most common means are credit card or PayPal. Security and fraud protection are guaranteed.

What is the license policy? On how many websites can I use Amasty extensions?

Our license allows you to use a single extension license on one Magento installation.

Extension is not domain related, but installation related. If you run several domains on the same instance of Magento, you can use one extension license. However if you run each website on a new installation of Magento, you need separate license for each of them.

The full end-user license agreement is located here:

How to install Magento extension by Amasty?

Each Amasty extension pack includes module files, an installation guide, a user guide and license text. Depending on the extension you purchase, there also may be import files which can be used by you as examples.

Amasty extensions are easy to install. All you need is to have FTP/SSH access details, and follow 3 steps to complete.

  • Unpack a "zip" file you download.
  • Upload all files from the "Step 1" and then from the "Step 2" folders to the root folder of your Magento installation.
  • Clear the cache.

If you are using code compilation, before installing the extension it's necessary to disable it! After you install, click the "Run Compilation Process" button in Admin - System - Tools - Compilation to recompile.

Please also check the extensions installation video guide:

Still unsure? Have complicated configurations or a lot of modules? We can offer professional installation service as well!

Can I test an Amasty extension on a staging site before transferring it to a live one?

Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.

Can I get a refund if an extension doesn’t suit me?

Absolutely. Amasty provides a 30-day money back guarantee. No risks for you.

Will I get any other benefits?

Yes! The good news is that every Amasty customer becomes a member of our Loyalty Program and can get a discount of up to 15%. You can find more information about it on the Program page. This is our way to thank you for being our client.

Product questions

Will I be able to continue an existing numbering system?

Yes, sure. You can just change its format according to your business needs with the help of the following variables: {counter}, {store}, {yyyy}, {yy}, {m}, {mm}, {d}, {dd}, {rand}. You are free to use any combinations of these variables.

Is it possible to use consecutive order numbers for different stores/views?

Yes, you can do that. Just navigate to System > Configuration > Order Number, choose “Current Configuration Scope” to be “Default Config” and configure the Order Number settings according to your needs. They will be applied to all the websites and store views under your installation, thus consecutive order numbers will be used. The same logic can be applied to set up a global prefix and increment across multiple stores.

Can I customize order numbers on a store-view level?

Yes, of course. You can configure the settings for order, invoice, shipment and credit memo numbers per each store view.

Can I reset an order number counter on a regular basis?

Yes, it’s possible with our Custom Order Number extension. There are 3 time periods available: reset order numbers each day, month or year. Moreover, you can choose not to reset the counter at all.

To choose the option which suits you best, please navigate to System > Configuration > Order Number > Order > Reset Counter on Date Change:

Magento Custom Order Number extension by Amasty


This setting is also available for Invoice, Shipping and RMA* numbers.

*RMA order numbers options are available for Magento EE users only. If you are using Magento CE, you can consider this RMA extension.

Can I change numbers of already existing orders, invoices and shipments?

The extension settings are non-retroactive. This means that only newly created order will be affected by any customizations made with the Custom Order Number extension.

Can I add a suffix instead of a prefix?

Yes, sure. The number format of each document type is highly customizable. That will help you to adjust the numbers to your requirements.

Is it possible to make only the shipment number equal to the order number and leave invoice number unchanged?

Yes, such a setting is easily achievable due to flexible extension settings. Each option – Invoice, Shipment, Credit memo numbers – can be set to either be the same as order number or different.

In case if you need to have the shipment number the same as the order number but configure the invoice number independently, you should choose the following settings in System > Configuration > Custom Order Number:

Magento Custom Order Number extension by Amasty

Can I set a random number increment?

With this Custom Order Number module you will be able to choose any counter increment step, so that your competitors won’t be able to detect sales made in your store.

This can be done in System > Configuration > Custom Order Number > Order > Counter Increment Step:

Magento Custom Order Number extension by Amasty


Increment steps can also be customized for invoices, shipping and credit memos.

What happens with multiple invoices on one order?

If one order has more than one invoice, a duplicate separator will be used to differentiate the invoices, e.g. "10000000123-1", "10000000123-2", etc. This also applicable to other documents numbers.

What types of Magento order numbers are affected by this extension?

Only numbers seen by customers are changed. Internal Magento data is not affected.

could be better - some things to fix
Hi. this extension is not bad, but it can run your store into trouble. why?
1. you cannot preview numbers that you will have - next number
2. there is not validation for duplication - so if you give wrong counter id, your next order will be saved with bugged number, and you will not be able to crate shipment/invoice. it should have de-duplication like Fooman extension does - if there is the same id in database - Fooman extension adds suffix (-1) to numbering and correct scheme is not broken
3. start counter from is not proper - it adds +1 to your number, so if you don't know this "hint" you will start numbering from 2 or have gap in numbers. this "bug" should be corrected asap.
4. if you delete orders, you are in trouble with numbering
5. reset numbers in not working on Jan next year. or am I wrong? since you have no preview for numbers - you have no New Years eve - because you must track and wait for order if its numbers are correct.
extension is not bad, but could be fixed. especially it would be good to develop COMBO with DELETE ORDERS COMPLETELY (invoices/shipments), and those 2 could save hours and troubles for each store. but custom order number should cooperate with DELETE ORDER - if you delete order, number scheme should be reverted back
Tomek Jordan
works flawlessly!
We have been searching for this extension for a while and this extension from Amasty works perfectly without any issues what so ever. It just works as advertised. I would definitely recommend this product.
I like the features
Keeping order data in confidence is a tricky problem for m e and I had been searching the solution for a long while. Thanks to this addon I can hide the real data from competitors. Moreover I got one more useful feature that I have been searching for. Now I can use prefixes in front of the invoice numbers.
Great support
Good extension with great support. We found one error and it was corrected on the same day.
Worthy tool for specific needs
Trying to expand our apparel store business we started r unning it in 3 languages that caused us some inconveniences with order numbers. Not that we wanted to mask our real numbers, we just needed to separately manage orders from different store views. So, the increment step and prefix options for multiple store views were a real catch.
As for the technical part we didn’t notice anything to pick at. The plugin ran out of the box making us sigh with relief. Hope there won’t be any troubles with it in future as well.
Magento Connect
very useful extension
I needed to change order number for inner purposes. I'm happy I've found that extension as it helps me with that. This is my second extension by Amasty. Thanks!
Great extension - especially for multistore
This extension does exactly what we need. We run a multistore setup, and want to be able to easily identify the store by the order number, as well as have the order numbers increment together. This extension allows us to have a prefix for each store, so the order numbers are, for example: AA10123, BB10124, AA10125, etc. The native magento order numbering did not offer this flexibility, and it wasn't as easy to read!
Taylor Johnson
A bunch of helpful features in one module
I easily keep all my inner numbers under control with this tool. The feature of placing appropriate prefixes made my work much easier.
Keeps all my accounting under control
I'm totally satisfied with the extension - its functionality and its quality. I really appreciate that now no one knows my exact numbers except for my managers and me.
Easily customizable numbers
I've just purchased the extension, actually for me the most crucial thing is that I can set the number format according to my local accounting requirements. This is very convenient.



Exactly what I've expected
Installed the extension two days ago. I'm fully satisfied with it's quality. The numbers are really easy to edit and now only our managers know all order info. Thank you, Amasty - you are great as usual!
Excellent! Great extension!
It was so easy to install the module! It would be great if you could implement random part of the order number to be added automatically. Like {random} to use in template.
Excellent extension with excellent support!
It just works out of the box. No need to do any special installation procedures. I just uploaded it, and it's working immediately! Guys from Amasty helped me to configure my order numbers the way I need. Very nice!

Write Your Own Review

You're reviewing: Custom Order Number

Version 1.1.1 - August 04, 2014
– Compatibility fix for RMA functionality
Version 1.0.4 - April 07, 2014
– Bugfix for counter starting number
Version 1.0.3 - March 13, 2014
– Fix for possible counter reset if configuration has been changed several times
Version 1.0.2 - December 05, 2013
– Optimization of shipping number generation. Under some circumstances it was generated twice.
Version 1.0.1 - September 19, 2013
– Timezone offset setting.
– New variable {hh} to include hours.
– Ability insert in the numbers a random number from 1000 to 9999 with {rand} variable.
– Ability to replace part of the order number, not just add prefix for invoice, shipping, credit memo.