Product Feed PRO for WooCommerce - Version 7.4.4

Version Description

Solved a PHP warning that showed when products had no custom attributes configured

Download this release

Release Info

Developer jorisverwater
Plugin Icon 128x128 Product Feed PRO for WooCommerce
Version 7.4.4
Comparing to
See all releases

Code changes from version 7.4.3 to 7.4.4

classes/class-get-products.php CHANGED
@@ -244,11 +244,12 @@ class WooSEA_Get_Products {
244
  $list[$value->name] = ucfirst($value_display);
245
  } else {
246
  $product_attr = unserialize($value->type);
247
-
248
- foreach ($product_attr as $key_inner => $arr_value) {
249
- $value_display = @str_replace("_", " ",$arr_value['name']);
250
- $list[$key_inner] = ucfirst($value_display);
251
- }
 
252
  }
253
  }
254
  return $list;
@@ -2540,12 +2541,14 @@ class WooSEA_Get_Products {
2540
  $value_display = str_replace("_", " ",$value->name);
2541
  if (preg_match("/_product_attributes/i",$value->name)){
2542
  $product_attr = unserialize($value->type);
2543
- foreach ($product_attr as $key => $arr_value) {
2544
- $new_key ="custom_attributes_" . $key;
2545
- if(!empty($arr_value['value'])){
2546
- $product_data[$new_key] = $arr_value['value'];
2547
- }
2548
- }
 
 
2549
  }
2550
  }
2551
  }
244
  $list[$value->name] = ucfirst($value_display);
245
  } else {
246
  $product_attr = unserialize($value->type);
247
+ if(!empty($product_attr)){
248
+ foreach ($product_attr as $key_inner => $arr_value) {
249
+ $value_display = @str_replace("_", " ",$arr_value['name']);
250
+ $list[$key_inner] = ucfirst($value_display);
251
+ }
252
+ }
253
  }
254
  }
255
  return $list;
2541
  $value_display = str_replace("_", " ",$value->name);
2542
  if (preg_match("/_product_attributes/i",$value->name)){
2543
  $product_attr = unserialize($value->type);
2544
+ if(!empty($product_attr)){
2545
+ foreach ($product_attr as $key => $arr_value) {
2546
+ $new_key ="custom_attributes_" . $key;
2547
+ if(!empty($arr_value['value'])){
2548
+ $product_data[$new_key] = $arr_value['value'];
2549
+ }
2550
+ }
2551
+ }
2552
  }
2553
  }
2554
  }
js/woosea_key.js CHANGED
@@ -27,7 +27,7 @@ jQuery(document).ready(function($) {
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.4.3',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.4.4',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
- Stable tag: 7.4.3
9
 
10
  == Description ==
11
 
@@ -312,6 +312,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
312
 
313
  === Changelog ===
314
 
 
 
 
315
  = 7.4.3 (2020-02-09) =
316
  * Added logic to bypass the rightpress discount plugin caching of prices
317
 
@@ -2359,6 +2362,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2359
 
2360
  == Upgrade Notice ==
2361
 
 
 
 
2362
  = 7.4.3 =
2363
  Added logic to bypass the rightpress discount plugin caching of prices
2364
 
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
+ Stable tag: 7.4.4
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.4.4 (2020-02-11) =
316
+ * Solved a PHP warning that showed when products had no custom attributes configured
317
+
318
  = 7.4.3 (2020-02-09) =
319
  * Added logic to bypass the rightpress discount plugin caching of prices
320
 
2362
 
2363
  == Upgrade Notice ==
2364
 
2365
+ = 7.4.4 =
2366
+ Solved a PHP warning that showed when products had no custom attributes configured
2367
+
2368
  = 7.4.3 =
2369
  Added logic to bypass the rightpress discount plugin caching of prices
2370
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.4.3
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.4.3' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -3826,7 +3826,7 @@ function woosea_license_valid(){
3826
 
3827
  if(!empty($license_information['license_key'])){
3828
  $curl = curl_init();
3829
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.3";
3830
 
3831
  curl_setopt_array($curl, array(
3832
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.4.4
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.4.4' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
3826
 
3827
  if(!empty($license_information['license_key'])){
3828
  $curl = curl_init();
3829
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.4";
3830
 
3831
  curl_setopt_array($curl, array(
3832
  CURLOPT_RETURNTRANSFER => 1,