fbpx

Description

[wcj_order_subtotal_plus_shipping] shortcode displays WooCommerce order subtotal plus shipping. 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_subtotal_plus_shipping]
Accessible through:
  • [wcj_order_subtotal_plus_shipping]
Tested on WooCommerce 4.5.2 and WordPress 5.5.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.