Product Feed PRO for WooCommerce - Version 11.0.3

Version Description

Checked for compatibility with WooCommerce 6.0 Solved a PHP warning that was showing in the logs when creating a Skroutz feed

Download this release

Release Info

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

Code changes from version 11.0.2 to 11.0.3

classes/class-get-products.php CHANGED
@@ -4144,8 +4144,10 @@ class WooSEA_Get_Products {
4144
 
4145
  foreach($variations_id as $var_id){
4146
  $clr_variation = get_post_meta( $var_id, "attribute_".$clr_attribute, true );
4147
- $size_variation = get_post_meta( $var_id, "attribute_".$sz_attribute, true );
4148
- $stock_variation = get_post_meta( $var_id, "_stock_status", true );
 
 
4149
 
4150
  if($clr_variation == $clr_attr_value){
4151
  if($stock_variation == "outofstock"){
@@ -4158,10 +4160,14 @@ class WooSEA_Get_Products {
4158
  }
4159
  } else {
4160
  // Add comma's in the size field and put availability on stock as at least one variation is on stock
4161
- $size_variation_new = $size_variation.",";
4162
- $product_data[$sz_attribute] = str_replace($size_variation,$size_variation_new,$product_data[$sz_attribute]);
4163
- $product_data[$sz_attribute] = trim($product_data[$sz_attribute], ",");
4164
- $product_data['availability'] = "in stock";
 
 
 
 
4165
  }
4166
  }
4167
  }
4144
 
4145
  foreach($variations_id as $var_id){
4146
  $clr_variation = get_post_meta( $var_id, "attribute_".$clr_attribute, true );
4147
+ if ($sz_attribute) {
4148
+ $size_variation = get_post_meta( $var_id, "attribute_".$sz_attribute, true );
4149
+ }
4150
+ $stock_variation = get_post_meta( $var_id, "_stock_status", true );
4151
 
4152
  if($clr_variation == $clr_attr_value){
4153
  if($stock_variation == "outofstock"){
4160
  }
4161
  } else {
4162
  // Add comma's in the size field and put availability on stock as at least one variation is on stock
4163
+ if(isset($size_variation)){
4164
+ $size_variation_new = $size_variation.",";
4165
+ if ($sz_attribute) {
4166
+ $product_data[$sz_attribute] = str_replace($size_variation,$size_variation_new,$product_data[$sz_attribute]);
4167
+ $product_data[$sz_attribute] = trim($product_data[$sz_attribute], ",");
4168
+ $product_data['availability'] = "in stock";
4169
+ }
4170
+ }
4171
  }
4172
  }
4173
  }
js/woosea_key.js CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.0.2',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.0.3',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.8
8
- Stable tag: 11.0.2
9
 
10
  == Description ==
11
 
@@ -339,6 +339,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
339
 
340
  === Changelog ===
341
 
 
 
 
 
342
  = 11.0.2 (2021-12-15) =
343
  * Solved a PHP warning that was showing in the logs when creating a Skroutz feed
344
  * Solved a mysqli::real_connect() error
@@ -3520,6 +3524,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3520
 
3521
  == Upgrade Notice ==
3522
 
 
 
 
 
3523
  = 11.0.2 =
3524
  Solved a PHP warning that was showing in the logs when creating a Skroutz feed
3525
  Solved a mysqli::real_connect() error
5
  Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.8
8
+ Stable tag: 11.0.3
9
 
10
  == Description ==
11
 
339
 
340
  === Changelog ===
341
 
342
+ = 11.0.3 (2021-12-16) =
343
+ * Checked for compatibility with WooCommerce 6.0
344
+ * Solved a PHP warning that was showing in the logs when creating a Skroutz feed
345
+
346
  = 11.0.2 (2021-12-15) =
347
  * Solved a PHP warning that was showing in the logs when creating a Skroutz feed
348
  * Solved a mysqli::real_connect() error
3524
 
3525
  == Upgrade Notice ==
3526
 
3527
+ = 11.0.3 =
3528
+ Checked for compatibility with WooCommerce 6.0
3529
+ Solved a PHP warning that was showing in the logs when creating a Skroutz feed
3530
+
3531
  = 11.0.2 =
3532
  Solved a PHP warning that was showing in the logs when creating a Skroutz feed
3533
  Solved a mysqli::real_connect() error
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.0.2
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
@@ -17,7 +17,7 @@
17
  * Domain Path: /languages
18
  *
19
  * WC requires at least: 4.4
20
- * WC tested up to: 5.9
21
  *
22
  * Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
23
  * it under the terms of the GNU General Public License as published by
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.0.2' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 11.0.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
17
  * Domain Path: /languages
18
  *
19
  * WC requires at least: 4.4
20
+ * WC tested up to: 6.0
21
  *
22
  * Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
23
  * it under the terms of the GNU General Public License as published by
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.0.3' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54