CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.1.28

Version Description

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 3.1.28
Comparing to
See all releases

Code changes from version 3.1.27 to 3.1.28

README.txt CHANGED
@@ -1,10 +1,10 @@
1
- === WooCommerce Product Feed for Google, Facebook, eBay and Many More ===
2
  Contributors: wahid0003
3
  Donate link: https://webappick.com
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.2
7
- Stable tag: 3.1.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -304,6 +304,10 @@ Using pro version:
304
 
305
  == Changelog ==
306
 
 
 
 
 
307
  = 3.1.27(2019-09-11) =
308
  * Added: criteo template added
309
 
1
+ === WooCommerce Product Feed for Google, Bing, eBay and Many More ===
2
  Contributors: wahid0003
3
  Donate link: https://webappick.com
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.2
7
+ Stable tag: 3.1.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
304
 
305
  == Changelog ==
306
 
307
+ = 3.1.28(2019-09-26) =
308
+ * Fix Google Taxonomy Popup with jquery sortable plugin.
309
+ * Fix row become invisible while dragging.
310
+
311
  = 3.1.27(2019-09-11) =
312
  * Added: criteo template added
313
 
admin/css/woo-feed-admin.css CHANGED
@@ -143,7 +143,7 @@
143
  .mtable th:nth-child(9) {
144
  width: 29px;
145
  }
146
-
147
  .wfnoempty{
148
  width:120px;
149
  }
@@ -172,7 +172,16 @@
172
  .wf_sortedtable {
173
  cursor: move;
174
  }
175
-
 
 
 
 
 
 
 
 
 
176
  .mtable2 tbody tr {
177
  height: 25px;
178
  border: 1px solid #CCC;
143
  .mtable th:nth-child(9) {
144
  width: 29px;
145
  }
146
+ .wp-admin select.wf_mattributes,
147
  .wfnoempty{
148
  width:120px;
149
  }
172
  .wf_sortedtable {
173
  cursor: move;
174
  }
175
+ .sorted_table .dragged {
176
+ position: absolute;
177
+ opacity: 0.8;
178
+ z-index: 9999;
179
+ background: #fff;
180
+ }
181
+ .sorted_table tbody tr.placeholder td {
182
+ border: 1px dashed #2cc185;
183
+ height: 100%;
184
+ }
185
  .mtable2 tbody tr {
186
  height: 25px;
187
  border: 1px solid #CCC;
admin/js/woo-feed-admin.js CHANGED
@@ -42,8 +42,7 @@
42
  $(document).on('change', '#feedType', function () {
43
  var type = $(this).val();
44
  var provider = $("#provider").val();
45
- console.log(type);
46
- console.log(provider);
47
  if (type == 'xml') {
48
  $(".itemWrapper").show();
49
  $(".wf_csvtxt").hide();
@@ -195,20 +194,15 @@
195
 
196
  // added by Zakaria
197
  var _value = $(this).val();
198
- console.log(">>>", _value);
199
- if(_value == "fruugo" || _value == "fruugo.au" || _value == "vergelijk_comparer" || _value == "avantlink" || _value == 'spartoo.fi')
200
- {
201
  $("#feedType").val("csv");
202
- }
203
- else
204
- {
205
  $("#feedType").val("");
206
  }
207
  // End
208
 
209
  $("#providerPage").html("<h3>Loading...</h3>");
210
  var merchant = $(this).val();
211
- var this2 = this; //use in callback
212
  $('#feedType').trigger('change');
213
  $.post(wpf_ajax_obj.wpf_ajax_url, { //POST request
214
  _ajax_nonce: wpf_ajax_obj.nonce, //nonce
@@ -291,25 +285,8 @@
291
  containerSelector: 'table',
292
  itemPath: '> tbody',
293
  itemSelector: 'tr',
294
- placeholder: '<tr class="placeholder"/>',
295
- // set $item relative to cursor position
296
- onDragStart: function ($item, container, _super, event) {
297
- $item.css({
298
- height: $item.outerHeight(),
299
- width: $item.outerWidth()
300
- });
301
- $item.addClass(container.group.options.draggedClass);
302
- $("body").addClass(container.group.options.bodyClass);
303
- },
304
- onDrag: function ($item, position, _super, event) {
305
- $item.css(position)
306
- },
307
- onMousedown: function ($item, _super, event) {
308
- if (!event.target.nodeName.match(/^(input|select|textarea|option)$/i) && event.target.classList[0] != 'delRow' && event.target.classList[2] != 'expandType' && event.target.classList[0] != 'delRow' && event.target.classList[2] != 'expandType' && event.target.classList[2] != 'contractType') {
309
- event.preventDefault();
310
- return true
311
- }
312
- }
313
  });
314
  });
315
  });
@@ -368,25 +345,8 @@
368
  containerSelector: 'table',
369
  itemPath: '> tbody',
370
  itemSelector: 'tr',
371
- placeholder: '<tr class="placeholder"/>',
372
- // set $item relative to cursor position
373
- onDragStart: function ($item, container, _super, event) {
374
- $item.css({
375
- height: $item.outerHeight(),
376
- width: $item.outerWidth()
377
- });
378
- $item.addClass(container.group.options.draggedClass);
379
- $("body").addClass(container.group.options.bodyClass);
380
- },
381
- onDrag: function ($item, position, _super, event) {
382
- $item.css(position)
383
- },
384
- onMousedown: function ($item, _super, event) {
385
- if (!event.target.nodeName.match(/^(input|select|textarea|option)$/i) && event.target.classList[0] != 'delRow' && event.target.classList[2] != 'expandType' && event.target.classList[2] != 'contractType') {
386
- event.preventDefault();
387
- return true
388
- }
389
- }
390
  });
