[wcj_order_status]

Display WooCommerce order status

Description

[wcj_order_status] shortcode displays WooCommerce order status.

This shortcode will output order status id (e.g.: on-hold). If you need to output translated order status label (e.g.: On hold), check [wcj_order_status_label] shortcode.

Args

Examples

[wcj_order_status before="Order Status: "]
Accessible through:
  • [wcj_order_status]
Tested on WooCommerce 3.2.3 and WordPress 4.8.3
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

Comments

2 Comments

  1. Antonio April 3, 2017 at 12:16 pm #

    Ho to access to the order status translation?
    It shows the code without WC prefix

    Reply to thread

    • Booster Support Team April 4, 2017 at 2:16 am #

      Hi Antonio,

      Somehow I’ve missed that, thanks for pointing this out. I’ve just added [wcj_order_status_label] shortcode to the plugin, which will output what you need. Please download the development version here – http://booster.io/dev/. You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear). Please let me know if it works as expected.

      Best regards,
      Tom

      Booster Support Team