CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.1.9

Version Description

(2020-11-15) = * Tweak: Local product inventory template updated. * Fix: Local product csv template.

Download this release

Release Info

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

Code changes from version 4.1.8 to 4.1.9

README.txt CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
- Stable tag: 4.1.8
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
@@ -311,6 +311,10 @@ Using pro version:
311
 
312
  == Changelog ==
313
 
 
 
 
 
314
  = 4.1.8 (2020-11-11) =
315
  * Tweak: Striping title, description, short description.
316
  * Fix: Fatal error for saveCSVFile.
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
+ Stable tag: 4.1.9
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
311
 
312
  == Changelog ==
313
 
314
+ = 4.1.9 (2020-11-15) =
315
+ * Tweak: Local product inventory template updated.
316
+ * Fix: Local product csv template.
317
+
318
  = 4.1.8 (2020-11-11) =
319
  * Tweak: Striping title, description, short description.
320
  * Fix: Fatal error for saveCSVFile.
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -567,6 +567,11 @@ class Woo_Feed_Products_v3
567
  $this->feedBody .= "\n";
568
  }
569
  }else {
 
 
 
 
 
570
  $this->feedBody .= '<' . $getReplacedAttribute . '>' . "$attributeValue" . '</' . $getReplacedAttribute . '>';
571
  }
572
 
@@ -577,6 +582,7 @@ class Woo_Feed_Products_v3
577
  $this->feedBody .= "\n";
578
  }
579
  } elseif ( 'csv' == $feedType || 'tsv' == $feedType || 'xls' == $feedType ) {
 
580
  $merchant_attribute = woo_feed_replace_to_merchant_attribute($merchant_attribute, $merchant, $feedType);
581
  $merchant_attribute = $this->processStringForCSV($merchant_attribute);
582
  $attributeValue = $this->processStringForCSV($attributeValue);
567
  $this->feedBody .= "\n";
568
  }
569
  }else {
570
+ if ( 'google_local_inventory' === $merchant ) {
571
+ if ( 'g:description' === $merchant_attribute ) {
572
+ $getReplacedAttribute = trim($getReplacedAttribute, 'g:');
573
+ }
574
+ }
575
  $this->feedBody .= '<' . $getReplacedAttribute . '>' . "$attributeValue" . '</' . $getReplacedAttribute . '>';
576
  }
577
 
582
  $this->feedBody .= "\n";
583
  }
584
  } elseif ( 'csv' == $feedType || 'tsv' == $feedType || 'xls' == $feedType ) {
585
+ $merchant_attribute = trim($merchant_attribute, 'g:');
586
  $merchant_attribute = woo_feed_replace_to_merchant_attribute($merchant_attribute, $merchant, $feedType);
587
  $merchant_attribute = $this->processStringForCSV($merchant_attribute);
588
  $attributeValue = $this->processStringForCSV($attributeValue);
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Product Feed
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
- * Version: 4.1.8
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
38
  * @var string
39
  * @since 3.1.6
40
  */
41
- define( 'WOO_FEED_FREE_VERSION', '4.1.8' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
10
  * Plugin Name: WooCommerce Product Feed
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
+ * Version: 4.1.9
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
38
  * @var string
39
  * @since 3.1.6
40
  */
41
+ define( 'WOO_FEED_FREE_VERSION', '4.1.9' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {