Skip to content

Commit e7c2b18

Browse files
committed
Added filename to code block
1 parent 234217c commit e7c2b18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

15/umbraco-commerce/how-to-guides/order-number-customization.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ In Umbraco Commerce, the default order number generation can be customized by im
88

99
## Implementing a Custom Order Number Generator
1010

11-
To create a custom order number generator, define a class that implements the `IOrderNumberGenerator` interface in a new file, for example, `CustomOrderNumberGenerator.cs`:
11+
To create a custom order number generator, define a class that implements the `IOrderNumberGenerator` interface, for example, `CustomOrderNumberGenerator.cs`:
1212

13+
{% code title="CustomOrderNumberGenerator.cs" %}
1314
```cs
1415
using Umbraco.Commerce.Core.Generators;
1516

@@ -26,6 +27,7 @@ public class CustomOrderNumberGenerator : IOrderNumberGenerator
2627
}
2728
}
2829
```
30+
{% endcode %}
2931

3032
## Registering the Custom Implementation
3133

0 commit comments

Comments
 (0)