Skip to main content

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.

VariableDescriptionExample
{{ h }}12-hour format of an hour with leading zeros01 through 12
{{ H }}24-hour format of an hour with leading zeros00 through 23
{{ i }}Minutes with leading zeros00 to 59
{{ A }}Uppercase Ante meridiem and Post meridiemAM or PM
{{ d }}Day of the month without leading zeros1 to 31
{{ dd }}Day of the month, 2 digits with leading zeros01 to 31
{{ m }}Numeric representation of a month, without leading zeros1 through 12
{{ mm }}Numeric representation of a month, with leading zeros01 through 12
{{ y }}A two digit representation of a year99 or 03
{{ yy }}A full numeric representation of a year, 4 digits1999 or 2003
{{ rand1 }}Random number0 through 9
{{ rand2 }}Random number10 through 99
{{ rand3 }}Random number100 through 999
{{ rand4 }}Random number1000 through 9999
{{ store_id }}Current store ID1 or 5
{{ order }}Current order increment number100012232

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.