CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.1.8

Version Description

Download this release

Release Info

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

Code changes from version 3.1.7 to 3.1.8

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.7
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.7(2019-07-07) =
307
  * Added: strip tags set as default in the Output Type of kijiji.ca template
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.8
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.8(2019-07-08) =
307
+ * Fixed: pinterest csv feed attribute underscore issue fixed
308
+
309
  = 3.1.7(2019-07-07) =
310
  * Added: strip tags set as default in the Output Type of kijiji.ca template
311
 
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -105,7 +105,7 @@ class Woo_Feed_Default_Attributes
105
  $newTemplate=array();
106
  $newTemplate['--3']="Templates";
107
  foreach ($others_temp as $key => $val) {
108
- echo "$key = $val <br>";
109
  $newTemplate[$key]=$val;
110
  }
111
  $newTemplate['---3']="";
105
  $newTemplate=array();
106
  $newTemplate['--3']="Templates";
107
  foreach ($others_temp as $key => $val) {
108
+ // echo "$key = $val <br>";
109
  $newTemplate[$key]=$val;
110
  }
111
  $newTemplate['---3']="";
includes/classes/class-woo-feed-dropdown.php CHANGED
@@ -632,6 +632,32 @@ class Woo_Feed_Dropdown
632
  }
633
  return $str;
634
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
 
636
  /**
637
  * Dropdown of Facebook Attribute List
632
  }
633
  return $str;
634
  }
635
+
636
+ /**
637
+ * Dropdown of pinterest Attribute List
638
+ *
639
+ * @param string $selected
640
+ * @return string
641
+ */
642
+ public function pinterestAttributesDropdown($selected = "")
643
+ {
644
+ $attributes = new Woo_Feed_Default_Attributes();
645
+ $str = "<option></option>";
646
+ foreach ($attributes->googleAttributes() as $key => $value) {
647
+ if (substr($key, 0, 2) == "--") {
648
+ $str .= "<optgroup label='$value'>";
649
+ } elseif (substr($key, 0, 2) == "---") {
650
+ $str .= "</optgroup>";
651
+ } else {
652
+ $sltd = "";
653
+ if ($selected == $key)
654
+ $sltd = 'selected="selected"';
655
+ $str .= "<option $sltd value='$key'>" . $value . "</option>";
656
+ }
657
+
658
+ }
659
+ return $str;
660
+ }
661
 
662
  /**
663
  * Dropdown of Facebook Attribute List
includes/feeds/class-woo-feed-pinterest.php CHANGED
@@ -89,7 +89,7 @@ class Woo_Feed_Pinterest
89
  $limit = isset($feedRule['Limit']) ? esc_html($feedRule['Limit']) : "";
90
  $offset = isset($feedRule['Offset']) ? esc_html($feedRule['Offset']) : "";
91
  $categories = isset($feedRule['categories']) ? $feedRule['categories']: "";
92
- $storeProducts = $products->woo_feed_get_visible_product($limit, $offset,$categories,$feedRule);
93
  $feedRule=$products->feedRule;
94
  $engine = new WF_Engine($storeProducts, $feedRule);
95
  $this->products = $engine->mapProductsByRules();
89
  $limit = isset($feedRule['Limit']) ? esc_html($feedRule['Limit']) : "";
90
  $offset = isset($feedRule['Offset']) ? esc_html($feedRule['Offset']) : "";
91
  $categories = isset($feedRule['categories']) ? $feedRule['categories']: "";
92
+ $storeProducts = $products->woo_feed_get_visible_product($feedRule);
93
  $feedRule=$products->feedRule;
94
  $engine = new WF_Engine($storeProducts, $feedRule);
95
  $this->products = $engine->mapProductsByRules();
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.7
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.7");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,
@@ -116,7 +116,7 @@ function feed_merchant_view()
116
  if(strpos($merchant,'amazon')!==false){
117
  include plugin_dir_path(__FILE__) . "admin/partials/templates/amazon_add-feed.php";
118
  }
119
- else if($merchant == 'pinterest' || $merchant == 'smartly.io')
120
  {
121
  include plugin_dir_path(__FILE__) . "admin/partials/templates/google_add-feed.php";
122
  }
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.8
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
36
  exit;
37
  }
38
 
39
+ define("WOO_FEED_VERSION", "3.1.8");
40
 
41
  /**
42
  * The core plugin class that is used to define internationalization,
116
  if(strpos($merchant,'amazon')!==false){
117
  include plugin_dir_path(__FILE__) . "admin/partials/templates/amazon_add-feed.php";
118
  }
119
+ else if($merchant == 'smartly.io')
120
  {
121
  include plugin_dir_path(__FILE__) . "admin/partials/templates/google_add-feed.php";
122
  }