Changeset 2366213
- Timestamp:
- 08/21/2020 02:28:52 AM (6 years ago)
- Location:
- woocommerce-role-based-price
- Files:
-
- 77 added
- 4 edited
-
tags/3.3.7 (added)
-
tags/3.3.7/bootstrap.php (added)
-
tags/3.3.7/includes (added)
-
tags/3.3.7/includes/abstract-addon-handler.php (added)
-
tags/3.3.7/includes/admin (added)
-
tags/3.3.7/includes/admin/class-admin-init.php (added)
-
tags/3.3.7/includes/admin/class-ajax-handler.php (added)
-
tags/3.3.7/includes/admin/class-file-sample.php (added)
-
tags/3.3.7/includes/admin/class-metabox.php (added)
-
tags/3.3.7/includes/admin/class-price-editor-fields.php (added)
-
tags/3.3.7/includes/admin/class-product-functions.php (added)
-
tags/3.3.7/includes/admin/settings_framework (added)
-
tags/3.3.7/includes/admin/settings_framework/class-wp-fields-settings.php (added)
-
tags/3.3.7/includes/admin/settings_framework/class-wp-plugin-options.php (added)
-
tags/3.3.7/includes/admin/settings_framework/class-wp-settings-framework.php (added)
-
tags/3.3.7/includes/admin/settings_framework/class-wp-settings.php (added)
-
tags/3.3.7/includes/admin/views (added)
-
tags/3.3.7/includes/admin/views/addons-footer.php (added)
-
tags/3.3.7/includes/admin/views/addons-header.php (added)
-
tags/3.3.7/includes/admin/views/addons-single.php (added)
-
tags/3.3.7/includes/admin/views/ajax-modal-content.php (added)
-
tags/3.3.7/includes/admin/views/ajax-modal-footer.php (added)
-
tags/3.3.7/includes/admin/views/ajax-modal-header.php (added)
-
tags/3.3.7/includes/admin/views/ajax-modal-price-editor.php (added)
-
tags/3.3.7/includes/admin/views/plugin-welcome-page.php (added)
-
tags/3.3.7/includes/class-extensions.php (added)
-
tags/3.3.7/includes/class-frontend.php (added)
-
tags/3.3.7/includes/class-product-pricing.php (added)
-
tags/3.3.7/includes/class-shortcode-handler.php (added)
-
tags/3.3.7/includes/css (added)
-
tags/3.3.7/includes/css/backend.css (added)
-
tags/3.3.7/includes/css/frontend.css (added)
-
tags/3.3.7/includes/css/selectize.js.css (added)
-
tags/3.3.7/includes/css/tabs.css (added)
-
tags/3.3.7/includes/functions.php (added)
-
tags/3.3.7/includes/helpers (added)
-
tags/3.3.7/includes/helpers/class-activator.php (added)
-
tags/3.3.7/includes/helpers/class-admin-notice.php (added)
-
tags/3.3.7/includes/helpers/class-deactivator.php (added)
-
tags/3.3.7/includes/helpers/class-dependencies.php (added)
-
tags/3.3.7/includes/helpers/class-version-check.php (added)
-
tags/3.3.7/includes/img (added)
-
tags/3.3.7/includes/img/addon_icon.jpg (added)
-
tags/3.3.7/includes/js (added)
-
tags/3.3.7/includes/js/backend.js (added)
-
tags/3.3.7/includes/js/checkbox.js (added)
-
tags/3.3.7/includes/js/selectize.js (added)
-
tags/3.3.7/includes/js/settings-page.js (added)
-
tags/3.3.7/includes/js/tabs.js (added)
-
tags/3.3.7/index.php (added)
-
tags/3.3.7/languages (added)
-
tags/3.3.7/languages/pl_PL.mo (added)
-
tags/3.3.7/languages/woocommerce-role-based-price.pot (added)
-
tags/3.3.7/plugins (added)
-
tags/3.3.7/plugins/aelia-currencyswitcher-integration (added)
-
tags/3.3.7/plugins/aelia-currencyswitcher-integration/aelia-currencyswitcher-integration.php (added)
-
tags/3.3.7/plugins/aelia-currencyswitcher-integration/functions.php (added)
-
tags/3.3.7/plugins/aelia-currencyswitcher-integration/icon.jpg (added)
-
tags/3.3.7/plugins/aelia-currencyswitcher-integration/wc_rbp_fields.php (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/icon.png (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/price-add-to-cart-visibility.php (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/screenshot-1.gif (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/screenshot-2.png (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/screenshot-3.png (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/screenshot-4.png (added)
-
tags/3.3.7/plugins/price-add-to-cart-visibility/screenshot-5.gif (added)
-
tags/3.3.7/plugins/wc-product-exporter (added)
-
tags/3.3.7/plugins/wc-product-exporter/icon.png (added)
-
tags/3.3.7/plugins/wc-product-exporter/wc-product-exporter.php (added)
-
tags/3.3.7/plugins/wc-product-importer (added)
-
tags/3.3.7/plugins/wc-product-importer/icon.png (added)
-
tags/3.3.7/plugins/wc-product-importer/wc-product-importer.php (added)
-
tags/3.3.7/readme.txt (added)
-
tags/3.3.7/uninstall.php (added)
-
tags/3.3.7/woocommerce-role-based-price.php (added)
-
tags/3.3.7/wpml-config.xml (added)
-
trunk/includes/js/backend.js (modified) (4 diffs)
-
trunk/includes/js/settings-page.js (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-role-based-price.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-role-based-price/trunk/includes/js/backend.js
r2096827 r2366213 117 117 118 118 $.WCRBP.add_variation_selectbox = function() { 119 if( $( ".wcrbpvariationbx" ). size()> 0 ) {119 if( $( ".wcrbpvariationbx" ).length > 0 ) { 120 120 $( ".wcrbpvariationbx" ).appendTo( "#wc-rbp-product-editor .hndle span" ); 121 121 } 122 122 123 if( jQuery( '.wcrbpvariationbx' ). size()> 0 ) {123 if( jQuery( '.wcrbpvariationbx' ).length > 0 ) { 124 124 jQuery( '.wcrbpvariationbx' ).selectize( { 125 125 plugins: [ 'remove_button', 'restore_on_backspace' ], … … 152 152 153 153 $.WCRBP.move_selectbox_metabox = function() { 154 $( '#wc-rbp-product-editor' ).find( '.hndle' ). unbind( 'click' );154 $( '#wc-rbp-product-editor' ).find( '.hndle' ).off( 'click' ); 155 155 156 156 $( '#wc-rbp-product-editor' ).on( 'click', '.hndle', function( event ) { 157 157 event.preventDefault(); 158 if( $( event.target ).filter( 'input, option, label, select, div, span' ). size()) {158 if( $( event.target ).filter( 'input, option, label, select, div, span' ).length ) { 159 159 jQuery( '#wc-rbp-product-editor' ).toggleClass( 'closed' ); 160 160 } … … 213 213 //$(document.body).on('keyup change', '.wc_rbp_selling_price', $.WCRBP.validate_selling_price); 214 214 215 if( $( "input.wc_rbp_checkbox" ). size()> 0 ) {215 if( $( "input.wc_rbp_checkbox" ).length > 0 ) { 216 216 $( "input.wc_rbp_checkbox" ).wcrbp_checkbox(); 217 217 } 218 218 219 if( $( ".wcrbpvariationbx" ). size()> 0 ) {219 if( $( ".wcrbpvariationbx" ).length > 0 ) { 220 220 $.WCRBP.add_variation_selectbox(); 221 221 } 222 222 223 if( $( ".wcrbp-tabs" ). size()> 0 ) {223 if( $( ".wcrbp-tabs" ).length > 0 ) { 224 224 $.WCRBP.block( $( 'div#wc-rbp-product-editor div.inside' ) ); 225 225 $.WCRBP.render_wootabs(); … … 270 270 }; 271 271 272 $( document ).ready(function() {272 $( function() { 273 273 $.WCRBP.basic_init_metabox(); 274 274 } ); 275 275 276 $( window ).load( function() {277 if( $( '#wc-rbp-product-editor' ). size()> 0 ) {276 jQuery(window).on('load',function () { 277 if( $( '#wc-rbp-product-editor' ).length > 0 ) { 278 278 $.WCRBP.move_selectbox_metabox(); 279 279 $.WCRBP.unblock( $( 'div#wc-rbp-product-editor div.inside' ) ); 280 280 } 281 } ) 282 281 }); 283 282 } )( jQuery, window, document ); 284 283 -
woocommerce-role-based-price/trunk/includes/js/settings-page.js
r1838371 r2366213 76 76 77 77 $(document).ready(function () { 78 if ( jQuery('div.wc_rbp_addon_listing'). size()> 0 ) {78 if ( jQuery('div.wc_rbp_addon_listing').length > 0 ) { 79 79 jQuery('p.submit').remove(); 80 80 } … … 86 86 }); 87 87 88 jQuery('.wc_rbp_settings_submenu a'). click($.WCRBP_SETTINGS.settings_click_handler);88 jQuery('.wc_rbp_settings_submenu a').on("click",$.WCRBP_SETTINGS.settings_click_handler); 89 89 90 if ( jQuery('.wc_rbp_settings_submenu'). size()> 0 ) {90 if ( jQuery('.wc_rbp_settings_submenu').length > 0 ) { 91 91 $.WCRBP_SETTINGS.handle_settings_page_url(); 92 92 } … … 114 114 jQuery('ul.wc_rbp_addons_category li a').each(function () { 115 115 var category = jQuery(this).attr('data-category'); 116 var catCount = jQuery('.wc-rbp-addon-' + category). size();116 var catCount = jQuery('.wc-rbp-addon-' + category).length; 117 117 jQuery(this).append(' <span class="catCount"> (' + catCount + ') </span>'); 118 118 -
woocommerce-role-based-price/trunk/readme.txt
r2158870 r2366213 9 9 WC requires at least: 3.0 10 10 WC tested up to:3.5 11 Stable tag: 3.3. 611 Stable tag: 3.3.7 12 12 License: GPLv2 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 185 185 186 186 == Changelog == 187 = 3.3.7 [21-08-2020] = 188 * Fixed Javascript Issues with WordPress V5.5 189 * Still WC Role Based Price V4.0 Work On Going . 190 191 187 192 = 3.3.6 [19-09-2019] = 188 193 * Minor updates. -
woocommerce-role-based-price/trunk/woocommerce-role-based-price.php
r2158870 r2366213 4 4 * Plugin URI: https://wordpress.org/plugins/woocommerce-role-based-price/ 5 5 * Description: Sell product in different price for different user role based on your settings. 6 * Version: 3.3. 66 * Version: 3.3.7 7 7 * Author: Varun Sridharan 8 8 * Author URI: http://varunsridharan.in … … 21 21 define( 'WC_RBP_INC', WC_RBP_PATH . 'includes/' ); # Plugin INC Folder 22 22 define( 'WC_RBP_DEPEN', 'woocommerce/woocommerce.php' ); 23 define( 'WC_RBP_VARIABLE_VERSION', '3.3. 6' );23 define( 'WC_RBP_VARIABLE_VERSION', '3.3.7' ); 24 24 register_activation_hook( __FILE__, 'wc_rbp_activate_plugin_name' ); 25 25 register_deactivation_hook( __FILE__, 'wc_rbp_deactivate_plugin_name' );
Note: See TracChangeset
for help on using the changeset viewer.