[wcj_order_payment_method]

Display WooCommerce order payment method

Description

[wcj_order_payment_method] shortcode displays WooCommerce order payment 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
Payment method: [wcj_order_payment_method]
Recommended for PDF Invoicing and Packing Slips module
Accessible through:
  • [wcj_order_payment_method]
Tested on WooCommerce 3.0.7 and WordPress 4.7.5
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

5 Comments

  1. Ben May 24, 2015 at 12:56 am #

    Hello,

    the [wcj_order_payment_method] shortcode seems to not work anymore in “HTML Template of PDF invoice V2”. It was working few weeks ago. I checked the WCJ website and this shortcode seems to be always available. Am I wrong ?

    Thanx for the help.
    Ben.

    Reply

  2. Ben June 24, 2015 at 4:54 pm #

    Hello,
    Is there a way to help me please ?
    Did someone had this problem ?
    Thank you.

    Reply

    • Booster Support Team August 10, 2015 at 4:31 pm #

      Hi,

      If someone will have the same issue: as discussed in private mail – problem was that gateways’ titles was set to blank in “WooCommerce > Settings > Checkout”.

      Best regards,
      Tom

  3. Rob Wu March 29, 2016 at 2:57 pm #

    Hi,

    Can someone please tell/show what the [wcj_order_payment_method] looks like on a PDF?
    Or tell me where to find it in the WC settings?

    In the previous version of the plugin, I had a complete text incl. bank numbers and payment instructions added to the PDF.
    With the new HTML version and the link to [wcj_order_payment_method], I’m not sure where I have to add this information in the HTML structure.

    cheers!

    rob

    Reply

    • Valentin Solovjov March 29, 2016 at 9:26 pm #

      Hi,

      you can do it via html template WooCommerce > Settings > Booster > PDF Invoicing & Packing Slips > Templates, just put that information HTML format.

      Please check free online HTML editor:
      http://www.html.am/html-editors/online-html-editor.cfm

      when you create your need text, just press source in top left menu, you will need code in between need text , copy/paste at need place of invoice/slip template.

      BR,
      Val