CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.7.20

Version Description

(2020-09-17) = * Fix: availability will return preorder for on backorder into Google Merchant and Pinterest template. * Fix: availability will return available for order for on backorder into Facebook template.

Download this release

Release Info

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

Code changes from version 3.7.19 to 3.7.20

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags:product feed,woocommerce product feed,google shopping feed,google shopping,
5
  Requires at least: 3.6
6
  Tested Up To: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 3.7.19
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -308,6 +308,10 @@ Using pro version:
308
 
309
  == Changelog ==
310
 
 
 
 
 
311
  = 3.7.19 (2020-09-16) =
312
  * Tweak: itemid renamed to id for google local product inventory template.
313
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 3.7.20
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
308
 
309
  == Changelog ==
310
 
311
+ = 3.7.20 (2020-09-17) =
312
+ * Fix: availability will return `preorder` for on backorder into Google Merchant and Pinterest template.
313
+ * Fix: availability will return `available for order` for on backorder into Facebook template.
314
+
315
  = 3.7.19 (2020-09-16) =
316
  * Tweak: itemid renamed to id for google local product inventory template.
317
 
includes/feeds/merchant_templates_override.php CHANGED
@@ -48,11 +48,12 @@ function woo_feed_availability_attribute_value_modify($attribute_value, $product
48
  return "No";
49
  }
50
  }elseif ('google'===$feed_config['provider']
51
- || 'facebook'===$feed_config['provider']
52
  ||'pinterest'===$feed_config['provider']){
53
  if('on backorder'===$attribute_value){
54
- return 'out of stock';
55
  }
 
 
56
  }
57
  return $attribute_value;
58
  }
48
  return "No";
49
  }
50
  }elseif ('google'===$feed_config['provider']
 
51
  ||'pinterest'===$feed_config['provider']){
52
  if('on backorder'===$attribute_value){
53
+ return 'preorder';
54
  }
55
+ }elseif('facebook'===$feed_config['provider'] && 'on backorder'===$attribute_value){
56
+ return 'available for order';
57
  }
58
  return $attribute_value;
59
  }
woo-feed.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
  *
14
- * Version: 3.7.19
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * License: GPL v2
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
39
  * @var string
40
  * @since 3.1.6
41
  */
42
- define( 'WOO_FEED_FREE_VERSION', '3.7.19' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
11
  * Plugin URI: https://webappick.com/
12
  * Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
13
  *
14
+ * Version: 3.7.20
15
  * Author: WebAppick
16
  * Author URI: https://webappick.com/
17
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '3.7.20' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {