Feature Request: Custom Alphanumeric Order & Invoice Numbers for FluentCart
I’d love to request a feature enhancement for FluentCart — the ability to configure custom alphanumeric order numbers/invoice numbers, similar to what many Australian retail and compliance systems require. Also a great feature for retailers starting a new store...
Why this matters:
- Predictable sequential IDs are often not ideal for privacy, accounting, or system integration.
- Many WooCommerce store owners use plugins to add prefixes, suffixes, or random elements to make invoice/order numbers more flexible.
- FluentCart should support a similar system natively for flexibility and branding.
Suggested Features:
-
Order / Invoice Number Format Configuration
Add a setting to define a custom order number pattern using variables such as:
- {PREFIX} — Custom static text (e.g., ACM-)
- {RAND4} — Random 4-digit number (4932)
- {ALPHA3} — Random 3-letter uppercase string (KLM)
- {DATE:Ymd} — Current date (20251101)
- {USERID} — User/customer ID
- {INCR} — Auto-incrementing number starting from a specified value
Examples:
- INV-{DATE:Ymd}-{RAND4} → INV-20251101-4932
- ORD-{INCR}-{ALPHA3} → ORD-104-KLM
- {PREFIX}-{USERID}-{RAND3} → ACM-187-X2R
Haven't look much into this yet, but how does this work with a payment provider like Stripe or Mollie which allow you to generate invoice numbers as well? Would this be synced with the payment provider?
Hi Manoj,
You can do this with the fluent_cart/invoice_prefix hook, or try CartCubes Toolbox if you want it without custom code.
Hook docs: https://dev.fluentcart.com/hooks/filters/orders-and-payments.html#invoice-prefix
Toolbox: https://cartcubes.com/fluentcart/toolbox/

