Product Feed PRO for WooCommerce - Version 9.2.6

Version Description

Fixed all the deprecated jQuery

Download this release

Release Info

Developer jorisverwater
Plugin Icon 128x128 Product Feed PRO for WooCommerce
Version 9.2.6
Comparing to
See all releases

Code changes from version 9.2.5 to 9.2.6

js/typeahead.js CHANGED
@@ -481,4 +481,4 @@
481
  $this.typeahead($this.data());
482
  });
483
 
484
- }));
481
  $this.typeahead($this.data());
482
  });
483
 
484
+ }));
js/woosea_autocomplete.js CHANGED
@@ -5585,7 +5585,7 @@ jQuery(document).ready(function($) {
5585
  "5644 - Vehicles & Parts > Vehicles > Watercraft > Yachts",
5586
  ];
5587
 
5588
- jQuery(".dashicons-arrow-down").click(function(){
5589
  var className = $(this).attr("class").split(' ')[2];
5590
  var rowCount = className.split("_")[2];
5591
  var map_to_category = $(".autocomplete_" + rowCount).val();
@@ -5637,7 +5637,7 @@ jQuery(document).ready(function($) {
5637
  });
5638
 
5639
 
5640
- jQuery(".dashicons-arrow-down-alt").click(function(){
5641
  var className = $(this).attr("class").split(' ')[2];
5642
  var rowCount = className.split("_")[2]
5643
  var map_to_category = $(".autocomplete_" + rowCount).val();
@@ -5692,7 +5692,7 @@ jQuery(document).ready(function($) {
5692
  });
5693
 
5694
 
5695
- jQuery(".js-autosuggest").click(function(){
5696
  var className = $(this).attr("class").split(' ')[3];
5697
  var rowCount = className.split("_")[1]
5698
 
5585
  "5644 - Vehicles & Parts > Vehicles > Watercraft > Yachts",
5586
  ];
5587
 
5588
+ jQuery(".dashicons-arrow-down").on('click', function(){
5589
  var className = $(this).attr("class").split(' ')[2];
5590
  var rowCount = className.split("_")[2];
5591
  var map_to_category = $(".autocomplete_" + rowCount).val();
5637
  });
5638
 
5639
 
5640
+ jQuery(".dashicons-arrow-down-alt").on('click',function(){
5641
  var className = $(this).attr("class").split(' ')[2];
5642
  var rowCount = className.split("_")[2]
5643
  var map_to_category = $(".autocomplete_" + rowCount).val();
5692
  });
5693
 
5694
 
5695
+ jQuery(".js-autosuggest").on('click',function(){
5696
  var className = $(this).attr("class").split(' ')[3];
5697
  var rowCount = className.split("_")[1]
5698
 
js/woosea_channel.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery(document).ready(function($) {
2
 
3
- jQuery("#shipping_zone").click(function(){
4
  var variations = ( $( "#shipping_zone" ).is(':checked')) ? 1 : 0;
5
 
6
  if(variations == "1"){
@@ -84,7 +84,8 @@ jQuery(document).ready(function($) {
84
  });
85
 
86
  // The Aelia currency has changed, make sure to warn the user to also change the currency prefix and/or suffix
87
- $('.aelia_switch').change(function(){
 
88
  var popup_dialog = alert("You have changed the Aelia currency, this will change pricing in your product feed. Make sure the currency prefix and/or suffix on the field mapping page is correct.");
89
  });
90
 
1
  jQuery(document).ready(function($) {
2
 
3
+ jQuery("#shipping_zone").on('click', function(){
4
  var variations = ( $( "#shipping_zone" ).is(':checked')) ? 1 : 0;
5
 
6
  if(variations == "1"){
84
  });
85
 
86
  // The Aelia currency has changed, make sure to warn the user to also change the currency prefix and/or suffix
87
+ //$('.aelia_switch').change(function(){
88
+ $('.aelia_switch').on('change', function(){
89
  var popup_dialog = alert("You have changed the Aelia currency, this will change pricing in your product feed. Make sure the currency prefix and/or suffix on the field mapping page is correct.");
90
  });
91
 
js/woosea_field_mapping.js CHANGED
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
35
  });
36
 
37
  // Add a mapping row to the table for field mappings
38
- jQuery(".add-field-mapping").click(function(){
39
  var channel_hash = $('#channel_hash').val();
40
  var prevRow = $("tr.rowCount:last input[type=hidden]").val();
41
  var addrow_value = $('#addrow').val();
@@ -59,7 +59,7 @@ jQuery(document).ready(function($) {
59
 
60
  $( '#woosea-fieldmapping-table' ).append('<tr><td><input type="hidden" name="attributes[' + rowCount + '][rowCount]" value="' + rowCount + '"><input type="checkbox" name="record" class="checkbox-field"></td><td><select name="attributes[' + rowCount + '][attribute]" class="select-field">' + data.field_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][prefix]" class="input-field-medium"></td><td><select name="attributes[' + rowCount + '][mapfrom]" class="select-field">' + data.attribute_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][suffix]" class="input-field-medium"></td></tr>');
61
 
62
- $('.select-field').change(function(){
63
  if ($(this).val() == "static_value") {
64
  var rownr = $(this).closest("tr").prevAll("tr").length;
65
  $(this).replaceWith('<input type="text" name="attributes[' + rowCount + '][mapfrom]" class="input-field-midsmall"><input type="hidden" name="attributes[' + rowCount + '][static_value]" value="true">');
@@ -73,7 +73,7 @@ jQuery(document).ready(function($) {
73
 
74
 
75
  // Add a mapping row to the table for own mappings
76
- jQuery(".add-own-mapping").click(function(){
77
  var channel_hash = $('#channel_hash').val();
78
  var prevRow = $("tr.rowCount:last input[type=hidden]").val();
79
  var addrow_value = $('#addrow').val();
@@ -96,7 +96,7 @@ jQuery(document).ready(function($) {
96
  data = JSON.parse( data );
97
  $( '#woosea-fieldmapping-table' ).append('<tr><td><input type="hidden" name="attributes[' + rowCount + '][rowCount]" value="' + rowCount + '"><input type="checkbox" name="record" class="checkbox-field"></td><td><input name="attributes[' + rowCount + '][attribute]" id="own-input-field" class="input-field"></td><td><input type="text" name="attributes[' + rowCount + '][prefix]" class="input-field-medium"></td><td><select name="attributes[' + rowCount + '][mapfrom]" class="select-field">' + data.attribute_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][suffix]" class="input-field-medium"></td></tr>');
98
 
99
- $('.select-field').change(function(){
100
  if ($(this).val() == "static_value") {
101
  var rownr = $(this).closest("tr").prevAll("tr").length;
102
  $(this).replaceWith('<input type="text" name="attributes[' + rowCount + '][mapfrom]" class="input-field-midsmall"><input type="hidden" name="attributes[' + rowCount + '][static_value]" value="true">');
@@ -108,7 +108,7 @@ jQuery(document).ready(function($) {
108
  });
109
  });
110
 
111
- jQuery("#savebutton").click(function(){
112
 
113
  $("#own-input-field").each(function() {
114
  var input=$(this).val();
@@ -146,7 +146,7 @@ jQuery(document).ready(function($) {
146
  });
147
  });
148
 
149
- jQuery('.select-field').change(function(){
150
  if ($(this).val() == "static_value") {
151
  // var rownr = $(this).closest("tr").prevAll("tr").length;
152
  var rownr = $(this).closest('tr').attr("class").split(' ')[1];
@@ -155,7 +155,7 @@ jQuery(document).ready(function($) {
155
  });
156
 
157
  // Find and remove selected table rows
158
- jQuery(".delete-field-mapping").click(function(){
159
  $("table tbody").find('input[name="record"]').each(function(){
160
 
161
  if($(this).is(":checked")){
35
  });
36
 
37
  // Add a mapping row to the table for field mappings
38
+ jQuery(".add-field-mapping").on('click', function(){
39
  var channel_hash = $('#channel_hash').val();
40
  var prevRow = $("tr.rowCount:last input[type=hidden]").val();
41
  var addrow_value = $('#addrow').val();
59
 
60
  $( '#woosea-fieldmapping-table' ).append('<tr><td><input type="hidden" name="attributes[' + rowCount + '][rowCount]" value="' + rowCount + '"><input type="checkbox" name="record" class="checkbox-field"></td><td><select name="attributes[' + rowCount + '][attribute]" class="select-field">' + data.field_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][prefix]" class="input-field-medium"></td><td><select name="attributes[' + rowCount + '][mapfrom]" class="select-field">' + data.attribute_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][suffix]" class="input-field-medium"></td></tr>');
61
 
62
+ $('.select-field').on('change', function(){
63
  if ($(this).val() == "static_value") {
64
  var rownr = $(this).closest("tr").prevAll("tr").length;
65
  $(this).replaceWith('<input type="text" name="attributes[' + rowCount + '][mapfrom]" class="input-field-midsmall"><input type="hidden" name="attributes[' + rowCount + '][static_value]" value="true">');
73
 
74
 
75
  // Add a mapping row to the table for own mappings
76
+ jQuery(".add-own-mapping").on('click', function(){
77
  var channel_hash = $('#channel_hash').val();
78
  var prevRow = $("tr.rowCount:last input[type=hidden]").val();
79
  var addrow_value = $('#addrow').val();
96
  data = JSON.parse( data );
97
  $( '#woosea-fieldmapping-table' ).append('<tr><td><input type="hidden" name="attributes[' + rowCount + '][rowCount]" value="' + rowCount + '"><input type="checkbox" name="record" class="checkbox-field"></td><td><input name="attributes[' + rowCount + '][attribute]" id="own-input-field" class="input-field"></td><td><input type="text" name="attributes[' + rowCount + '][prefix]" class="input-field-medium"></td><td><select name="attributes[' + rowCount + '][mapfrom]" class="select-field">' + data.attribute_options + '</select></td><td><input type="text" name="attributes[' + rowCount + '][suffix]" class="input-field-medium"></td></tr>');
98
 
99
+ $('.select-field').on('change', function(){
100
  if ($(this).val() == "static_value") {
101
  var rownr = $(this).closest("tr").prevAll("tr").length;
102
  $(this).replaceWith('<input type="text" name="attributes[' + rowCount + '][mapfrom]" class="input-field-midsmall"><input type="hidden" name="attributes[' + rowCount + '][static_value]" value="true">');
108
  });
109
  });
110
 
111
+ jQuery("#savebutton").on('click', function(){
112
 
113
  $("#own-input-field").each(function() {
114
  var input=$(this).val();
146
  });
147
  });
148
 
149
+ jQuery('.select-field').on('change', function(){
150
  if ($(this).val() == "static_value") {
151
  // var rownr = $(this).closest("tr").prevAll("tr").length;
152
  var rownr = $(this).closest('tr').attr("class").split(' ')[1];
155
  });
156
 
157
  // Find and remove selected table rows
158
+ jQuery(".delete-field-mapping").on('click', function(){
159
  $("table tbody").find('input[name="record"]').each(function(){
160
 
161
  if($(this).is(":checked")){
js/woosea_key.js CHANGED
@@ -1,7 +1,7 @@
1
  jQuery(document).ready(function($) {
2
 
3
- jQuery("#deactivate_license").click(function(){
4
-
5
  $('.notice').replaceWith("<div class='notice notice-info is-dismissible'><p>Your license has been deactivated.</p></div>");
6
  $('#license_email').val('');
7
  $('#license_key').val('');
@@ -19,15 +19,15 @@ jQuery(document).ready(function($) {
19
  });
20
  });
21
 
22
- jQuery("#checklicense").click(function(){
23
-
24
  var temp = location.host.split('.').reverse();
25
  var root_domain = $(location).attr('hostname');
26
  var license_email = $('#license-email').val();
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=9.2.5',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
1
  jQuery(document).ready(function($) {
2
 
3
+ jQuery("#deactivate_license").on('click', function(){
4
+ //jQuery("#deactivate_license").click(function(){
5
  $('.notice').replaceWith("<div class='notice notice-info is-dismissible'><p>Your license has been deactivated.</p></div>");
6
  $('#license_email').val('');
7
  $('#license_key').val('');
19
  });
20
  });
21
 
22
+ jQuery("#checklicense").on('click', function(){
23
+ //jQuery("#checklicense").click(function(){
24
  var temp = location.host.split('.').reverse();
25
  var root_domain = $(location).attr('hostname');
26
  var license_email = $('#license-email').val();
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=9.2.6',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
js/woosea_manage.js CHANGED
@@ -37,8 +37,8 @@ jQuery(function($) {
37
  });
38
  }
39
 
40
- $(".dismiss-review-notification").click(function(){
41
-
42
  jQuery.ajax({
43
  method: "POST",
44
  url: ajaxurl,
@@ -49,7 +49,8 @@ jQuery(function($) {
49
 
50
  });
51
 
52
- $(".get_elite").click(function(e){
 
53
  if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
54
 
55
  $(".get_elite").remove();
@@ -61,8 +62,8 @@ jQuery(function($) {
61
  })
62
  });
63
 
64
-
65
- $(".get_elite_activate").click(function(e){
66
  if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
67
 
68
  $(".get_elite_activate").remove();
@@ -77,7 +78,8 @@ jQuery(function($) {
77
  // $("td[colspan=8]").find("div").parents("tr").hide();
78
  $("td[id=manage_inline]").find("div").parents("tr").hide();
79
 
80
- $('.checkbox-field').change(function(index, obj){
 
81
 
82
  if(get_value == 'woosea_manage_settings' && tab_value == 'woosea_manage_attributes'){
83
  var attribute_value = $(this).val();
@@ -354,7 +356,7 @@ jQuery(function($) {
354
  })
355
 
356
  // Save Google Dynamic Remarketing pixel ID
357
- jQuery("#save_batch_size").click(function(){
358
  var batch_size = $('#batch_size').val();
359
  var re = /^[0-9]*$/;
360
 
@@ -410,7 +412,7 @@ jQuery(function($) {
410
  })
411
 
412
  // Save Google Dynamic Remarketing pixel ID
413
- jQuery("#save_conversion_id").click(function(){
414
  var adwords_conversion_id = $('#adwords_conv_id').val();
415
  var re = /^[0-9]*$/;
416
 
@@ -434,7 +436,7 @@ jQuery(function($) {
434
  })
435
 
436
  // Save Facebook Pixel ID
437
- jQuery("#save_facebook_pixel_id").click(function(){
438
  var facebook_pixel_id = $('#fb_pixel_id').val();
439
  var re = /^[0-9]*$/;
440
  var woosea_valid_facebook_pixel_id=re.test(facebook_pixel_id);
@@ -517,8 +519,8 @@ jQuery(function($) {
517
  }
518
  })
519
 
520
-
521
- $(".actions").delegate("span", "click", function() {
522
  var id=$(this).attr('id');
523
  var idsplit = id.split('_');
524
  var project_hash = idsplit[1];
37
  });
38
  }
39
 
40
+ //$(".dismiss-review-notification").click(function(){
41
+ $(".dismiss-review-notification").on('click', function(){
42
  jQuery.ajax({
43
  method: "POST",
44
  url: ajaxurl,
49
 
50
  });
51
 
52
+ //$(".get_elite").click(function(e){
53
+ $(".get_elite").on('click', function(e){
54
  if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
55
 
56
  $(".get_elite").remove();
62
  })
63
  });
64
 
65
+ //$(".get_elite_activate").click(function(e){
66
+ $(".get_elite_activate").on('click', function(e){
67
  if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
68
 
69
  $(".get_elite_activate").remove();
78
  // $("td[colspan=8]").find("div").parents("tr").hide();
79
  $("td[id=manage_inline]").find("div").parents("tr").hide();
80
 
81
+ //$('.checkbox-field').change(function(index, obj){
82
+ $('.checkbox-field').on('change', function(index, obj){
83
 
84
  if(get_value == 'woosea_manage_settings' && tab_value == 'woosea_manage_attributes'){
85
  var attribute_value = $(this).val();
356
  })
357
 
358
  // Save Google Dynamic Remarketing pixel ID
359
+ jQuery("#save_batch_size").on('click',function(){
360
  var batch_size = $('#batch_size').val();
361
  var re = /^[0-9]*$/;
362
 
412
  })
413
 
414
  // Save Google Dynamic Remarketing pixel ID
415
+ jQuery("#save_conversion_id").on('click',function(){
416
  var adwords_conversion_id = $('#adwords_conv_id').val();
417
  var re = /^[0-9]*$/;
418
 
436
  })
437
 
438
  // Save Facebook Pixel ID
439
+ jQuery("#save_facebook_pixel_id").on('click',function(){
440
  var facebook_pixel_id = $('#fb_pixel_id').val();
441
  var re = /^[0-9]*$/;
442
  var woosea_valid_facebook_pixel_id=re.test(facebook_pixel_id);
519
  }
520
  })
521
 
522
+ // $(".actions").delegate("span", "click", function() {
523
+ $(".actions").on("click", "span", function() {
524
  var id=$(this).attr('id');
525
  var idsplit = id.split('_');
526
  var project_hash = idsplit[1];
js/woosea_rules.js CHANGED
@@ -1,7 +1,7 @@
1
  jQuery(document).ready(function($) {
2
 
3
  // Add standard filters
4
- jQuery(".add-field-manipulation").click(function(){
5
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
6
  var rowCount = Math.round(new Date().getTime() + (Math.random() * 100));
7
  var plusCount = Math.round(new Date().getTime() + (Math.random() * 100));
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
35
  });
36
 
37
  // Add extra fields to existing field manipulations
38
- jQuery(".field_extra").click(function(){
39
  var className = $(this).attr("class").split(' ')[3];
40
  var rowCount = className.split("_")[3];
41
  var plusCount = Math.round(new Date().getTime() + (Math.random() * 100));
@@ -56,7 +56,7 @@ jQuery(document).ready(function($) {
56
  });
57
 
58
  // Add standard filters
59
- jQuery(".add-filter").click(function(){
60
  // Count amount of rows, used to create the form array field and values
61
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
62
  var rowCount = Math.round(new Date().getTime() + (Math.random() * 100));
@@ -97,7 +97,7 @@ jQuery(document).ready(function($) {
97
  });
98
 
99
  // Add rules
100
- jQuery(".add-rule").click(function(){
101
 
102
  // Count amount of rows, used to create the form array field and values
103
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
@@ -147,7 +147,7 @@ jQuery(document).ready(function($) {
147
 
148
  $("#is-field_" + rowCount).replaceWith('<input type="search" name="rules2[' + rowCount + '][newvalue]" class="input-field-large js-typeahead js-autosuggest autocomplete_' + rowCount + '">');
149
 
150
- jQuery(".js-autosuggest").click(function(){
151
  var rowCount = $(this).closest("tr").prevAll("tr").length;
152
 
153
  jQuery( ".autocomplete_" + rowCount ).typeahead({
@@ -191,7 +191,7 @@ jQuery(document).ready(function($) {
191
  });
192
 
193
  // Find and remove selected table rows
194
- jQuery(".delete-row").click(function(){
195
  //$("table tbody").find('input[name="record"]').each(function(){
196
  $(".woo-product-feed-pro-body").find('input[name="record"]').each(function(){
197
  if($(this).is(":checked")){
1
  jQuery(document).ready(function($) {
2
 
3
  // Add standard filters
4
+ jQuery(".add-field-manipulation").on('click', function(){
5
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
6
  var rowCount = Math.round(new Date().getTime() + (Math.random() * 100));
7
  var plusCount = Math.round(new Date().getTime() + (Math.random() * 100));
35
  });
36
 
37
  // Add extra fields to existing field manipulations
38
+ jQuery(".field_extra").on('click', function(){
39
  var className = $(this).attr("class").split(' ')[3];
40
  var rowCount = className.split("_")[3];
41
  var plusCount = Math.round(new Date().getTime() + (Math.random() * 100));
56
  });
57
 
58
  // Add standard filters
59
+ jQuery(".add-filter").on('click',function(){
60
  // Count amount of rows, used to create the form array field and values
61
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
62
  var rowCount = Math.round(new Date().getTime() + (Math.random() * 100));
97
  });
98
 
99
  // Add rules
100
+ jQuery(".add-rule").on('click',function(){
101
 
102
  // Count amount of rows, used to create the form array field and values
103
  var TrueRowCount = $('#woosea-ajax-table >tbody >tr').length-1;
147
 
148
  $("#is-field_" + rowCount).replaceWith('<input type="search" name="rules2[' + rowCount + '][newvalue]" class="input-field-large js-typeahead js-autosuggest autocomplete_' + rowCount + '">');
149
 
150
+ jQuery(".js-autosuggest").on('click', function(){
151
  var rowCount = $(this).closest("tr").prevAll("tr").length;
152
 
153
  jQuery( ".autocomplete_" + rowCount ).typeahead({
191
  });
192
 
193
  // Find and remove selected table rows
194
+ jQuery(".delete-row").on('click',function(){
195
  //$("table tbody").find('input[name="record"]').each(function(){
196
  $(".woo-product-feed-pro-body").find('input[name="record"]').each(function(){
197
  if($(this).is(":checked")){
js/woosea_validation.js CHANGED
@@ -3,168 +3,8 @@ jQuery(document).ready(function($) {
3
  // Disable submit button, will only enable if all fields validate
4
  $('#goforit').attr('disabled',true);
5
 
6
- // Validate woosea installment months
7
- $( "#_woosea_installment_months" ).blur("input", function(){
8
- var input=$(this);
9
- var re = /^[0-9]*$/;
10
- var woosea_installment_months=re.test(input.val());
11
- // Check for allowed characters
12
- if (!woosea_installment_months){
13
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-month is-dismissible'><p>Sorry, only numbers are allowed for the installment month field.</p></div>");
14
- // Disable submit button too
15
- $('#publish').attr('disabled',true);
16
- } else {
17
- $('.woosea-notice-month').remove();
18
- $('#publish').attr('disabled',false);
19
- }
20
- });
21
-
22
- // Validate woosea installment amount
23
- $( "#_woosea_installment_amount" ).blur("input", function(){
24
- var input=$(this);
25
- var re = /^[0-9.,]*$/;
26
- var woosea_installment_amount=re.test(input.val());
27
- // Check for allowed characters
28
- if (!woosea_installment_amount){
29
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-amount is-dismissible'><p>Sorry, only numbers are allowed for the installment amount field.</p></div>");
30
- // Disable submit button too
31
- $('#publish').attr('disabled',true);
32
- } else {
33
- $('.woosea-notice-amount').remove();
34
- $('#publish').attr('disabled',false);
35
- }
36
- });
37
-
38
- // Validate woosea GTIN field
39
- $( "#_woosea_gtin" ).blur("input", function(){
40
- var input=$(this);
41
- var re = /^[0-9]*$/;
42
- var woosea_gtin=re.test(input.val());
43
- // Check for allowed characters
44
- if (!woosea_gtin){
45
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-gtin is-dismissible'><p>Sorry, only numbers are allowed for the GTIN field.</p></div>");
46
- // Disable submit button too
47
- $('#publish').attr('disabled',true);
48
- } else {
49
- $('.woosea-notice-gtin').remove();
50
- $('#publish').attr('disabled',false);
51
- }
52
- });
53
-
54
- // Validate woosea MPN field
55
- $( "#_woosea_mpn" ).blur("input", function(){
56
- var input=$(this);
57
- var re = /^[a-zA-Z0-9-_]*$/;
58
- var woosea_mpn=re.test(input.val());
59
- // Check for allowed characters
60
- if (!woosea_mpn){
61
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-mpn is-dismissible'><p>Sorry, only numbers are allowed for the MPN field.</p></div>");
62
- // Disable submit button too
63
- $('#publish').attr('disabled',true);
64
- } else {
65
- $('.woosea-notice-mpn').remove();
66
- $('#publish').attr('disabled',false);
67
- }
68
- });
69
-
70
- // Validate woosea UPC field
71
- $( "#_woosea_upc" ).blur("input", function(){
72
- var input=$(this);
73
- var re = /^[0-9]*$/;
74
- var woosea_upc=re.test(input.val());
75
- // Check for allowed characters
76
- if (!woosea_upc){
77
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-upc is-dismissible'><p>Sorry, only numbers are allowed for the UPC field.</p></div>");
78
- // Disable submit button too
79
- $('#publish').attr('disabled',true);
80
- } else {
81
- $('.woosea-notice-upc').remove();
82
- $('#publish').attr('disabled',false);
83
- }
84
- });
85
-
86
- // Validate woosea EAN field
87
- $( "#_woosea_ean" ).blur("input", function(){
88
- var input=$(this);
89
- var re = /^[0-9]*$/;
90
- var woosea_ean=re.test(input.val());
91
- // Check for allowed characters
92
- if (!woosea_ean){
93
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-ean is-dismissible'><p>Sorry, only numbers are allowed for the EAN field.</p></div>");
94
- // Disable submit button too
95
- $('#publish').attr('disabled',true);
96
- } else {
97
- $('.woosea-notice-ean').remove();
98
- $('#publish').attr('disabled',false);
99
- }
100
- });
101
-
102
- // Validate woosea Brand field
103
- $( "#_woosea_brand" ).blur("input", function(){
104
- var input=$(this);
105
- var re = /^[a-zA-Z0-9-_. ]*$/;
106
- var woosea_brand=re.test(input.val());
107
- // Check for allowed characters
108
- if (!woosea_brand){
109
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-brand is-dismissible'><p>Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the brand field.</p></div>");
110
- // Disable submit button too
111
- $('#publish').attr('disabled',true);
112
- } else {
113
- $('.woosea-notice-brand').remove();
114
- $('#publish').attr('disabled',false);
115
- }
116
- });
117
-
118
- // Validate woosea unit pricing base measure field
119
- $( "#_woosea_unit_pricing_base_measure" ).blur("input", function(){
120
- var input=$(this);
121
- var re = /^[a-zA-Z0-9-_. ]*$/;
122
- var woosea_unit_pricing_base_measure=re.test(input.val());
123
- // Check for allowed characters
124
- if (!woosea_unit_pricing_base_measure){
125
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-unit-pricing-base-measure is-dismissible'><p>Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the unit pricing base measure field.</p></div>");
126
- // Disable submit button too
127
- $('#publish').attr('disabled',true);
128
- } else {
129
- $('.woosea-notice-unit-pricing-base-measure').remove();
130
- $('#publish').attr('disabled',false);
131
- }
132
- });
133
-
134
- // Validate woosea unit pricing measure field
135
- $( "#_woosea_unit_pricing_measure" ).blur("input", function(){
136
- var input=$(this);
137
- var re = /^[a-zA-Z0-9-_. ]*$/;
138
- var woosea_unit_pricing_measure=re.test(input.val());
139
- // Check for allowed characters
140
- if (!woosea_unit_pricing_measure){
141
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-unit-pricing-measure is-dismissible'><p>Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the unit pricing measure field.</p></div>");
142
- // Disable submit button too
143
- $('#publish').attr('disabled',true);
144
- } else {
145
- $('.woosea-notice-unit-pricing-measure').remove();
146
- $('#publish').attr('disabled',false);
147
- }
148
- });
149
-
150
- // Validate woosea Optimized title field
151
- $( "#_woosea_optimized_title" ).blur("input", function(){
152
- var input=$(this);
153
- var re = /^[AaĄąBbCcĆćDdEeĘęFfGgHhIiJjKkLlŁłMmNnŃńOoÓóPpRrSsŚśTtUuWwYyZzŹźŻża-zA-Z0-9-_.àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇßØøÅåÆæœ ]*$/;
154
- var woosea_optimized_title=re.test(input.val());
155
- // Check for allowed characters
156
- if (!woosea_optimized_title){
157
- $('.notice').replaceWith("<div class='notice notice-error woosea-notice-optimized-title is-dismissible'><p>Sorry, only letters, numbers, whitespaces, -, . and _ are allowed for the optimized title field.</p></div>");
158
- // Disable submit button too
159
- $('#publish').attr('disabled',true);
160
- } else {
161
- $('.woosea-notice-optimized-title').remove();
162
- $('#publish').attr('disabled',false);
163
- }
164
- });
165
-
166
  // Validate project name
167
- $( "#projectname" ).blur("input", function(){
168
  var input=$(this);
169
  var re = /^[a-zA-Z0-9-_.àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇßØøÅåÆæœ ]*$/;
170
  var minLength = 3;
@@ -196,7 +36,8 @@ jQuery(document).ready(function($) {
196
  });
197
 
198
  // Validate ruling values
199
- $( "#rulevalue" ).blur("input", function(){
 
200
  var input=$(this);
201
  var minLength = 1;
202
  var maxLength = 200;
3
  // Disable submit button, will only enable if all fields validate
4
  $('#goforit').attr('disabled',true);
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  // Validate project name
7
+ $( "#projectname" ).on('blur', function() {
8
  var input=$(this);
9
  var re = /^[a-zA-Z0-9-_.àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇßØøÅåÆæœ ]*$/;
10
  var minLength = 3;
36
  });
37
 
38
  // Validate ruling values
39
+ $( "#rulevalue" ).on('blur', function(){
40
+ //$( "#rulevalue" ).blur("input", function(){
41
  var input=$(this);
42
  var minLength = 1;
43
  var maxLength = 200;
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.6
8
- Stable tag: 9.2.5
9
 
10
  == Description ==
11
 
@@ -321,6 +321,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
321
 
322
  === Changelog ===
323
 
 
 
 
324
  = 9.2.5 (2020-12-10) =
325
  * Added support for Facebook Enhanced Catalog feeds
326
  * Added the Adtribes.io APP ID to Facebook feeds
@@ -2951,6 +2954,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2951
 
2952
  == Upgrade Notice ==
2953
 
 
 
 
2954
  = 9.2.5 =
2955
  Added support for Facebook Enhanced Catalog feeds
2956
  Added the Adtribes.io APP ID to Facebook feeds
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.6
8
+ Stable tag: 9.2.6
9
 
10
  == Description ==
11
 
321
 
322
  === Changelog ===
323
 
324
+ = 9.2.6 (2020-12-11) =
325
+ * Fixed all the deprecated jQuery
326
+
327
  = 9.2.5 (2020-12-10) =
328
  * Added support for Facebook Enhanced Catalog feeds
329
  * Added the Adtribes.io APP ID to Facebook feeds
2954
 
2955
  == Upgrade Notice ==
2956
 
2957
+ = 9.2.6 =
2958
+ Fixed all the deprecated jQuery
2959
+
2960
  = 9.2.5 =
2961
  Added support for Facebook Enhanced Catalog feeds
2962
  Added the Adtribes.io APP ID to Facebook feeds
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 9.2.5
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '9.2.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -115,7 +115,7 @@ function woosea_scripts($hook) {
115
  wp_enqueue_script( 'typeahead-js' );
116
 
117
  // JS for adding input field validation
118
- wp_register_script( 'woosea_validation-js', plugin_dir_url( __FILE__ ) . 'js/woosea_validation.js', '',WOOCOMMERCESEA_PLUGIN_VERSION, true );
119
  wp_enqueue_script( 'woosea_validation-js' );
120
 
121
  // JS for autocomplete
@@ -123,7 +123,7 @@ function woosea_scripts($hook) {
123
  wp_enqueue_script( 'woosea_autocomplete-js' );
124
 
125
  // JS for adding table rows to the rules page
126
- wp_register_script( 'woosea_rules-js', plugin_dir_url( __FILE__ ) . 'js/woosea_rules.js', '',WOOCOMMERCESEA_PLUGIN_VERSION, true );
127
  wp_enqueue_script( 'woosea_rules-js' );
128
 
129
  // JS for adding table rows to the field mappings page
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 9.2.6
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '9.2.6' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
115
  wp_enqueue_script( 'typeahead-js' );
116
 
117
  // JS for adding input field validation
118
+ wp_register_script( 'woosea_validation-js', plugin_dir_url( __FILE__ ) . 'js/woosea_validation.js?BLAAT=999', '',WOOCOMMERCESEA_PLUGIN_VERSION, true );
119
  wp_enqueue_script( 'woosea_validation-js' );
120
 
121
  // JS for autocomplete
123
  wp_enqueue_script( 'woosea_autocomplete-js' );
124
 
125
  // JS for adding table rows to the rules page
126
+ wp_register_script( 'woosea_rules-js', plugin_dir_url( __FILE__ ) . 'js/woosea_rules.js?BLAAT=1', '',WOOCOMMERCESEA_PLUGIN_VERSION, true );
127
  wp_enqueue_script( 'woosea_rules-js' );
128
 
129
  // JS for adding table rows to the field mappings page