Free installation badge Product image of Custom Order Number
Magento Edition *
Version *
FREE installation Tooltip
Ends in:
03 : 00 : 00 : 00
Get 10% OFF
$149
icon logo magento 2.4.4 - 2.4.8
Tooltip
Hyva logo Theme
Tooltip

Custom Order Number for Magento 2

v4.1.0
4.7
(9 reviews)
Read all >
Magento 2 Custom Order Number lets you fully control how order, invoice, shipment, and credit memo numbers are generated. With flexible pattern syntax, synced formats, unified IDs, and smart counters, you can create a clean, professional numbering system that improves tracking, protects sensitive data, and fits your store’s workflow.
tick icon
Compatible with Hyva theme
tick icon
Compatible with Magento 2.4.8
tick icon
Need API/GraphQL for Magento 2 Custom Order Number? Chat now
Free Installation
60 days money back guarantee

Key Features of Magento 2 Custom Order Number Extension

Customize order & billing number formats

Set your own pattern to create a custom order number. Use simple syntax to add prefixes, letters, numbers, counters, or dates, such as ORD-[4AN]-[6counter]-[yy]-[mm], and control counter steps per store. Apply the same format to invoices, shipments, and credit memos.

Build flexible number patterns for any workflow

Easily create sequential, chronological, or fully customized numbering formats using components like [counter], [yy], [mm], [dd], [storeCode], [storeId], or [orderId]. This flexibility makes it easier to apply Magento 2 custom order number structures across different business models.

Use the same ID across all billing documents

Use one unified ID for the order, invoice, shipment, and credit memo to make tracking easier for both staff and customers. Instead of managing separate sequences, you keep one clean, consistent reference number, ideal for stores that prefer simple and aligned document identifiers.

Sync all document numbers with order numbers

Follow the same number structure for invoices, shipments, and credit memos and change only the prefix for each type (e.g., ORD-xxxx → INV-xxxx). This keeps formats consistent across documents while still helping your team quickly match each record to its order.

Add duplicate separators for repeated documents

When a single order generates multiple invoices or shipments, the Magento 2 Custom Order number extension automatically adds a separator: 00100, 00100-1, 00100-2, etc. You can keep all related documents grouped under the same base number while still making each one unique for easy tracking.

Compatible with Mageplaza PDF Invoice

Magento 2 Custom Order Number extension works seamlessly with Mageplaza PDF Invoice, ensuring all custom order, invoice, shipment, and credit memo numbers appear correctly on printed or downloaded PDFs. Your Magento 2 custom invoice number stays consistent across every document.

More Features for Magento 2 Custom Order Number

Hide real order ID

Add extra characters or symbols to your number pattern to mask the real order ID. This keeps your actual sequence hidden while allowing you to recognize it through the structured format.

Restrict number padding

Define fixed digit lengths for each segment of your number pattern. Padding helps keep your order, invoice, shipment, and credit memo numbers clean, uniform, and easy to read.

Set the counter by store

Run separate counters for each store view. Each store can increment its sequence independently, making it easy to manage multi-store numbering.

Reset the counter

Reset your counter automatically on a daily, weekly, monthly, or yearly cycle. This brings your numbering back to its starting value whenever needed.

What customers say about us

Product reviews: 9
Overall rating: 5.0
5
4
3
2
1
How much do you like this product?
Leave your email to get reward points for reviews
Submit a relevant review of 30+ words to earn 5 reward points (one-time per extension)
Stork
18 May 2022
Verified purchase
Kelly Roeland
29 April 2022
Verified purchase
Tatiana
19 April 2022
Verified purchase
Marc Lee
27 May 2021
Verified purchase
Milosz
10 February 2021
Verified purchase

