Hi,
Is there a way to style {woo_order_status} based on the status? For example, a green style for “In Progress,” black for “Completed,” etc.?
Hi,
Is there a way to style {woo_order_status} based on the status? For example, a green style for “In Progress,” black for “Completed,” etc.?
Hi,
You can use separate status badge elements and show each one with an Element Condition.
For each status:
{woo_order_status}.{woo_order_status:value} and compare it to the WooCommerce status slug, for example processing, completed, on-hold, cancelled, refunded, or failed.Repeat the element for each status you want to style differently. The :value filter is important here because it compares against the raw WooCommerce status value instead of the displayed label.
Docs: