[wcj_order_id]

Display order ID

Description

[wcj_order_id] shortcode displays WooCommerce order ID. Please note that “raw” order ID will be displayed. If you need order number formatted according to settings set in Order Numbers module, you should use [wcj_order_number] instead.

Args

before
(optional) Text to place before the content. If content is empty this argument is ignored.

Default: None
after
(optional) Text to place after the content. If content is empty this argument is ignored.

Default: None

Example

Order ID: [wcj_order_id]
Recommended for PDF Invoicing and Packing Slips module
Accessible through:
  • [wcj_order_id]
Tested on WooCommerce 3.1.1 and WordPress 4.8
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

No comments yet.