Tax Switch for WooCommerce changelog
By wijnbergdevelopments, on WordPress.org since 2024. 900+ active installs.
64 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
1.8.4
No notes for this release in the current readme.
-
- Increased the minimum required PHP version to 8.0
- Tested WordPress 7.1
- Tested WooCommerce 11.0.1
-
- Improved compatibility for Advanced Product Fields Extended for WooCommerce
- Improved blueprint.json
-
- Added blueprint.json for an interactive WordPress Playground demo
- Fixed tax display in mini cart after WooCommerce refreshes cart fragments
- Added compatibility for Advanced Product Fields Extended for WooCommerce
-
- Added refresh() to the public JavaScript API for reapplying the current tax display
- Standardized “VAT” terminology to “tax” across text, documentation and code
- Tested WooCommerce 10.9.1
-
- Improved product context detection for price calculations with custom tax classes
- Improved React compatibility by reusing existing roots when dynamically rendering tax switches
- Added a public JavaScript API that allows third-party scripts to read and change the tax display via window.wdevsTaxSwitch or the wdevs-tax-switch-context-changed event.
-
- Tested WordPress 7.0
- Tested WooCommerce 10.7.0
-
- Fixed swapped VAT label classes
-
- Improved compatibility between Tiered Pricing Table and FiboFilters for dynamically loaded prices
- Improved compatibility for PDF Invoices & Packing Slips for WooCommerce
-
- Added compatibility for WP Grid Builder
-
- Added new option for setting the tax switch aria-label
- Added new filter: wdevs_tax_switch_skip_next_price_wrap to allow third-parties to skip the next price wrapping
-
- Added compatibility for Elementor Popup
- Added compatibility for Price Based on Country for WooCommerce
- Improved AJAX request handling (special thanks to Peter-Jan Timmermans)
-
- Added compatibility for WooCommerce Dynamic Pricing and Discount Rules
-
- Improved switch accessibility and mobile UX
- Tested WooCommerce 10.4.3
-
- Skip price wrapping in coupon min/max error messages
-
- Added compatibility for YITH WooCommerce Role Based Prices
-
- Added new style: flat pill
- Tested WooCommerce 10.3.6
- Tested WordPress 6.9
-
- Added new filter: wdevs_tax_switch_current_product to allow third-parties to set the correct product context
- Added compatibility for WooCommerce Product Bundles
- Hardened frontend init so switches/labels still render when scripts load after DOMContentLoaded (e.g. LiteSpeed Delay/Defer JS)
-
- Improved FacetWP compatibility
- Added compatibility for YayMail – WooCommerce Email Customizer
- Added compatibility for PDF Invoices & Packing Slips for WooCommerce
- Tested WooCommerce 10.3.5
-
- Added option to enable price switching in the mini cart
- Added compatibility for FiboSearch – AJAX Search for WooCommerce (+ Pro)
- Added new filter: wdevs_tax_switch_should_hide_on_current_page for custom visibility control
- Improved AJAX compatibility. Price switching should be included in AJAX-loaded content
- Improved compatibility for WoodMart theme
- Added FacetWP slider price switching
And 1 more note.
-
- Added PJAX compatibility for themes using jquery-pjax (e.g. WoodMart theme)
-
- Fixed incorrect tax calculation for variation products loaded via AJAX
-
- Tested WooCommerce 10.2.2
- Improved compatibility for Measurement Price Calculator for WooCommerce
-
- Improved compatibility for Measurement Price Calculator for WooCommerce
-
- Ignore zero tax price check if customer is vat exempt
-
- Fixed price calculation if tax is zero for the current customer (zero tax rate country)
-
- Fixed tax calculation if product price is zero
-
- Added compatibility for Extra Product Options & Add-Ons for WooCommerce
- Tested WooCommerce 10.1.0
-
- Added wp_kses_allowed_html filter to allow spans in certain contexts for price displays
- Added compatibility for Entr theme. See this issue
- Improved compatibility with GeneratePress
-
- Added compatibility for FiboFilters
-
- Added compatibility for Kapee theme
- Added compatibility for B2B Market
- Removed load_plugin_textdomain() because it has been discouraged since WordPress version 4.6.
- Tested WooCommerce 10.0.2
-
- Added compatibility for Advanced Woo Search (+ PRO)
-
- Tested WooCommerce 9.9.4
- Improved translations
-
- Improved compatibility for Tiered Pricing Table for WooCommerce
-
- Added compatibility for WooCommerce Product Add-Ons Ultimate
-
- Introduced ‘tree shake’ for bundling all commonly shared JavaScript into a separate file as optimisation to prevent duplicated code
- Improved compatibility for Variation Price Display Range for WooCommerce
-
- Switched from ‘found_variation’ to ‘show_variation’ WooCommerce event for UI updates reliability in variations form
- Above change adds compatibility for Variation Swatches for WooCommerce
- Added preview in shortcode generator
- Added JavaScript ‘wdevs-tax-switch-appeared’ event listener
- Compatibility for Variation Price Display Range for WooCommerce (1.3.20 and up)
- Added settings link
-
- Fix for WooCommerce text tax labels
- Disable price changes in WooCommerce table total rows
- Added option to disable the components on WooCommerce pages or pages without prices
- Possible breaking change: always disable components on the cart and checkout pages. Undo previous (1.5.1) opt-in function.
-
- Added option to hide the components on the cart and checkout pages
-
- Gutenberg block/shortcode for showing text about the currently selected tax setting. See this topic
- Added compatibility for Flatsome theme
- Added compatibility for FacetWP
- Tested WooCommerce 9.8.2
- Possible breaking change: refactored the (block) code structure to support multiple blocks
-
- Tested WordPress 6.8.0
- Tested WooCommerce 9.8.1
- Security improvement: escaped dynamic class names in HTML output (reported by Peter Thaleikis).
-
- Added shortcode generator
-
- Translate shortcode switch labels. See this topic
-
- Tested with WooCommerce 9.7.1
-
- Added ‘buttons’ switch type
- Added Swedish language (special thanks to Martin Hult)
- Added color setting for label text
- Added JavaScript ‘wdevs-tax-switch-changed’ event
-
- Fixed tax calculation if customer is VAT exempt
-
- Always register the block/shortcode scripts and styles. Only enqueue them if the block or shortcode is executed
- Fixed price display issues in Tiered Pricing Table for WooCommerce when shop prices are set to display excluding VAT by default
-
- Added incompatibility list
- Updated incompatibility for Unlimited Elements for Elementor (+ Pro)
-
- Updated compatibility for WooCommerce Product Table Lite / PRO
-
- Added compatibility for WPML
-
- Disable the plugin in the WooCommerce mini cart widget
-
- Added compatibility for Product Add-Ons for WooCommerce
-
- Added compatibility for JetEngine Listing Grid ‘infinity scroll’
-
- Added extra check for filtering backend and frontend AJAX requests (which adds compatibility for PDF Invoices & Packing Slips for WooCommerce)
- Fixed a bug where the admin request checks failed when WordPress is installed in a subdirectory
-
- Added compatibility for YITH WooCommerce Product Add-ons & Extra Options Premium
-
- Added compatibility for YITH WooCommerce Product Add-Ons
-
- Removed applying ‘woocommerce_get_price_html’ filter a second time to prevent nested duplications
-
- Added extra checks for only executing the filters on the frontend
-
- Improved compatibility for Tiered Pricing Table for WooCommerce
-
- Migrated filters from only using ‘woocommerce_get_price_html’ to ‘woocommerce_get_price_html’ in combination with ‘wc_price’. This way, the plugin should be more compatible with other plugins.
- Added compatibility for Discount Rules for WooCommerce
- Added compatibility for Tiered Pricing Table for WooCommerce on catalog pages
-
- Added compatibility for Tiered Pricing Table for WooCommerce Premium (single product page).
-
- Added compatibility for Tiered Pricing Table for WooCommerce (single product page).
- Added compatibility for WooCommerce Product Table
-
- Fixed bug where JS was not loaded when element was rendered by shortcode.
-
- Initial release of Tax Switch for WooCommerce.