Condition check in woocomerce order status
-
Im trying to make a progress bar for woocommerce which will output % on a order status,
Like if order is processing it will output 50%, if order status is shipping(custom order status) then it will be 70% and so on.
so for this i am thinking to do something like this
if (woocommerce_order_status == "processing"){ echo "50%" }
orif (woocommerce_order_status_processing == 1){ echo "50%" }
but i dont know how to condition check the order status.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Condition check in woocomerce order status’ is closed to new replies.