CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.1.12

Version Description

Download this release

Release Info

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

Code changes from version 3.1.11 to 3.1.12

README.txt CHANGED
@@ -4,7 +4,7 @@ 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.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -303,6 +303,9 @@ Using pro version:
303
 
304
  == Changelog ==
305
 
 
 
 
306
  = 3.1.11(2019-07-17) =
307
  * Added: spartoo.fi template added
308
 
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.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
303
 
304
  == Changelog ==
305
 
306
+ = 3.1.12(2019-07-18) =
307
+ * Added: shareasale template added
308
+
309
  = 3.1.11(2019-07-17) =
310
  * Added: spartoo.fi template added
311
 
admin/js/woo-feed-admin.js CHANGED
@@ -57,6 +57,11 @@
57
 
58
  if (provider == 'google' || provider == 'facebook' && type != "") {
59
  $(".itemWrapper").hide();
 
 
 
 
 
60
  } else {
61
  //$(".itemWrapper").hide();
62
  }
@@ -190,7 +195,7 @@
190
 
191
  // added by Zakaria
192
  var _value = $(this).val();
193
- if(_value == "fruugo" || _value == "fruugo.au" || _value == "vergelijk_comparer")
194
  {
195
  $("#feedType").val("csv");
196
  }
57
 
58
  if (provider == 'google' || provider == 'facebook' && type != "") {
59
  $(".itemWrapper").hide();
60
+ }
61
+ else if(provider == 'criteo')
62
+ {
63
+ $('.itemWrapper input[name="itemsWrapper"]').val("channel");
64
+ $('.itemWrapper input[name="itemWrapper"]').val("item");
65
  } else {
66
  //$(".itemWrapper").hide();
67
  }
195
 
196
  // added by Zakaria
197
  var _value = $(this).val();
198
+ if(_value == "fruugo" || _value == "fruugo.au" || _value == "vergelijk_comparer" || _value == "avantlink")
199
  {
200
  $("#feedType").val("csv");
201
  }
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -98,7 +98,11 @@ class Woo_Feed_Default_Attributes
98
  // "fnac.fr" => "Fnac.fr",
99
  "idealo" => "Idealo",
100
  // "miinto.nl" => "Miinto.nl",
101
- // 'fyndiq.se' => "Fyndiq.se"
 
 
 
 
102
  );
103
 
104
  asort($others_temp);
98
  // "fnac.fr" => "Fnac.fr",
99
  "idealo" => "Idealo",
100
  // "miinto.nl" => "Miinto.nl",
101
+ // 'fyndiq.se' => "Fyndiq.se",
102
+ // "criteo" => "Criteo"
103
+ // "avantlink" => "Avantlink",
104
+ 'shareasale' => "ShareASale"
105
+ // "walmart" => "Walmart"
106
  );
107
 
108
  asort($others_temp);
includes/feeds/class-woo-feed-custom.php CHANGED
@@ -186,6 +186,13 @@ class Woo_Feed_Custom
186
  <link>". get_bloginfo('url') ."</link>
187
  <description>". get_bloginfo('description') ."</description>";
188
  }
 
 
 
 
 
 
 
189
  else
190
  {
191
  return $engine->get_xml_feed_header();
@@ -205,6 +212,10 @@ class Woo_Feed_Custom
205
  {
206
  return "</productset>";
207
  }
 
 
 
 
208
  else
209
  {
210
  return $engine->get_xml_feed_footer();
186
  <link>". get_bloginfo('url') ."</link>
187
  <description>". get_bloginfo('description') ."</description>";
188
  }
189
+ else if($this->rules['provider'] == 'criteo')
190
+ {
191
+ return "<channel>
192
+ <title>". get_bloginfo('name') ."</title>
193
+ <link>". get_bloginfo('url') ."</link>
194
+ <description>". get_bloginfo('description') ."</description>";
195
+ }
196
  else
197
  {
198
  return $engine->get_xml_feed_header();
212
  {
213
  return "</productset>";
214
  }
215
+ else if($this->rules['provider'] == 'criteo')
216
+ {
217
+ return "</channel>";
218
+ }
219
  else
220
  {
221
  return $engine->get_xml_feed_footer();
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.11
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
36
  exit;
37
  }
38
 
39
- define("WOO_FEED_VERSION", "3.1.11");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,
@@ -800,7 +800,11 @@ function woo_feed_manage_feed()
800
  "fnac.fr",
801
  "idealo",
802
  "miinto.nl",
803
- "fyndiq.se"
 
 
 
 
804
  );
805
 
806
  if (isset($fname)) {
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.12
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
36
  exit;
37
  }
38
 
39
+ define("WOO_FEED_VERSION", "3.1.12");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,
800
  "fnac.fr",
801
  "idealo",
802
  "miinto.nl",
803
+ "fyndiq.se",
804
+ "criteo",
805
+ "avantlink",
806
+ "shareasale",
807
+ "walmart"
808
  );
809
 
810
  if (isset($fname)) {