Changeset 3299232
- Timestamp:
- 05/23/2025 09:03:36 AM (10 months ago)
- Location:
- variation-price-display/trunk
- Files:
-
- 7 edited
-
includes/class-variation-price-display.php (modified) (1 diff)
-
languages/variation-price-display.pot (modified) (2 diffs)
-
package.json (modified) (1 diff)
-
public/js/public.js (modified) (1 diff)
-
public/js/public.min.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
variation-price-display.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
variation-price-display/trunk/includes/class-variation-price-display.php
r3295789 r3299232 12 12 protected $_plugin = 'variation-price-display'; 13 13 14 protected $_version = '1.3. 19';14 protected $_version = '1.3.20'; 15 15 16 16 protected static $_instance = null; -
variation-price-display/trunk/languages/variation-price-display.pot
r3295789 r3299232 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Variation Price Display Range for WooCommerce 1.3. 19\n"5 "Project-Id-Version: Variation Price Display Range for WooCommerce 1.3.20\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/variation-price-display\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-05- 18T06:49:53+00:00\n"12 "POT-Creation-Date: 2025-05-23T09:15:37+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" -
variation-price-display/trunk/package.json
r3295789 r3299232 1 1 { 2 2 "name": "variaton-price-display", 3 "version": "1.3. 19",3 "version": "1.3.20", 4 4 "description": "Adds lots of advanced options to control how you display the price for your WooCommerce variable products.", 5 5 "main": "index.js", -
variation-price-display/trunk/public/js/public.js
r3295789 r3299232 75 75 .not('.related .price, .upsell .price, .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price'); 76 76 } 77 // Animation Speed `vpdPublicObject.animationSpeed`. parseInt used for converting it to float.77 // Animation Speed `vpdPublicObject.animationSpeed`. parseInt used for converting it to integer. 78 78 priceContainer2.fadeOut( parseInt( vpdPublicObject.animationSpeed ), function () { 79 80 $(document).trigger('vpd_before_price_fadein', [ variationPrice, priceContainer, init_Price, eventName ]); 81 79 82 priceContainer2.html(variationPrice).fadeIn( parseInt( vpdPublicObject.animationSpeed ) ); 80 83 prevPrice = variationPrice; 84 85 $(document).trigger('vpd_after_price_fadein', [ variationPrice, priceContainer, init_Price, eventName ]); 86 81 87 }); 82 88 83 $(document).trigger('vpd_after_price_changed', priceContainer);89 $(document).trigger('vpd_after_price_changed', [ variationPrice, priceContainer, init_Price, eventName ]); 84 90 85 91 // }); -
variation-price-display/trunk/public/js/public.min.js
r3295789 r3299232 1 !function(i){var e=function(){var e,o,c,r,t;c=vpd_public_object,t=c.defaultPriceClass?c.defaultPriceClass:".single_variation_wrap .woocommerce-variation-price",r=c.wrapperClass?c.wrapperClass:".product.product-type-variable",i(r).on("show_variation",(function(o,n){i(this).find(".price").html();n?(variationPrice=n.price_html,e=n.vpd_init_price,n.price_html&&(i(document.body).trigger("vpd_show_variation_price",[variationPrice,i(this),e,"show_variation"]),function(){if("no"===c.hideDefaultPrice)i(r).find(t).removeClass("hide_default_price");else i(r).find(t).addClass("hide_default_price")}())):console.info("VPD Info: Variation data not found!")})),i(r).on("hide_variation",(function(o,c){i(document.body).trigger("vpd_show_variation_price",[e,i(this),e,"hide_variation"])})),i(document.body).on("vpd_show_variation_price",(function(e,r,t,n){!function(e,r ){var t;if("no"===c.changeVariationPrice)return;if(o===e)return;t=""!==c.removePriceClass?r.find(".price, .wp-block-woocommerce-product-price").not(".related .price, .upsell .price, .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price").not(c.removePriceClass):r.find(".price, .wp-block-woocommerce-product-price").not(".related .price, .upsell .price, .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price");t.fadeOut(parseInt(c.animationSpeed),(function(){t.html(e).fadeIn(parseInt(c.animationSpeed)),o=e})),i(document).trigger("vpd_after_price_changed",r)}(r,t)}));i(document).find(".yith-quick-view-overlay,#yith-quick-view-close,.botiga-quick-view-popup-close-button").on("click",(function(e){i("a[class=reset_variations]").click()})),i(document).find(".botiga-quick-view-popup").on("click",(function(e){null===e.target.closest(".botiga-quick-view-popup-content-ajax")&&i("a[class=reset_variations]").click()}))};i(document).ready((function(){try{i(document).trigger("vpd_script_init")}catch(i){window.console.log("Variation Price Display:",i)}})),i(document).on("vpd_script_init",(function(){e()}))}(jQuery);1 !function(i){var e=function(){var e,o,c,r,t;c=vpd_public_object,t=c.defaultPriceClass?c.defaultPriceClass:".single_variation_wrap .woocommerce-variation-price",r=c.wrapperClass?c.wrapperClass:".product.product-type-variable",i(r).on("show_variation",(function(o,n){i(this).find(".price").html();n?(variationPrice=n.price_html,e=n.vpd_init_price,n.price_html&&(i(document.body).trigger("vpd_show_variation_price",[variationPrice,i(this),e,"show_variation"]),function(){if("no"===c.hideDefaultPrice)i(r).find(t).removeClass("hide_default_price");else i(r).find(t).addClass("hide_default_price")}())):console.info("VPD Info: Variation data not found!")})),i(r).on("hide_variation",(function(o,c){i(document.body).trigger("vpd_show_variation_price",[e,i(this),e,"hide_variation"])})),i(document.body).on("vpd_show_variation_price",(function(e,r,t,n){!function(e,r,t,n){var a;if("no"===c.changeVariationPrice)return;if(o===e)return;a=""!==c.removePriceClass?r.find(".price, .wp-block-woocommerce-product-price").not(".related .price, .upsell .price, .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price").not(c.removePriceClass):r.find(".price, .wp-block-woocommerce-product-price").not(".related .price, .upsell .price, .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price");a.fadeOut(parseInt(c.animationSpeed),(function(){i(document).trigger("vpd_before_price_fadein",[e,r,t,n]),a.html(e).fadeIn(parseInt(c.animationSpeed)),o=e,i(document).trigger("vpd_after_price_fadein",[e,r,t,n])})),i(document).trigger("vpd_after_price_changed",[e,r,t,n])}(r,t,n)}));i(document).find(".yith-quick-view-overlay,#yith-quick-view-close,.botiga-quick-view-popup-close-button").on("click",(function(e){i("a[class=reset_variations]").click()})),i(document).find(".botiga-quick-view-popup").on("click",(function(e){null===e.target.closest(".botiga-quick-view-popup-content-ajax")&&i("a[class=reset_variations]").click()}))};i(document).ready((function(){try{i(document).trigger("vpd_script_init")}catch(i){window.console.log("Variation Price Display:",i)}})),i(document).on("vpd_script_init",(function(){e()}))}(jQuery); -
variation-price-display/trunk/readme.txt
r3295789 r3299232 7 7 Tested up to: 6.8 8 8 WC tested up to: 9.8 9 Stable tag: 1.3. 199 Stable tag: 1.3.20 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 145 145 146 146 == Changelog == 147 148 = 1.3.20 [23-05-2025] = 149 * Add: Trigger `vpd_before_price_fadein` & `vpd_after_price_fadein` for plugin compatibility. 147 150 148 151 = 1.3.19 [18-05-2025] = -
variation-price-display/trunk/variation-price-display.php
r3295789 r3299232 5 5 * Description: Adds lots of advanced options to control how you display the price for your WooCommerce variable products. 6 6 * Author: WPXtension 7 * Version: 1.3. 197 * Version: 1.3.20 8 8 * Domain Path: /languages 9 9 * Requires at least: 5.8
Note: See TracChangeset
for help on using the changeset viewer.