General settings
All configurations of the Order management extension are located at Stores -> Configuration -> Mirasvit Extensions.
Order Grid
Follow to Stores > Settings > Configuration > MIRASVIT EXTENSIONS > Order Grid to manage order grid settings.
This section have only one setting - Items in order grid, which indicates the visibility of order items. You may choose one of three options:
- All items: all order items are visible.
- Parent only: only parent order items are visible.
- Child only: only child order items are visible.
Order Number
This section provides convenient way to generate order, invoice, credit memo, and shipping numbers according to your needs.
Order Number
- Enabled: enable custom identification numbering.
- Number pattern: set unique numbering pattern.
Invoice Number
- Enabled: enable custom identification numbering.
- Same as Order Number: defines whether to use the order number pattern..
- Replace From: specifies the text to be replaced in the order number.
- Replace To: defines the replacement text.
- Number pattern: sets unique numbering patter if the option Same as Order Number is set to No.
Shipment Number
- Enabled: enable custom identification numbering.
- Same as Order Number: defines whether to use the order number pattern..
- Replace From: specifies the text to be replaced in the order number.
- Replace To: defines the replacement text.
- Number pattern: sets unique numbering patter if the option Same as Order Number is set to No.
Credit Memo Number
- Enabled: enable custom identification numbering.
- Same as Order Number: defines whether to use the order number pattern..
- Replace From: specifies the text to be replaced in the order number.
- Replace To: defines the replacement text.
- Number pattern: sets unique numbering patter if the option Same as Order Number is set to No.
Counters and variables
You can use variables to suit the identification number pattern for your needs.
Variable | Description | Example |
---|---|---|
{{ h }} | 12-hour format of an hour with leading zeros | 01 through 12 |
{{ H }} | 24-hour format of an hour with leading zeros | 00 through 23 |
{{ i }} | Minutes with leading zeros | 00 to 59 |
{{ A }} | Uppercase Ante meridiem and Post meridiem | AM or PM |
{{ d }} | Day of the month without leading zeros | 1 to 31 |
{{ dd }} | Day of the month, 2 digits with leading zeros | 01 to 31 |
{{ m }} | Numeric representation of a month, without leading zeros | 1 through 12 |
{{ mm }} | Numeric representation of a month, with leading zeros | 01 through 12 |
{{ y }} | A two digit representation of a year | 99 or 03 |
{{ yy }} | A full numeric representation of a year, 4 digits | 1999 or 2003 |
{{ rand1 }} | Random number | 0 through 9 |
{{ rand2 }} | Random number | 10 through 99 |
{{ rand3 }} | Random number | 100 through 999 |
{{ rand4 }} | Random number | 1000 through 9999 |
{{ store_id }} | Current store ID | 1 or 5 |
{{ order }} | Current order increment number | 100012232 |
You can also create a custom counter for which you can specify your own start number and step. Click Add in the Counter section, set counter’s code, type, start number, step.
Manually insert the variables and counter’s code into the identification number pattern before using them.