We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies.
User Guide - Custom Order Number for Magento 2
General Configuration
General Configuration
Admin can configure custom order number settings under the Store > Configuration > Dolphin > Custom Order Number.
General Settings

- Enabled: The admin can Enable/Disable extension for a specific store where this extension is not needed.
- Custom Order Number Format:
- customize the order number using different prefixes, suffixes, and variables.
-
- Allowed Variables
-
- {YY}: 4 digits representation of Year
-
- {yy}: 2 digits representation of Year
-
- {mm}: 2 digits representation of Month
-
- {dd}:2 digits representation of Day of the month
-
- {hh}:12-hour format of an hour in 2 digits
-
- {ii}:2 digits representation of Minutes
-
- {ss}:2 digits representation of Seconds
-
- {country}:Country Code of the store
-
-
- For example, you can set “ORD-{yy}-{mm}-{dd}” as customer order number.
- You can add a custom order number for invoice, shipment and credit memo also.
-
Order Settings

- Order Number Pad Length:
- Set the Number of digits in order number.
- For example if pad length is 5 and order id is 1 then your order number will be 00001.
- Order Prefix:
- Create an order number pattern which will set as an order number prefix.
- Add a variable which you want to use as a prefix in your custom order number.
- It will replace variables with the values.
- For example if you set the order prefix as ORD-{yy}-{mm}-{dd}-, Then you will get an order number like ORD-20-06-30-0000003.
- Order Suffix:
- Create an order number pattern which will set as an order number prefix.
- Add a variable which you want to use as a suffix in your custom order number.
- It will replace variables with the values.
- For example if you set the order suffix as -{country}, Then you will get an order number suffix like US.
- After joining prefix and suffix you will get an order number of a kind: ORD-20-06-30-0000003-US.
Invoice Settings

- Invoice Number Pad Length:
- Set the Number of digits in invoice number.
- For example if pad length is 5 and invoice id is 1 then your invoice number will be 00001.
- Invoice Prefix:
- Create an invoice number pattern which will set as an order number prefix.
- Add a variable which you want to use as a prefix in your custom invoice number.
- It will replace variables with the values.
- Specify letter prefixes according to the type of document.
- It will be added before the invoice number.
- Invoice Suffix:
- Create an invoice number pattern which will set as an invoice number prefix.
- Add a variable which you want to use as a suffix in your custom invoice number.
- It will replace variables with the values.
- Enter the variable which will be set as the suffix of the invoice number.
- For example if you set the invoice suffix as -{country}, Then you will get an order number suffix like US.
Shipment Settings

- Shipment Number Pad Length:
- Set the Number of digits in the shipping number.
- For example if pad length is 6 and shipment id is 1 then your shipment number will be 000001.
- Shipment Prefix:
- Create a shipment number pattern which will be set as a shipment number prefix.
- Add a variable which you want to use as a prefix in your custom shipment number.
- It will replace variables with the values.
- Specify letter prefixes according to the type of document.
- It will be added before the shipment number.
- Shipment Suffix:
- Create a shipment number pattern which will be set as a shipment number prefix.
- Add a variable which you want to use as a suffix in your custom shipment number.
- It will replace variables with the values.
- Enter the variable which will be set as the suffix of the shipment number.
- For example if you set the shipment suffix as -{country}, Then you will get an order number suffix like IN.
CreditMemo Settings

- Creditmemo Number Pad Length:
- Set the Number of digits in the credit memo number.
- For example if pad length is 7 and creditmemo id is 1 then your creditmemo number will be 0000001.
- Creditmemo Prefix:
- Create a creditmemo number pattern which will be set as a creditmemo number prefix.
- Add a variable which you want to use as a prefix in your custom creditmemo number.
- It will replace variables with the values.
- Specify letter prefixes according to the type of document.
- It will be added before the creditmemo number.
- Creditmemo Suffix:
- Create a creditmemo number pattern which will be set as a creditmemo number prefix.
- Add a variable which you want to use as a suffix in your custom creditmemo number.
- It will replace variables with the values.
- Enter the variable which will be set as the suffix of the creditmemo number.
- For example if you set the creditmemo suffix as -{country}, Then you will get an order number suffix IN.