This is a modification for Tax Toggle for WooCommerce (see https://www.taxtoggle.com?ref=gist)
It creates a simple inline button in your theme showing status of the tax toggle - either inclusive or exclusive.
How to use:
- Go to WP Admin > WooCommerce > Settings > Tax and turn off the floating tax toggle.
- Add the custom CSS to your theme
- Add the custom Tax Toggle to your theme (i.e. in the header.php file). You can change the wording (Excludes Tax / Includes Tax) to anything you want to describe the on/off tax function.