Skip to content
Sign in

Order number prefix for WooCommerce

Add customizable prefixes to your WooCommerce order numbers for better organization and branding.

Not scanned yet WordPress plugin 40 installs

Install in

No install steps yet

Follow the steps on the source page.

Order number prefix for WooCommerce is a lightweight plugin that allows you to add custom prefixes to your WooCommerce order numbers. Perfect for stores that need to organize orders by year, location, or brand, or simply want to add their company initials to order numbers.

Key Features

  • Customizable Prefix: Add any prefix to your order numbers (alphanumeric, hyphens, and underscores supported)
  • Easy Configuration: Simple settings integration with WooCommerce general settings
  • Search Compatible: Search for orders using either the original order ID or the prefixed version
  • HPOS Compatible: Full support for WooCommerce High-Performance Order Storage
  • Lightweight: Minimal performance impact with efficient code
  • Secure: Built with WordPress and WooCommerce security best practices
  • Translation Ready: Full internationalization support

Use Cases

  • Multi-brand Stores: Use different prefixes for different brands (BRAND1-, BRAND2-)
  • Year-based Organization: Add year prefixes (2024-, 2025-)
  • Location-based Prefixes: Identify orders by location (NYC-, LA-, UK-)
  • Company Branding: Add your company initials to all orders
  • Department Organization: Separate B2B and B2C orders (B2B-, B2C-)

How It Works

  1. Install and activate the plugin
  2. Navigate to WooCommerce > Settings > General
  3. Find the “Order Number Prefix” field
  4. Enter your desired prefix (e.g., “WC-“, “2024-“, “SHOP-“)
  5. Save your settings

All new and existing orders will display with your chosen prefix throughout the WooCommerce admin area, customer emails, and order pages.

Technical Details

  • Stores prefix as a separate option, doesn’t modify actual order IDs
  • Compatible with other WooCommerce extensions
  • Follows WordPress coding standards
  • Implements proper sanitization and escaping
  • Supports WooCommerce order searches with prefixed numbers

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 3.0 or higher
  • PHP 7.2 or higher

Additional Information

Contributing

Development of this plugin happens on GitHub. Feel free to contribute:
https://github.com/maikunari/order-number-prefix-for-woocommerce

Privacy Policy

This plugin does not collect, store, or transmit any personal data. It only modifies the display of order numbers within your WooCommerce installation.

Credits

  • Developed by Mike Sewell at SonicPixel
  • Built for the WooCommerce community

Support

For bug reports and feature requests [github] https://github.com/maikunari/order-number-prefix-for-woocommerce.

For premium support and custom development, visit SonicPixel.

License

This plugin is licensed under the GPL v2 or later.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Om Namo Bhagavate Vadudevaya

Written by Joobi from the project's own listing. See the source page

ecommerceorder managementorder numberorder prefixwoocommerce
26 Nov 2026
Version 1.0.3 released. Not scanned yet.

1.0.3 – 2026-11-26

  • Tested up to WordPress 7.2 and PHP 8.6
  • Tested up to WooCommerce 11.3
  • Declared compatibility with WooCommerce High-Performance Order Storage (HPOS), so the plugin no longer blocks enabling HPOS
  • Prefixed the settings callback function name to avoid conflicts with other plugins

1.0.2 – 2025-09-15

  • Added plugin dependency header to declare WooCommerce as a required plugin

1.0.1 – 2025-09-10

  • Updated plugin name to “Order number prefix for WooCommerce” for better clarity
  • Updated text domain to “order-number-prefix-for-woocommerce” to match plugin directory name
  • Corrected license information in plugin header
  • Updated plugin URI to reflect new repository name

1.0.0 – 2024-01-15

  • Initial release
  • Custom prefix functionality
  • WooCommerce settings integration
  • Search compatibility for prefixed order numbers
  • HPOS compatibility
  • Translation ready
  • Security hardening
  • WordPress coding standards compliance
22 Sep 2025Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)