[wcj_order_total_fees_tax]

Display WooCommerce order fees tax

Description

[wcj_order_total_fees_tax] shortcode displays WooCommerce order fees tax. Shortcode has no required attributes, optional attributes are listed below.

Args

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

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

Default: no
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
billing_country
(optional) Make shortcode results visible only in orders with specific billing country. Value is two letter country code. Can be comma separated list.

Default: None
not_billing_country
(optional) Make shortcode results visible only in orders excluding specific billing country. Value is two letter country code. Can be comma separated list.

Default: None

Examples

[wcj_order_total_fees_tax]
Accessible through:
  • [wcj_order_total_fees_tax]
Tested on WooCommerce 3.0.4 and WordPress 4.7.4
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. Mike Frisbee November 21, 2016 at 2:16 pm #

    Could you help, please? I need the code to add the VAT number and the VAT amount (the sub-total) to my invoices.

    Currently I have this code, which doesn’t show the VAT number and shows the VAT amount in the wrong place (top left, instead of underneath the Total column on the right):

    [wcj_order_subtotal]
    [wcj_order_shipping_price]
    [wcj_order_taxes_html] or [wcj_order_total_tax]
    [wcj_order_total]

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    columns="item_number|item_name|item_quantity|line_total_tax_excl"
    columns_titles="|Product|Qty|Total"
    columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]

    Total (incl. shipping)[wcj_order_total_excl_tax]

    Reply

    • Booster Support Team November 28, 2016 at 9:41 pm #

      Hi,

      1. To add customer’s VAT code, please use:
      [wcj_order_checkout_field field_id="billing_eu_vat_number" before="VAT Code: "]

      2. Regarding VAT amount – not sure I understood the issue. Doesn’t [wcj_order_total_tax] shows the VAT?

      Best regards,
      Tom

      Booster Support Team