Ecommerce for Statamic

Order status

Outputs the label of the order status you’ve specified in order_statuses of your bison.yaml.

{{ bison:order_status status="{ order_status }" }}

Parameters

status
Specify the order status. The order status key will be saved in the order as order_status. Required.
color
Set this to true to instead output the color configured in order_status_colors

Example

Output the order status with the appropriate color.

<div style="color: {{ bison:order_status status='{ order_status }' color="yes" }}">
  Status: {{ bison:order_status status="{ order_status }" }}
</div>


Problem with this page? Edit it on Github.