391
 
392
  // Feed Active and Inactive status change via ajax
@@ -430,10 +390,7 @@
430
 
431
  });
432
 
433
- })(jQuery);
434
-
435
- // Plugin deactivation pop up
436
- (function($) {
437
  $(function() {
438
  var modal = $( '#wpf_deactive_plugin-modal' );
439
  var deactivateLink = '';
@@ -529,47 +486,38 @@
529
  });
530
  });
531
  });
532
- }(jQuery));
533
-
534
 
535
- //Checking whether php ssh2 extension is added or not
536
-
537
- (function ($) {
538
- $(document).on('change', '.ftporsftp', function () {
539
- server = $(this).val();
540
- if (server == 'sftp') {
541
- $('.ssh2_status').show();
542
- $('.ssh2_status').css('color','dodgerblue');
543
- $('.ssh2_status').text('Wait! Checking Extensions ...');
544
- $.ajax({
545
- url: wpf_ajax_obj.wpf_ajax_url,
546
- type: 'post',
547
- data: {
548
- _ajax_nonce: wpf_ajax_obj.nonce,
549
- action: "get_ssh2_status",
550
- server: server
551
- },
552
- success: function (response) {
553
- if (response.success) {
554
- if(response.data == 'exists') {
555
- $('.ssh2_status').hide();
556
- } else {
557
- $('.ssh2_status').show();
558
- $('.ssh2_status').css('color','red');
559
- $('.ssh2_status').text('Warning! Enable PHP ssh2 extension to use SFTP. Contact your server administrator.');
560
- }
561
  }
562
  }
563
- });
564
- }else{
565
- $('.ssh2_status').hide();
566
- }
567
- });
568
- }(jQuery));
569
-
570
-
571
-
572
- (function ($) {
573
  $(document).on('click', '.woo-feed-review-notice ul li a', function (e) {
574
  e.preventDefault();
575
  let notice = $(this).attr('val');
42
  $(document).on('change', '#feedType', function () {
43
  var type = $(this).val();
44
  var provider = $("#provider").val();
45
+
 
46
  if (type == 'xml') {
47
  $(".itemWrapper").show();
48
  $(".wf_csvtxt").hide();
194
 
195
  // added by Zakaria
196
  var _value = $(this).val();
197
+ if(_value == "fruugo" || _value == "fruugo.au" || _value == "vergelijk_comparer" || _value == "avantlink" || _value == 'spartoo.fi') {
 
 
198
  $("#feedType").val("csv");
199
+ } else {
 
 
200
  $("#feedType").val("");
201
  }
202
  // End
203
 
204
  $("#providerPage").html("<h3>Loading...</h3>");
205
  var merchant = $(this).val();
 
206
  $('#feedType').trigger('change');
207
  $.post(wpf_ajax_obj.wpf_ajax_url, { //POST request
208
  _ajax_nonce: wpf_ajax_obj.nonce, //nonce
285
  containerSelector: 'table',
286
  itemPath: '> tbody',
287
  itemSelector: 'tr',
288
+ handle: 'i.wf_sortedtable',
289
+ placeholder: '<tr class="placeholder"><td colspan="100"></td></tr>',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  });
291
  });
292
  });
345
  containerSelector: 'table',
346
  itemPath: '> tbody',
347
  itemSelector: 'tr',
348
+ handle: 'i.wf_sortedtable',
349
+ placeholder: '<tr class="placeholder"><td colspan="100"></td></tr>',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  });
351
 
352
  // Feed Active and Inactive status change via ajax
390
 
391
  });
392
 
393
+ // Plugin deactivation pop up
 
 
 
394
  $(function() {
395
  var modal = $( '#wpf_deactive_plugin-modal' );
396
  var deactivateLink = '';
486
  });
487
  });
488
  });
 
 
489
 
490
+ //Checking whether php ssh2 extension is added or not
491
+ $(document).on('change', '.ftporsftp', function () {
492
+ var server = $(this).val();
493
+ if (server == 'sftp') {
494
+ $('.ssh2_status').show();
495
+ $('.ssh2_status').css('color','dodgerblue');
496
+ $('.ssh2_status').text('Wait! Checking Extensions ...');
497
+ $.ajax({
498
+ url: wpf_ajax_obj.wpf_ajax_url,
499
+ type: 'post',
500
+ data: {
501
+ _ajax_nonce: wpf_ajax_obj.nonce,
502
+ action: "get_ssh2_status",
503
+ server: server
504
+ },
505
+ success: function (response) {
506
+ if (response.success) {
507
+ if(response.data == 'exists') {
508
+ $('.ssh2_status').hide();
509
+ } else {
510
+ $('.ssh2_status').show();
511
+ $('.ssh2_status').css('color','red');
512
+ $('.ssh2_status').text('Warning! Enable PHP ssh2 extension to use SFTP. Contact your server administrator.');
 
 
 
513
  }
514
  }
515
+ }
516
+ });
517
+ }else{
518
+ $('.ssh2_status').hide();
519
+ }
520
+ });
 
 
 
 
521
  $(document).on('click', '.woo-feed-review-notice ul li a', function (e) {
522
  e.preventDefault();
523
  let notice = $(this).attr('val');
woo-feed.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
- * Version: 3.1.27
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
+ * Version: 3.1.28
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2