Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- README.txt +4 -1
- includes/class-woo-feed.php +1 -1
- includes/classes/class-woo-feed-products.php +11 -12
- woo-feed.php +1 -1
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.1
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -296,6 +296,9 @@ Using pro version:
|
|
296 |
|
297 |
== Changelog ==
|
298 |
|
|
|
|
|
|
|
299 |
= 3.0.3(2019-02-20) =
|
300 |
* Price with Tax attribute added
|
301 |
* Product date created and date updated attribute added
|
4 |
Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.1
|
7 |
+
Stable tag: 3.0.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
296 |
|
297 |
== Changelog ==
|
298 |
|
299 |
+
= 3.0.4(2019-02-25) =
|
300 |
+
* Fixed: Google & Facebook condition attribute value changed from New to new
|
301 |
+
|
302 |
= 3.0.3(2019-02-20) =
|
303 |
* Price with Tax attribute added
|
304 |
* Product date created and date updated attribute added
|
includes/class-woo-feed.php
CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
|
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
-
$this->version = '3.0.
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
+
$this->version = '3.0.4';
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
includes/classes/class-woo-feed-products.php
CHANGED
@@ -202,7 +202,7 @@ class Woo_Feed_Products
|
|
202 |
}
|
203 |
|
204 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
205 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
206 |
$this->productsList[ $this->pi ]['type'] = $simple->get_type();
|
207 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
208 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
@@ -256,11 +256,10 @@ class Woo_Feed_Products
|
|
256 |
continue;
|
257 |
}
|
258 |
|
259 |
-
$this->productsList[ $this->pi ]["id"]
|
260 |
-
$this->productsList[ $this->pi ]["title"]
|
261 |
-
$this->productsList[ $this->pi ]["description"]
|
262 |
-
$this->productsList[ $this->pi ]['variation_type']
|
263 |
-
|
264 |
$this->productsList[ $this->pi ]['short_description'] = $this->remove_short_codes($external->get_short_description());
|
265 |
$this->productsList[ $this->pi ]['product_type'] = strip_tags( wc_get_product_category_list( $id, ">", "" ) );
|
266 |
$this->productsList[ $this->pi ]['link'] = $external->get_permalink();
|
@@ -291,7 +290,7 @@ class Woo_Feed_Products
|
|
291 |
}
|
292 |
|
293 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
294 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
295 |
$this->productsList[ $this->pi ]['type'] = $external->get_type();
|
296 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
297 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
@@ -380,7 +379,7 @@ class Woo_Feed_Products
|
|
380 |
}
|
381 |
|
382 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
383 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
384 |
$this->productsList[ $this->pi ]['type'] = $grouped->get_type();
|
385 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
386 |
$this->productsList[ $this->pi ]['multipack'] = ( count( $grouped->get_children() ) > 0 ) ? count( $grouped->get_children() ) : "";
|
@@ -469,7 +468,7 @@ class Woo_Feed_Products
|
|
469 |
}
|
470 |
|
471 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
472 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
473 |
$this->productsList[ $this->pi ]['type'] = $variable->get_type();
|
474 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
475 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
@@ -599,7 +598,7 @@ class Woo_Feed_Products
|
|
599 |
}
|
600 |
|
601 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
602 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
603 |
$this->productsList[ $this->pi ]['type'] = $variation->get_type();
|
604 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
605 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
@@ -771,7 +770,7 @@ class Woo_Feed_Products
|
|
771 |
}
|
772 |
|
773 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
774 |
-
$this->productsList[ $this->pi ]['condition'] = "
|
775 |
$this->productsList[ $this->pi ]['type'] = $variation->get_type();
|
776 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
777 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
@@ -1598,7 +1597,7 @@ class Woo_Feed_Products
|
|
1598 |
*/
|
1599 |
public function availability($id)
|
1600 |
{
|
1601 |
-
$status=$this->
|
1602 |
if ($status) {
|
1603 |
if ($status == 'instock') {
|
1604 |
return "in stock";
|
202 |
}
|
203 |
|
204 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
205 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
206 |
$this->productsList[ $this->pi ]['type'] = $simple->get_type();
|
207 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
208 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
256 |
continue;
|
257 |
}
|
258 |
|
259 |
+
$this->productsList[ $this->pi ]["id"] = $external->get_id();
|
260 |
+
$this->productsList[ $this->pi ]["title"] = $external->get_name();
|
261 |
+
$this->productsList[ $this->pi ]["description"] = $this->remove_short_codes($external->get_description());
|
262 |
+
$this->productsList[ $this->pi ]['variation_type'] = $external->get_type();
|
|
|
263 |
$this->productsList[ $this->pi ]['short_description'] = $this->remove_short_codes($external->get_short_description());
|
264 |
$this->productsList[ $this->pi ]['product_type'] = strip_tags( wc_get_product_category_list( $id, ">", "" ) );
|
265 |
$this->productsList[ $this->pi ]['link'] = $external->get_permalink();
|
290 |
}
|
291 |
|
292 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
293 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
294 |
$this->productsList[ $this->pi ]['type'] = $external->get_type();
|
295 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
296 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
379 |
}
|
380 |
|
381 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
382 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
383 |
$this->productsList[ $this->pi ]['type'] = $grouped->get_type();
|
384 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
385 |
$this->productsList[ $this->pi ]['multipack'] = ( count( $grouped->get_children() ) > 0 ) ? count( $grouped->get_children() ) : "";
|
468 |
}
|
469 |
|
470 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
471 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
472 |
$this->productsList[ $this->pi ]['type'] = $variable->get_type();
|
473 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
474 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
598 |
}
|
599 |
|
600 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
601 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
602 |
$this->productsList[ $this->pi ]['type'] = $variation->get_type();
|
603 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
604 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
770 |
}
|
771 |
|
772 |
$this->productsList[ $this->pi ]['images'] = implode( ",", $imgUrls );
|
773 |
+
$this->productsList[ $this->pi ]['condition'] = "new";
|
774 |
$this->productsList[ $this->pi ]['type'] = $variation->get_type();
|
775 |
$this->productsList[ $this->pi ]['is_bundle'] = "no";
|
776 |
$this->productsList[ $this->pi ]['multipack'] = "";
|
1597 |
*/
|
1598 |
public function availability($id)
|
1599 |
{
|
1600 |
+
$status=$this->getProductMeta($id,"_stock_status");
|
1601 |
if ($status) {
|
1602 |
if ($status == 'instock') {
|
1603 |
return "in stock";
|
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.0.
|
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.0.4
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|