[wcj_order_total_fees_incl_tax]

Display the total sum of all order fees including taxes

Description

[wcj_order_total_fees_incl_tax] shortcode displays the total sum of all order fees including taxes.

Args

hide_if_zero
(optional) Hide output if result equals zero (yes).

Default: no
hide_currency
(optional) Hide currency symbol (yes).

Default: no
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

Example

[wcj_order_total_fees_incl_tax hide_if_zero="yes" before="Total fees (incl. tax): "]
Accessible through:
  • [wcj_order_total_fees_incl_tax]
Tested on WooCommerce 3.5.7 and WordPress 5.1.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

3 Comments

  1. Jan Pieter van der Lugt January 11, 2019 at 11:32 pm #

    Hi, I like to display the fees excluding VAT.
    IS there also a shortcode for this?

    Reply to thread

    Avatar
    • RokasJ January 12, 2019 at 11:30 am #

      Hi,

      Yes, there is. While [wcj_order_total_fees_incl_tax] shows fees including tax, [wcj_order_total_fees] shows fees without them.

      Best regards,
      Rokas – Support Team

      Avatar
  2. Jan Pieter January 15, 2019 at 10:44 pm #

    Thanks!
    it works!

    Jan Pieter

    Reply to thread

    Avatar