How to add a prefix to the order number in Magento 2?

Step 1. First of all, complete the General Configuration of the module by going to Store > Configuration > Amasty Extensions > Order Number and expanding the General section.

Step 2. Then configure the following fields:

Step 3. After completing the General Configuration, you need to go to the Invoice Data Configuration section to add a prefix to the order number.
Step 4. There are 4 fields in this section that you need to configure:

Done. You’ve added the prefix. But it's not the only function of this extension. It has the functionality to customize the order number by adding prefixes and postfixes to it. With its help, you can improve the privateness of your business by hiding real order numbers from competitors, and keeping them for internal use only.