Tax Switch for WooCommerce changelog

By wijnbergdevelopments, on WordPress.org since 2024. 900+ active installs.

Browse code

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. 1.8.4

    No notes for this release in the current readme.

    Source
  2. 1.8.3
    • Increased the minimum required PHP version to 8.0
    • Tested WordPress 7.1
    • Tested WooCommerce 11.0.1
    Source Diff vs 1.8.2
  3. 1.8.2
    • Improved compatibility for Advanced Product Fields Extended for WooCommerce
    • Improved blueprint.json
    Source Diff vs 1.8.1
  4. 1.8.1
    • 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
    Source Diff vs 1.8.0
  5. 1.8.0
    • 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
    Source Diff vs 1.7.0
  6. 1.7.0
    • 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.
    Source Diff vs 1.6.13
  7. 1.6.13
    • Tested WordPress 7.0
    • Tested WooCommerce 10.7.0
    Source Diff vs 1.6.12
  8. 1.6.12
    • Fixed swapped VAT label classes
    Source Diff vs 1.6.11
  9. 1.6.11
    • Improved compatibility between Tiered Pricing Table and FiboFilters for dynamically loaded prices
    • Improved compatibility for PDF Invoices & Packing Slips for WooCommerce
    Source Diff vs 1.6.10
  10. 1.6.10
    • Added compatibility for WP Grid Builder
    Source Diff vs 1.6.9
  11. 1.6.9
    • 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
    Source Diff vs 1.6.8
  12. 1.6.8
    • Added compatibility for Elementor Popup
    • Added compatibility for Price Based on Country for WooCommerce
    • Improved AJAX request handling (special thanks to Peter-Jan Timmermans)
    Source Diff vs 1.6.7
  13. 1.6.7
    • Added compatibility for WooCommerce Dynamic Pricing and Discount Rules
    Source Diff vs 1.6.6
  14. 1.6.6
    • Improved switch accessibility and mobile UX
    • Tested WooCommerce 10.4.3
    Source Diff vs 1.6.5
  15. 1.6.5
    • Skip price wrapping in coupon min/max error messages
    Source Diff vs 1.6.4
  16. 1.6.4
    • Added compatibility for YITH WooCommerce Role Based Prices
    Source Diff vs 1.6.3
  17. 1.6.3
    • Added new style: flat pill
    • Tested WooCommerce 10.3.6
    • Tested WordPress 6.9
    Source Diff vs 1.6.2
  18. 1.6.2
    • 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)
    Source Diff vs 1.6.1
  19. 1.6.1
    • Improved FacetWP compatibility
    • Added compatibility for YayMail – WooCommerce Email Customizer
    • Added compatibility for PDF Invoices & Packing Slips for WooCommerce
    • Tested WooCommerce 10.3.5
    Source Diff vs 1.6.0
  20. 1.6.0
    • 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.

    Source Diff vs 1.5.19
  21. 1.5.19
    • Added PJAX compatibility for themes using jquery-pjax (e.g. WoodMart theme)
    Source Diff vs 1.5.18
  22. 1.5.18
    • Fixed incorrect tax calculation for variation products loaded via AJAX
    Source Diff vs 1.5.17
  23. 1.5.17
    • Tested WooCommerce 10.2.2
    • Improved compatibility for Measurement Price Calculator for WooCommerce
    Source Diff vs 1.5.16
  24. 1.5.16
    • Improved compatibility for Measurement Price Calculator for WooCommerce
    Source Diff vs 1.5.15
  25. 1.5.15
    • Ignore zero tax price check if customer is vat exempt
    Source Diff vs 1.5.14
  26. 1.5.14
    • Fixed price calculation if tax is zero for the current customer (zero tax rate country)
    Source Diff vs 1.5.13
  27. 1.5.13
    • Fixed tax calculation if product price is zero
    Source Diff vs 1.5.12
  28. 1.5.12
    • Added compatibility for Extra Product Options & Add-Ons for WooCommerce
    • Tested WooCommerce 10.1.0
    Source Diff vs 1.5.11
  29. 1.5.11
    • 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
    Source Diff vs 1.5.10
  30. 1.5.10
    • Added compatibility for FiboFilters
    Source Diff vs 1.5.9
  31. 1.5.9
    • 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
    Source Diff vs 1.5.8
  32. 1.5.8
    • Added compatibility for Advanced Woo Search (+ PRO)
    Source Diff vs 1.5.7
  33. 1.5.7
    • Tested WooCommerce 9.9.4
    • Improved translations
    Source Diff vs 1.5.6
  34. 1.5.6
    • Improved compatibility for Tiered Pricing Table for WooCommerce
    Source Diff vs 1.5.5
  35. 1.5.5
    • Added compatibility for WooCommerce Product Add-Ons Ultimate
    Source Diff vs 1.5.4
  36. 1.5.4
    • 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
    Source Diff vs 1.5.3
  37. 1.5.3
    • 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
    Source Diff vs 1.5.2
  38. 1.5.2
    • 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.
    Source Diff vs 1.5.1
  39. 1.5.1
    • Added option to hide the components on the cart and checkout pages
    Source Diff vs 1.5.0
  40. 1.5.0
    • 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
    Source Diff vs 1.4.3
  41. 1.4.3
    • Tested WordPress 6.8.0
    • Tested WooCommerce 9.8.1
    • Security improvement: escaped dynamic class names in HTML output (reported by Peter Thaleikis).
    Source Diff vs 1.4.0
  42. 1.4.0
    • Added shortcode generator
    Source Diff vs 1.3.2
  43. 1.3.2
    • Translate shortcode switch labels. See this topic
    Source Diff vs 1.3.1
  44. 1.3.1
    • Tested with WooCommerce 9.7.1
    Source Diff vs 1.3.0
  45. 1.3.0
    • 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
    Source Diff vs 1.2.5
  46. 1.2.5
    • Fixed tax calculation if customer is VAT exempt
    Source Diff vs 1.2.4
  47. 1.2.4
    • 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
    Source Diff vs 1.2.3
  48. 1.2.3
    • Added incompatibility list
    • Updated incompatibility for Unlimited Elements for Elementor (+ Pro)
    Source Diff vs 1.2.2
  49. 1.2.2
    • Updated compatibility for WooCommerce Product Table Lite / PRO
    Source Diff vs 1.2.1
  50. 1.2.1
    • Added compatibility for WPML
    Source Diff vs 1.2.0
  51. 1.2.0
    • Disable the plugin in the WooCommerce mini cart widget
    Source Diff vs 1.1.11
  52. 1.1.11
    • Added compatibility for Product Add-Ons for WooCommerce
    Source Diff vs 1.1.10
  53. 1.1.10
    • Added compatibility for JetEngine Listing Grid ‘infinity scroll’
    Source Diff vs 1.1.9
  54. 1.1.9
    • 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
    Source Diff vs 1.1.8
  55. 1.1.8
    • Added compatibility for YITH WooCommerce Product Add-ons & Extra Options Premium
    Source Diff vs 1.1.7
  56. 1.1.7
    • Added compatibility for YITH WooCommerce Product Add-Ons
    Source Diff vs 1.1.6
  57. 1.1.6
    • Removed applying ‘woocommerce_get_price_html’ filter a second time to prevent nested duplications
    Source Diff vs 1.1.5
  58. 1.1.5
    • Added extra checks for only executing the filters on the frontend
    Source Diff vs 1.1.4
  59. 1.1.4
    • Improved compatibility for Tiered Pricing Table for WooCommerce
    Source Diff vs 1.1.3
  60. 1.1.3
    • 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
    Source Diff vs 1.1.1
  61. 1.1.1
    • Added compatibility for Tiered Pricing Table for WooCommerce Premium (single product page).
    Source Diff vs 1.1.0
  62. 1.1.0
    • Added compatibility for Tiered Pricing Table for WooCommerce (single product page).
    • Added compatibility for WooCommerce Product Table
    Source Diff vs 1.0.1
  63. 1.0.1
    • Fixed bug where JS was not loaded when element was rendered by shortcode.
    Source Diff vs 1.0.0
  64. 1.0.0
    • Initial release of Tax Switch for WooCommerce.
    Source