General settings
All configurations of the Order management extension are located at Stores -> Configuration -> Mirasvit Extensions-> Order management.
Order Grid
- Order items display mode: 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.
- Restricted statuses for merge: order statuses for which the Merge Orders mass action is hidden in the orders grid.
- Restricted statuses for split: order statuses for which the Split Order button is hidden on the order view page.
Order editor
This section allows you to configure when and how orders can be modified through the editor interface.
- Disable editor on order status: use the dropdown to choose order statuses during which specific sections of an order cannot be edited.
- Check Shipping Availability: when enabled, the system checks if shipping methods remain available after order changes. If none are available, the order cannot be saved. Enable this only if shipping availability depends on specific conditions (e.g., destination, weight).
- Prevent invoice creation when there is insufficient stock: when enabled, prevents invoice creation if there is insufficient stock for any invoiced item (with backorders disabled).
- Prevent invoice creation for online-payment orders: when enabled, submitting an invoice for orders placed using online payment is blocked with a warning instructing to use the Extra Payments tab. Leave disabled to allow normal invoicing of online-payment orders.
Order numbering
This section provides convenient way to generate order numbers according to your needs.
- Enable custom order numbers: enable custom identification numbering.
- Order number format pattern: set unique numbering pattern.
Click the Preview button in this (and each of the following numbering) section to see a live example of how the resulting number will look with the currently entered pattern, before saving the configuration.
Invoice numbering
Use this section to set up the formatting pattern for invoice documents.
- Enable custom invoice numbers: enable custom identification numbering.
- Base on order number format: defines whether to use the order number pattern..
- Text to replace: specifies the text to be replaced in the order number.
- Replacement text: defines the replacement text.
- Invoice number format pattern: sets unique numbering patter if the option Base on order number format is set to No.
Shipment numbering
This section enables you to define the formatting pattern for shipment documents.
- Enable custom shipment numbers: enable custom identification numbering.
- Base on order number format: defines whether to use the order number pattern..
- Text to replace: specifies the text to be replaced in the order number.
- Replacement text: defines the replacement text.
- Shipment number format pattern: sets unique numbering patter if the option Base on order number format is set to No.
Credit memo numbering
This section allows you to configure the formatting pattern for credit memo documents.
- Enable custom credit memo numbers: enable custom identification numbering.
- Base on order number format: defines whether to use the order number pattern..
- Text to replace: specifies the text to be replaced in the order number.
- Replacement text: defines the replacement text.
- Credit memo number format pattern: sets unique numbering patter if the option **Base on order number format ** is set to No.
Counter management
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.