[wcj_order_items_meta]

Display WooCommerce order items meta

Description

[wcj_order_items_meta] shortcode displays WooCommerce order items meta.

Args

meta_key
(required) Order items meta key name.

Default: None
order_id
(optional) The integer ID for an order.

Default: The current order ID, if exists
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
billing_country
(optional) Make shortcode results visible only in orders with specific billing country. Value is two letter country code. Can be comma separated list.

Default: None
not_billing_country
(optional) Make shortcode results visible only in orders excluding specific billing country. Value is two letter country code. Can be comma separated list.

Default: None

Examples

[wcj_order_items_meta meta_key="_wcj_product_input_fields_local_1"]
Accessible through:
  • [wcj_order_items_meta]
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

Comments

1 Comment

  1. huangzec February 5, 2017 at 4:48 am #

    I need to format the order_items_meta value, for example: [wcj_order_items_meta meta_key="Extras"], how should i do?

    Reply