[wcj_order_shipping_method]

Display WooCommerce order shipping method

Description

[wcj_order_shipping_method] shortcode displays WooCommerce order shipping method.

Args

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

Shortcode is intended (but not limited) to use with PDF Invoicing and Packing Slips module.

Accessible through:
  • [wcj_order_shipping_method]
Tested on WooCommerce 3.6.4 and WordPress 5.2.1
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. Mays February 1, 2019 at 11:07 am #

    what conditions must be met for the module to work?

    Reply to thread

    Avatar
    • RokasJ February 1, 2019 at 12:23 pm #

      Hi,

      The context must have order id or it must be added using an order_id argument. This means that the order must be already created.

      Best regards,
      Rokas – Support Team

      Avatar