Order Number Customization
Learn how to customize the default order number generated in Umbraco Commerce.
Built-in Generators
Before Creating a Custom Generator
1. Using Store Templates
// Configure templates via the Store entity
await store.SetCartNumberTemplateAsync("CART-{0}");
await store.SetOrderNumberTemplateAsync("ORDER-{0}");2. Using CompactSortableOrderNumberGenerator
Implementing a Custom Order Number Generator
Creating the Custom Generator
Registering the Custom Implementation
Important Considerations
Related Documentation
Last updated
Was this helpful?