Skip to main content

Order status

Order status loop displays order status information.
{loop type="order_status" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
idA single or a list of order status ids.id="2", id="1,4,7"
orderA list of values see Expected valuesmanualorder="random"

Plus the global arguments

Outputs

VariableValue
$CHAPOthe order status short description
$CODEthe order status code
$COLORthe order status hexadecimal color code
$DESCRIPTIONthe order status description
$IDthe order status id
$IS_TRANSLATEDwhatever the order status is translated or not
$LOCALEthe order status locale
$POSITIONthe order status position
$POSTSCRIPTUMthe order status postscriptum
$PROTECTED_STATUS1 if the order status is protected
$TITLEthe order status title

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
alphaalpha-reversetitle
manualmanual-reverseposition