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
- Install and activate the plugin
- Navigate to WooCommerce > Settings > General
- Find the 「Order Number Prefix」 field
- Enter your desired prefix (e.g., 「WC-「, 「2024-「, 「SHOP-「)
- 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






