[wcj_order_currency]

Display WooCommerce order currency

Description

[wcj_order_currency] shortcode displays WooCommerce order currency.

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_currency]
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

4 Comments

  1. KoolPal April 17, 2019 at 1:08 pm #

    Hi,

    In a manual Order created by Admin, I can see that currency is stored in two places:
    _order_currency = This shows the store base currency
    _wcj_order_currency = This shows the Booster Order Currency which can be manually selected during order creation.

    How can the _order_currency be updated by this _wcj_order_currency on Admin manual order creation?

    I am using another plugin which references _order_currency and It is not giving the desired result.

    Thanks

    Reply to thread

    Avatar
    • RokasJ April 17, 2019 at 7:28 pm #

      Hi,

      Unfortunately there are no tools for that yet but we have added it to our todo list.

      Best regards,
      Rokas – Support Team

      Avatar
    • KoolPal April 18, 2019 at 8:22 am #

      Hi RokasJ,

      Thank you for replying.

      Can you please help me with some code snippet (for functions.php) which will update _order_currency by this _wcj_order_currency on Admin manual order creation?

      This will help me operate while your team gets to fixing this item?

      Thanks a lot

      Avatar
    • KoolPal April 22, 2019 at 7:55 am #

      Hi RokasJ,

      Please ignore this request. I took some help and got some code snippet to update the Order currency with the _wcj_order_currency on Admin manual order creation.

      Thanks

      Avatar