[wcj_button_toggle_tax_display]

Display tax toggle button for Booster's WooCommerce Tax Display module

Description

[wcj_button_toggle_tax_display] shortcode displays tax toggle button for the WooCommerce Tax Display module.

Args

class
(optional) Button HTML class attribute.

Default: None
style
(optional) Button HTML style attribute.

Default: None
label_incl
(optional) Button label for tax included state.

Default: Tax toggle (incl.)
label_excl
(optional) Button label for tax excluded state.

Default: Tax toggle (excl.)

Examples

[wcj_button_toggle_tax_display]
Accessible through:
  • [wcj_button_toggle_tax_display]
Tested on WooCommerce 3.9.2 and WordPress 5.3.2
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

1 Comment

  1. Sebastian January 17, 2020 at 9:33 am #

    Is there a way to change the price suffix based on the tax toggle choice?
    like inc and exc vat.

    Reply to thread

    Avatar