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 in the customer area using increment intervals
  • Add prefixes and postfixes to Magento 2 order numbers
  • Adjust numbers to your local jurisdiction requirements
  • Hyva-compatible by default
  • New!Hyvä Checkout ready
$149
Add to Wish List
Product updates and support for 12 months

Updates and support prolongation - $95

more info

Pick a combo deal with 15% discount:

=
$417
Save $62.55
$354.45

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 set custom 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 to display in the customer area. 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.

magento-custom-order-number-for-magento-2

Customizable Order Documentation

magento-custom-order-number-for-magento-2-prefix

Change 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.

smtp

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.

How to Add a Prefix to the Order Number in Magento 2?

  • Install the extension.
  • Complete the General configuration of the module by going to the Store > Configuration > Amasty Extensions > Order Number.
  • Configure the shown fields.
  • Go to the Invoice Data Configuration section and configure 4 fields in this section.
  • A prefix is specified according to the type of chosen document in the eponymous section. The same numbers will be applied to all Magento 2 orders.

How to Change the Order Number in Magento 2?

  • Go to Store > Configuration > Order Number and open the Order tab.
  • Configure Number Format, Counter Increment Step, Counter Padding, and Reset Counter on Date Change.
  • If needed, set the same Magento 2 order number or create a custom one in the Start Counter From field and Reset Order Counter.
  • When ready, save the changes.

According to the statistics, Magento 2 Random Order Number can cover each business need in synergy with the following solutions: magento 2 delete orders and magento 2 custom invoice.

FAQ

To add a prefix to Magento 2 order number, install the extension. Then, go to Store > Configuration > Amasty Extensions > Order Number and expand the Order section. In the Number Format field, you can set up the order number according to your needs.

magento 2 add prefix to order number
Adobe partner logo
Magento Marketplace logo
4.5
See 500+ verified reviews
1 Single points of sales
Trusted by Customers
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Our license allows you to use a single extension license agreement on one Magento installation.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 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. If you need to pay for the order with a non...

4.8

13 reviews

  1. I would recommande it to all european customers
    Working 100%, just doing what it is supposed to do. No bug at all. We got the extension for automatic document change every 1st January. I would recommande it to all european customers, on order to get for instance one single document range per year and per website, whatever the number of store views.

    Amasty answer

    Dear Maxime, thanks for recommending our extension! It's great to hear that the module has helped you with your specific task, and if you are looking for any additional features for your Magento site, please let us know. Our team will be happy to see you in our store again and help you find the most suitable solution!
  2. Helps to get logically arranged order numbers
    Magento does not allow custom numbering of orders. This extension helped me to set up a number of orders for each store view separately according to my requirements. Very easy customization of orders number. Really easy to use. I would recommend it to everyone who wants to get logically arranged order numbers and to those who have more than one store view.

    Amasty answer

    Hi Viktor, thank you very much for your review and for being our loyal customer! It is great to hear that the extension helped you to arrange order numbers according to your needs. Please contact us anytime you need additional functionality or if you have any questions, we'll be happy to help!
  3. Happy with a product
    I needed this kind of extension to get things to work with an other application. As i chosen for Amasty for most of the extensions i use and where i'm happy with it was not hard to chose.

    Amasty answer

    Dear Michael, thank you for your review. We will be happy to see you again in our store!
  4. Very useful
    I have multi national audience and use 5 languages which caused one day a huge trouble with order numbers. At that time we looked for a solution to gradate the order for our admin users not just to hide the info from our competitors and the module did well from the start.
  5. More than satisfied
    I run it long ago and glad with the support and features, but after they added country code I'm more than satisfied.
  6. Great customer service
    Responsive support and complete compatibility with magento 2 puts it in the first place. Just installed it caused some troubles conflicting with some 3party modules but the support was very helpful to fix this.
  7. not bad
    Despite the previous variant I ran on m1 this one is much better. I couldn't see previous numbers on the last version and this extension has it all. Though it would be great to have duplications verification, as it'd simplify the work with it. Anyway, this's a good choice.
  8. Recommend
    I've been looking for such extension and finally chosen amasty's. It works perfectly with no issues in place. I'd really recommend this one.
  9. Works out of the box
    I bought many extensions from amasty and this was no exception. It works well for a year already and I'm thinking of buying the multi-warehouse too to use these two at most.
  10. needs improvements
    Works from installation but I did have issues when creating shipments an’ orders. I contacted support an’ only got response in 2 days. Not cool, though solved my problem and promised to fix the module. So, I hope they will.
  11. Easy to install and use
    I did it all myself without any outer help. I had some misunderstanding with leading zero for numbers but solved it with the guide.
  12. does what it says
    our company bought the extension from amasty because we have a lot of their tools and we are satisfied with the quality. 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 =)
  13. Responsive tech managers
    Helpful module and support team. We've used it for 3 months and faced only one error on installation and the tech helped to fix it fast.

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 1.1.11
Last Update: Nov 24, 2023
1.1.11 - Nov 24, 2023
  • 1.1.11
  • Fix we fixed Column 'updated_at' cannot be null error that occurred while placing orders with custom order number
  • Fix we resolved the Unique Constraint Violation error appearing on order creation
1.1.10 - Mar 30, 2023
  • Fix we fixed the error that appeared when Reset Counter on Date Change was set to Each Year
  • Fix we improved the random number format to ensure it doesn’t affect the length of the order number
1.1.9 - Sep 01, 2022
  • Compatibility now the extension is compatible with Magento 2.4.5
  • Fix we fixed the issue with the ‘store’ variable that occurred with multiple websites
  • Fix we resolved the problem with creating orders from backend on multi-store environment
1.1.8 - Apr 22, 2022
  • Compatibility now the extension is compatible with PHP 8.1
1.1.7 - Nov 11, 2020
  • Fix we fixed the issue with increment_id updating on object save
1.1.6 - Oct 15, 2020
  • Compatibility now the extension is compatible with Magento 2.3.6 and 2.4.x
  • Compatibility compatibility with Amasty Admin Actions Log was enhanced
1.1.5 - Jun 18, 2020
  • 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
1.1.4 - May 22, 2020
  • Improvement we reviewed and enhanced the code of the extension. Now the process of order placement is significantly advanced.
1.1.3 - Jan 28, 2020
  • Fix we solved the problem with the same numbers for orders that were placed at the same time
1.1.2 - Jun 11, 2019
  • Fix the error `The requested store wasn't found. Verify the store and try again.` was resolved
1.1.1 - Oct 26, 2018
  • Fix the issue with the error after updating the extension was resolved
1.1.0 - Oct 03, 2018
  • 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
Version 1.0.8
Last Update: Jun 18, 2018
1.0.8 - Jun 18, 2018
  • Fix the issue with increasing the order number after the invoice or shipment creation was resolved
1.0.7 - May 22, 2018
  • Fix the problem with getting LastIncrementId was resolved
1.0.6 - Mar 15, 2018
  • Fixed an issue with the counter when the order was placed in other days
1.0.5 - Dec 26, 2017
  • Compatibility with the Amasty Multi Warehouse Inventory extension was added
1.0.4 - Nov 14, 2017
  • Fixed issue with Same as Order Number setting
1.0.3 - Oct 26, 2017
  • Fixed an issue with reset counter: now the counter doesn't reset if this option is not enabled in settings
1.0.2 - Aug 02, 2017
  • Fixed the problems during the order, invoice and shipment creation
  • Code Refactoring
1.0.1 - Aug 01, 2016
  • Fix for passing order ID to PayPal
Loading