fbpx

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 5.2.2 and WordPress 5.7.2
, copy/paste at need place of invoice/slip template.

BR,
Val

  • Avatar

    Ben

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

    • Booster Support Team

      Booster Support Team

      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

  • Avatar

    Ben

    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.

  • Comments are closed.
    -->