Release notes

  • v4.1.0 (Magento v2.4.x)

    17 October 2025

    • New Feature : Added Same Order Number
  • v4.0.6 (Magento v2.4.x)

    11 July 2025

    • Bug Fix: Fixed “Error when process custom order number” issue
  • v4.0.5 (Magento v2.4.x)

    23 April 2025

    • New Feature: Update logic save setting data
    • Compatibility: Now compatible with Magento 2.4.8
  • v4.0.4 (Magento v2.4.x)

    01 June 2023

    • Compatible with Magento v2.4.6
    • Fixed some minor bugs
  • v4.0.3 (Magento v2.4.x)

    31 August 2022

    • Compatible with Magento v2.4.4
  • v4.0.2 (Magento v2.4.x)

    27 October 2021

    • Fix some minor bugs
  • v1.0.4 (Magento v2.3.x)

    01 August 2021

    • Compatible with Magento v2.3.7
    • Fix reset counter yearly, support country_id pattern
    • Fix minor bugs
  • v4.0.1 (Magento v2.4.x)

    12 April 2021

    • Compatible with Magento v2.4.2
    • Fix minor bugs
  • v4.0.0 (Magento v2.4.x)

    20 January 2021

    • Supported Magento v2.4
  • v1.0.3 (Magento v2.3.x)

    20 January 2021

    • Improved compatible with Magento v2.3.6
  • v1.0.2 (Magento v2.3.x)

    25 July 2019

    • Fixed error with Invoice ID when Invoiced was created automatically
    • Compatible with Magento 2.3
  • v1.0.1 (Magento v2.3.x)

    05 September 2018

    • Store code is in upper case
    • Fixed minor bugs
  • v1.0.0 (Magento v2.3.x)

    04 September 2018

    Initial Release

Load More

Frequently Asked Questions

Yes. The Magento 2 Custom Order Number extension applies your new format only to future orders. All existing orders keep their original Magento numbers, so you don’t have to worry about breaking reports or historic data.

Absolutely. You can create unique formats for each billing document or sync them with the order number while changing only the prefix (e.g., ORD-0001 → INV-0001 → CRE-0001). This gives you full control over all Magento 2 billing document numbers.

Yes. You can define a custom starting number, choose how the counter increases, and even reset counters daily, weekly, monthly, or yearly. This helps you create clean, continuous Magento 2 order number sequences.

Yes. The module supports all common variables—including [yy], [mm], [dd], [storeCode], [storeId], [counter], and more. These variables make it easy to build a fully flexible Magento 2 custom order number pattern that fits your workflow.

The extension automatically adds duplicate separators like 00100-1, 00100-2, etc. This groups related documents under the same base number while keeping each one unique for tracking and accounting.

Yes. You can set a fully custom Magento 2 invoice number pattern with its own prefix, syntax, and counter—or choose to sync it with the order format for a consistent numbering system across your store.

Yes, Custom Order Number is compatible with Hyva theme. However, the checkout only supports hyva-themes/magento2-theme-fallback. To learn how to enable checkout on Hyva, please follow this guide.

Mageplaza provides FREE Hyva Checkout Compatibility for all of our extensions upon requests. You can request by contacting us via email, live chat, or support ticket. Our team will respond within 24 hours and ask for details such as Order ID, extension name, Magento & Hyva versions, and any special requirements. To qualify, your module subscription must be active. If your subscription has expired, renewal is required as some older modules do not support Hyva. Additional customization requests may incur extra costs, and our team will inform you before proceeding. For assistance, feel free to reach out - we're here to help!

Magento Edition *
Version *
FREE installation Tooltip
Ends in:
03 : 00 : 00 : 00
Get 10% OFF
$149
icon logo magento 2.4.4 - 2.4.8
Tooltip
Hyva logo Theme
Tooltip

Pricing

Choose your suitable edition.

Community

$ 149 first year
Includes support & updates for 1 year Tooltip
60 days money back guarantee
Read our policies

Enterprise/ Magento Cloud

$ 349 first year
Includes support & updates for 1 year Tooltip
60 days money back guarantee
Read our policies
Can't see the feature you're looking for?
Describe it and we will customize this extension to suit your needs!
Request customization
feature looking icon