Product Feed PRO for WooCommerce - Version 12.0.3

Version Description

Solved a PHP Fatal error when trying to retrieve the woosea_condition string

Download this release

Release Info

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

Code changes from version 12.0.2 to 12.0.3

Files changed (3) hide show
  1. js/woosea_key.js +1 -1
  2. readme.txt +7 -1
  3. woocommerce-sea.php +6 -3
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=12.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=12.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, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
- Stable tag: 12.0.2
9
 
10
  == Description ==
11
 
@@ -340,6 +340,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
340
 
341
  === Changelog ===
342
 
 
 
 
343
  = 12.0.2 (2022-11-21) =
344
  * Added the sale_price_effective_date field to the Google DRM feed template
345
 
@@ -3840,6 +3843,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3840
 
3841
  == Upgrade Notice ==
3842
 
 
 
 
3843
  = 12.0.2 =
3844
  Added the sale_price_effective_date field to the Google DRM feed template
3845
 
5
  Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
+ Stable tag: 12.0.3
9
 
10
  == Description ==
11
 
340
 
341
  === Changelog ===
342
 
343
+ = 12.0.3 (2022-11-23) =
344
+ Solved a PHP Fatal error when trying to retrieve the woosea_condition string
345
+
346
  = 12.0.2 (2022-11-21) =
347
  * Added the sale_price_effective_date field to the Google DRM feed template
348
 
3843
 
3844
  == Upgrade Notice ==
3845
 
3846
+ = 12.0.3 =
3847
+ Solved a PHP Fatal error when trying to retrieve the woosea_condition string
3848
+
3849
  = 12.0.2 =
3850
  Added the sale_price_effective_date field to the Google DRM feed template
3851
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 12.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, Catalog managers, Remarketing, Bing, Skroutz, 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', '12.0.2' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -1246,7 +1246,10 @@ function woosea_product_delete_meta_price( $product = null ) {
1246
  $mpn = get_post_meta( $product_id, '_woosea_mpn', true );
1247
 
1248
  // Get product condition
1249
- $condition = ucfirst( get_post_meta( $product_id, '_woosea_condition', true ) );
 
 
 
1250
 
1251
  if(!$condition){
1252
  $json_condition = "NewCondition";
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 12.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, Catalog managers, Remarketing, Bing, Skroutz, 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', '12.0.3' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1246
  $mpn = get_post_meta( $product_id, '_woosea_mpn', true );
1247
 
1248
  // Get product condition
1249
+ $first_condition = get_post_meta( $product_id, '_woosea_condition', true );
1250
+ if(is_string($first_condition)){
1251
+ $condition = ucfirst( $first_condition );
1252
+ }
1253
 
1254
  if(!$condition){
1255
  $json_condition = "NewCondition";