Version Description
(2021-06-29) = * Fixed: Google Shipping attribute not adding to CSV Feed has been solved.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 4.4.8 |
Comparing to | |
See all releases |
Code changes from version 4.4.7 to 4.4.8
- README.txt +4 -1
- includes/classes/class-woo-feed-shipping.php +6 -0
- woo-feed.php +2 -2
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Product Feed, WooCommerce, Google Shopping, Google Merchant, Facebook Cata
|
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -516,6 +516,9 @@ Using pro version:
|
|
516 |
|
517 |
== Changelog ==
|
518 |
|
|
|
|
|
|
|
519 |
= 4.4.7 (2021-06-28) =
|
520 |
* Fixed: Extra identifier image attribute removed, additional image attribute should be used instead.
|
521 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.4.8
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
516 |
|
517 |
== Changelog ==
|
518 |
|
519 |
+
= 4.4.8 (2021-06-29) =
|
520 |
+
* Fixed: Google Shipping attribute not adding to CSV Feed has been solved.
|
521 |
+
|
522 |
= 4.4.7 (2021-06-28) =
|
523 |
* Fixed: Extra identifier image attribute removed, additional image attribute should be used instead.
|
524 |
|
includes/classes/class-woo-feed-shipping.php
CHANGED
@@ -108,9 +108,11 @@ class Woo_Feed_Shipping {
|
|
108 |
if ( "country" == $zone_type->type ) {
|
109 |
// This is a country shipping zone
|
110 |
$shipping['country'] = $zone_type->code;
|
|
|
111 |
} elseif ( "code" == $zone_type->type ) {
|
112 |
// This is a country shipping zone
|
113 |
$shipping['country'] = $zone_type->code;
|
|
|
114 |
} elseif ( "state" == $zone_type->type ) {
|
115 |
// This is a state shipping zone, split of country
|
116 |
$zone_explode = explode( ":", $zone_type->code );
|
@@ -345,6 +347,10 @@ class Woo_Feed_Shipping {
|
|
345 |
$shipping_value .= ' ' . $this->currency;
|
346 |
}
|
347 |
|
|
|
|
|
|
|
|
|
348 |
$shipping_child .= '<g:' . $shipping_item_attr . '>' . $shipping_value . '</g:' . $shipping_item_attr . '>';
|
349 |
$shipping_child = stripslashes( $shipping_child );
|
350 |
}
|
108 |
if ( "country" == $zone_type->type ) {
|
109 |
// This is a country shipping zone
|
110 |
$shipping['country'] = $zone_type->code;
|
111 |
+
$shipping['region'] = '';
|
112 |
} elseif ( "code" == $zone_type->type ) {
|
113 |
// This is a country shipping zone
|
114 |
$shipping['country'] = $zone_type->code;
|
115 |
+
$shipping['region'] = '';
|
116 |
} elseif ( "state" == $zone_type->type ) {
|
117 |
// This is a state shipping zone, split of country
|
118 |
$zone_explode = explode( ":", $zone_type->code );
|
347 |
$shipping_value .= ' ' . $this->currency;
|
348 |
}
|
349 |
|
350 |
+
if( 'region' === $shipping_item_attr && empty($shipping_value) ) {
|
351 |
+
continue;
|
352 |
+
}
|
353 |
+
|
354 |
$shipping_child .= '<g:' . $shipping_item_attr . '>' . $shipping_value . '</g:' . $shipping_item_attr . '>';
|
355 |
$shipping_child = stripslashes( $shipping_child );
|
356 |
}
|
woo-feed.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: CTX 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.4.
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* 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', '4.4.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
10 |
* Plugin Name: CTX 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.4.8
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
+
define( 'WOO_FEED_FREE_VERSION', '4.4.8' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|