Changeset 3455509
- Timestamp:
- 02/06/2026 03:46:13 PM (7 weeks ago)
- Location:
- tax-switch-for-woocommerce
- Files:
-
- 104 added
- 6 edited
-
tags/1.6.8 (added)
-
tags/1.6.8/LICENSE.txt (added)
-
tags/1.6.8/README.txt (added)
-
tags/1.6.8/admin (added)
-
tags/1.6.8/admin/class-wdevs-tax-switch-admin.php (added)
-
tags/1.6.8/admin/index.php (added)
-
tags/1.6.8/admin/js (added)
-
tags/1.6.8/admin/js/wdevs-tax-switch-woocommerce.js (added)
-
tags/1.6.8/admin/partials (added)
-
tags/1.6.8/admin/partials/section-wdevs-tax-switch-shortcode.php (added)
-
tags/1.6.8/build (added)
-
tags/1.6.8/build/label (added)
-
tags/1.6.8/build/label/block.json (added)
-
tags/1.6.8/build/label/index-rtl.css (added)
-
tags/1.6.8/build/label/index.asset.php (added)
-
tags/1.6.8/build/label/index.css (added)
-
tags/1.6.8/build/label/index.js (added)
-
tags/1.6.8/build/label/style-index-rtl.css (added)
-
tags/1.6.8/build/label/style-index.css (added)
-
tags/1.6.8/build/label/view.asset.php (added)
-
tags/1.6.8/build/label/view.js (added)
-
tags/1.6.8/build/shared (added)
-
tags/1.6.8/build/shared/shared.asset.php (added)
-
tags/1.6.8/build/shared/shared.js (added)
-
tags/1.6.8/build/switch (added)
-
tags/1.6.8/build/switch/advanced-product-fields-for-woocommerce.asset.php (added)
-
tags/1.6.8/build/switch/advanced-product-fields-for-woocommerce.js (added)
-
tags/1.6.8/build/switch/block.json (added)
-
tags/1.6.8/build/switch/facetwp.asset.php (added)
-
tags/1.6.8/build/switch/facetwp.js (added)
-
tags/1.6.8/build/switch/fibofilters.asset.php (added)
-
tags/1.6.8/build/switch/fibofilters.js (added)
-
tags/1.6.8/build/switch/index-rtl.css (added)
-
tags/1.6.8/build/switch/index.asset.php (added)
-
tags/1.6.8/build/switch/index.css (added)
-
tags/1.6.8/build/switch/index.js (added)
-
tags/1.6.8/build/switch/kapee-theme.asset.php (added)
-
tags/1.6.8/build/switch/kapee-theme.js (added)
-
tags/1.6.8/build/switch/product-extras-for-woocommerce.asset.php (added)
-
tags/1.6.8/build/switch/product-extras-for-woocommerce.js (added)
-
tags/1.6.8/build/switch/style-index-rtl.css (added)
-
tags/1.6.8/build/switch/style-index.css (added)
-
tags/1.6.8/build/switch/view.asset.php (added)
-
tags/1.6.8/build/switch/view.js (added)
-
tags/1.6.8/build/switch/woocommerce-fees-discounts.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-fees-discounts.js (added)
-
tags/1.6.8/build/switch/woocommerce-measurement-price-calculator.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-measurement-price-calculator.js (added)
-
tags/1.6.8/build/switch/woocommerce-product-addons.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-product-addons.js (added)
-
tags/1.6.8/build/switch/woocommerce-quantity-manager.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-quantity-manager.js (added)
-
tags/1.6.8/build/switch/woocommerce-tiered-price-table.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-tiered-price-table.js (added)
-
tags/1.6.8/build/switch/woocommerce-tm-extra-product-options.asset.php (added)
-
tags/1.6.8/build/switch/woocommerce-tm-extra-product-options.js (added)
-
tags/1.6.8/build/switch/woodmart-theme.asset.php (added)
-
tags/1.6.8/build/switch/woodmart-theme.js (added)
-
tags/1.6.8/build/switch/yith-woocommerce-product-add-ons.asset.php (added)
-
tags/1.6.8/build/switch/yith-woocommerce-product-add-ons.js (added)
-
tags/1.6.8/includes (added)
-
tags/1.6.8/includes/assets (added)
-
tags/1.6.8/includes/assets/css (added)
-
tags/1.6.8/includes/assets/css/wdevs-tax-switch-shared.css (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-activator.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-block-label.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-block-shared.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-block-switch.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-block.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-compatibility.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-deactivator.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-loader.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-mini-cart-context.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch-woocommerce.php (added)
-
tags/1.6.8/includes/class-wdevs-tax-switch.php (added)
-
tags/1.6.8/includes/index.php (added)
-
tags/1.6.8/includes/trait-wdevs-tax-switch-display.php (added)
-
tags/1.6.8/includes/trait-wdevs-tax-switch-helper.php (added)
-
tags/1.6.8/includes/trait-wdevs-tax-switch-plugins.php (added)
-
tags/1.6.8/languages (added)
-
tags/1.6.8/languages/build.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-en_US-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-en_US-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-en_US.l10n.php (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-en_US.mo (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-en_US.po (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-nl_NL-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-nl_NL-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-nl_NL.l10n.php (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-nl_NL.mo (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-nl_NL.po (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-sv_SE-43dcd1c557291b1a502cbd2ea4d36beb.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-sv_SE-a7d03486c29d1d1d1553c783663175ae.json (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-sv_SE.l10n.php (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-sv_SE.mo (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce-sv_SE.po (added)
-
tags/1.6.8/languages/tax-switch-for-woocommerce.pot (added)
-
tags/1.6.8/public (added)
-
tags/1.6.8/public/class-wdevs-tax-switch-public.php (added)
-
tags/1.6.8/public/css (added)
-
tags/1.6.8/public/css/wdevs-tax-switch-public.css (added)
-
tags/1.6.8/public/index.php (added)
-
tags/1.6.8/uninstall.php (added)
-
tags/1.6.8/wdevs-tax-switch.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/build/label/block.json (modified) (1 diff)
-
trunk/build/switch/block.json (modified) (1 diff)
-
trunk/build/switch/view.asset.php (modified) (1 diff)
-
trunk/build/switch/view.js (modified) (1 diff)
-
trunk/wdevs-tax-switch.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tax-switch-for-woocommerce/trunk/README.txt
r3447052 r3455509 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 Stable tag: 1.6. 76 Stable tag: 1.6.8 7 7 Requires PHP: 7.2 8 8 License: GPL-2.0+ … … 243 243 244 244 == Changelog == 245 = 1.6.8 = 246 * Added compatibility for Elementor Popup 247 * Added compatibility for Price Based on Country for WooCommerce 248 * Improved AJAX request handling (special thanks to [Peter-Jan Timmermans](https://www.indegymzaal.nl/)) 249 245 250 = 1.6.7 = 246 251 * Added compatibility for WooCommerce Dynamic Pricing and Discount Rules -
tax-switch-for-woocommerce/trunk/build/label/block.json
r3447052 r3455509 3 3 "apiVersion": 3, 4 4 "name": "wdevs/tax-switch-label", 5 "version": "1.6. 7",5 "version": "1.6.8", 6 6 "title": "Tax Switch text label", 7 7 "category": "woocommerce", -
tax-switch-for-woocommerce/trunk/build/switch/block.json
r3447052 r3455509 3 3 "apiVersion": 3, 4 4 "name": "wdevs/tax-switch", 5 "version": "1.6. 7",5 "version": "1.6.8", 6 6 "title": "Tax Switch for WooCommerce", 7 7 "category": "woocommerce", -
tax-switch-for-woocommerce/trunk/build/switch/view.asset.php
r3410740 r3455509 1 <?php return array('dependencies' => array('jquery', 'react-jsx-runtime', 'wp-data', 'wp-element'), 'version' => ' 26de6029e479f45d38e9');1 <?php return array('dependencies' => array('jquery', 'react-jsx-runtime', 'wp-data', 'wp-element'), 'version' => 'eec777325cd6e2556e73'); -
tax-switch-for-woocommerce/trunk/build/switch/view.js
r3410740 r3455509 1 (()=>{"use strict";var e,t={87:e=>{e.exports=window.wp.element},143:e=>{e.exports=window.wp.data},617:(e,t,s)=>{var a=s(87), o=s(983),r=s(159);const i=window.jQuery;var n=s.n(i);const c=class{static initialize(e){this.registerWooCommerceEvents(e)}static registerWooCommerceEvents(e){n()(".variations_form").on("show_variation",function(){setTimeout(function(){r.A.setPriceClasses(e)},10)}),n()(".variations_form").on("reset_data",function(){setTimeout(function(){r.A.setPriceClasses(e)},10)}),n()(document).ajaxSuccess(function(t,s,a){a&&a.data&&["get_variable_product_bulk_table"].some(e=>a.data.includes(e))&&setTimeout(function(){r.A.setPriceClasses(e)},10)}),["jet-engine/listing-grid/after-load-more","facetwp-loaded","experimental-flatsome-pjax-request-done","flatsome-relay-request-done","flatsome-infiniteScroll-append","vpd_after_price_fadein","awsShowingResults","wc_fragments_loaded","pjax:success","fibosearch/show-suggestions"].forEach(function(t){n()(document).on(t,function(t,s){r.A.setPriceClasses(e)})})}};var l=s(538),d=s(790);let u=!1;const f=()=>{if(!(0,l.I)())return;const e=document.querySelectorAll(".wp-block-wdevs-tax-switch");if(e.length>0){const t=window.wtsViewObject||{originalTaxDisplay:"incl"};(e=>{r.A.setPriceClasses(e.originalTaxDisplay),u||(c.initialize(e.originalTaxDisplay),u=!0)})(t),e.forEach(e=>{e&&((e,t)=>{const s={...e.dataset,...t};(0,a.createRoot)(e).render((0,d.jsx)(a.Suspense,{fallback:(0,d.jsx)("div",{className:"wp-block-placeholder"}),children:(0,d.jsx)(o.A,{...s})}))})(e,t)})}};(0,l.P)(()=>{f()}),document.addEventListener("wdevs-tax-switch-appeared",()=>{f()})},790:e=>{e.exports=window.ReactJSXRuntime}},s={};function a(e){var o=s[e];if(void 0!==o)return o.exports;var r=s[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,s,o,r)=>{if(!s){var i=1/0;for(d=0;d<e.length;d++){for(var[s,o,r]=e[d],n=!0,c=0;c<s.length;c++)(!1&r||i>=r)&&Object.keys(a.O).every(e=>a.O[e](s[c]))?s.splice(c--,1):(n=!1,r<i&&(i=r));if(n){e.splice(d--,1);var l=o();void 0!==l&&(t=l)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[s,o,r]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.j=793,(()=>{var e={793:0};a.O.j=t=>0===e[t];var t=(t,s)=>{var o,r,[i,n,c]=s,l=0;if(i.some(t=>0!==e[t])){for(o in n)a.o(n,o)&&(a.m[o]=n[o]);if(c)var d=c(a)}for(t&&t(s);l<i.length;l++)r=i[l],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(d)},s=globalThis.webpackChunkwdevs_tax_switch=globalThis.webpackChunkwdevs_tax_switch||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))})();var o=a.O(void 0,[320],()=>a(617));o=a.O(o)})();1 (()=>{"use strict";var e,t={87:e=>{e.exports=window.wp.element},143:e=>{e.exports=window.wp.data},617:(e,t,s)=>{var a=s(87),n=s(983),o=s(159);const i=window.jQuery;var r=s.n(i);const c=class{static initialize(e){this.registerWooCommerceEvents(e),this.registerDynamicContentEvents()}static registerWooCommerceEvents(e){r()(".variations_form").on("show_variation",function(){setTimeout(function(){o.A.setPriceClasses(e)},10)}),r()(".variations_form").on("reset_data",function(){setTimeout(function(){o.A.setPriceClasses(e)},10)}),r()(document).ajaxSuccess(function(t,s,a){a&&a.data&&"string"==typeof a.data&&["get_variable_product_bulk_table"].some(e=>a.data.includes(e))&&setTimeout(function(){o.A.setPriceClasses(e)},10)}),["jet-engine/listing-grid/after-load-more","facetwp-loaded","experimental-flatsome-pjax-request-done","flatsome-relay-request-done","flatsome-infiniteScroll-append","vpd_after_price_fadein","awsShowingResults","wc_fragments_loaded","pjax:success","fibosearch/show-suggestions","wc_price_based_country_after_ajax_geolocation"].forEach(function(t){r()(document).on(t,function(t,s){o.A.setPriceClasses(e)})})}static registerDynamicContentEvents(){["elementor/popup/show"].forEach(function(e){document.addEventListener(e,function(e){document.dispatchEvent(new CustomEvent("wdevs-tax-switch-appeared"))})})}};var l=s(538),d=s(790);let u=!1;const f=()=>{if(!(0,l.I)())return;const e=document.querySelectorAll(".wp-block-wdevs-tax-switch");if(e.length>0){const t=window.wtsViewObject||{originalTaxDisplay:"incl"};(e=>{o.A.setPriceClasses(e.originalTaxDisplay),u||(c.initialize(e.originalTaxDisplay),u=!0)})(t),e.forEach(e=>{e&&((e,t)=>{const s={...e.dataset,...t};(0,a.createRoot)(e).render((0,d.jsx)(a.Suspense,{fallback:(0,d.jsx)("div",{className:"wp-block-placeholder"}),children:(0,d.jsx)(n.A,{...s})}))})(e,t)})}};(0,l.P)(()=>{f()}),document.addEventListener("wdevs-tax-switch-appeared",()=>{f()})},790:e=>{e.exports=window.ReactJSXRuntime}},s={};function a(e){var n=s[e];if(void 0!==n)return n.exports;var o=s[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.m=t,e=[],a.O=(t,s,n,o)=>{if(!s){var i=1/0;for(d=0;d<e.length;d++){for(var[s,n,o]=e[d],r=!0,c=0;c<s.length;c++)(!1&o||i>=o)&&Object.keys(a.O).every(e=>a.O[e](s[c]))?s.splice(c--,1):(r=!1,o<i&&(i=o));if(r){e.splice(d--,1);var l=n();void 0!==l&&(t=l)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[s,n,o]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var s in t)a.o(t,s)&&!a.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.j=793,(()=>{var e={793:0};a.O.j=t=>0===e[t];var t=(t,s)=>{var n,o,[i,r,c]=s,l=0;if(i.some(t=>0!==e[t])){for(n in r)a.o(r,n)&&(a.m[n]=r[n]);if(c)var d=c(a)}for(t&&t(s);l<i.length;l++)o=i[l],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(d)},s=globalThis.webpackChunkwdevs_tax_switch=globalThis.webpackChunkwdevs_tax_switch||[];s.forEach(t.bind(null,0)),s.push=t.bind(null,s.push.bind(s))})();var n=a.O(void 0,[320],()=>a(617));n=a.O(n)})(); -
tax-switch-for-woocommerce/trunk/wdevs-tax-switch.php
r3447052 r3455509 17 17 * Plugin URI: https://wijnberg.dev 18 18 * Description: Let customers toggle between inclusive and exclusive VAT pricing in your WooCommerce store. 19 * Version: 1.6. 719 * Version: 1.6.8 20 20 * Author: Wijnberg Developments 21 21 * Author URI: https://wijnberg.dev/ … … 41 41 * Rename this for your plugin and update it as you release new versions. 42 42 */ 43 define( 'WDEVS_TAX_SWITCH_VERSION', '1.6. 7' );43 define( 'WDEVS_TAX_SWITCH_VERSION', '1.6.8' ); 44 44 45 45 /**
Note: See TracChangeset
for help on using the changeset viewer.