Magento2 custom order prefix is the single best module and super useful when you want to change the prefixes of Order ID, Invoice ID, Shipment ID, Credit Memo ID from the admin end.
Features Of Magento2 Custom Order Prefix
- Can add custom prefix for Magento2 orders.
- Can add custom prefix for Magento2 shipments.
- Can add custom prefix for Magento2 invoices.
- Can add custom prefix for Magento2 credit memos.
- Admin can choose any kind of custom prefix including alphabetical, numeric etc.
Installation Of Magento2 Custom Order Prefix
Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.
After the successful installation, you have to run the command on Magento2 root directory-“php bin/magento setup:upgrade”
Now run this command into the Magento2 root – “php bin/magento setup:di:compile”
Also, run this command into the Magento2 Root- “php bin/magento setup:static-content:deploy” You can refer the below screenshot.
After running the commands, you have to flush the cache from Magento admin panel by navigating through->System->Cache management as shown below.
If you need to do the module translation, please navigate to the following path in your system app/code/Webkul/CustomOrderPrefix/i18n.
Open the file named en_US.CSV for editing as shown in the below screenshot.
Once you have opened the file for editing. Replace the words after the†comma(,)†on the right with your translated words.
After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as – de_DE.CSV. Then upload the translated file to the same folder from where you have obtained it. Now your module translation is complete.
Configuration & Working Of Magento2 Custom Order Prefix
After the successful installation of the module, the admin will configure the module by navigating through Stores->Configuration->Webkul->Add Prefix as shown in the snapshot below.
Let’s say admin selected the German store, now admin will enter the prefixes for this store view then uncheck the “Use Website” and then save the configuration as shown below in the snapshot.
In case the admin doesn’t want to use the feature of this module then admin can set all the values as null(Blank).
Now after setting up the prefixes for this store view, the output will be like this –
That’s all for the Magento2 Custom Order Prefix still have any issue feel free to add a ticket and let us know your views to make the module better at webkul.uvdesk.com
Current Product Version - 2.0.0
Supported Framework Version - 2.0.x, 2.1.x