Product Feed PRO for WooCommerce - Version 8.2.6

Version Description

Fixed an issue with the gender attribute not saving for variations

Download this release

Release Info

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

Code changes from version 8.2.4 to 8.2.6

pages/admin/woosea-manage-feed.php CHANGED
@@ -57,9 +57,11 @@ if ($versions['WooCommerce'] < 3){
57
  $notifications_box = $notifications_obj->get_admin_notifications ( '13', 'false' );
58
  }
59
 
60
- if($license_information['notice'] == "true"){
61
- $notifications_box['message_type'] = $license_information['message_type'];
62
- $notifications_box['message'] = $license_information['message'];
 
 
63
  }
64
 
65
  if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
57
  $notifications_box = $notifications_obj->get_admin_notifications ( '13', 'false' );
58
  }
59
 
60
+ if(!empty($license_information)){
61
+ if($license_information['notice'] == "true"){
62
+ $notifications_box['message_type'] = $license_information['message_type'];
63
+ $notifications_box['message'] = $license_information['message'];
64
+ }
65
  }
66
 
67
  if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
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.4
8
- Stable tag: 8.2.4
9
 
10
  == Description ==
11
 
@@ -313,6 +313,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
313
 
314
  === Changelog ===
315
 
 
 
 
 
 
 
316
  = 8.2.4 (2020-05-21) =
317
  * Fixed an issue with the table rate shipping compatibility for postcodes
318
 
@@ -2624,6 +2630,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2624
 
2625
  == Upgrade Notice ==
2626
 
 
 
 
 
 
 
2627
  = 8.2.4 =
2628
  Fixed an issue with the table rate shipping compatibility for postcodes
2629
 
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.4
8
+ Stable tag: 8.2.6
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.2.6 (2020-05-23) =
317
+ * Fixed an issue with the gender attribute not saving for variations
318
+
319
+ = 8.2.5 (2020-05-22) =
320
+ * Fixed an issue with the default WooCommerce structured data since WC changed the default version
321
+
322
  = 8.2.4 (2020-05-21) =
323
  * Fixed an issue with the table rate shipping compatibility for postcodes
324
 
2630
 
2631
  == Upgrade Notice ==
2632
 
2633
+ = 8.2.6 =
2634
+ Fixed an issue with the gender attribute not saving for variations
2635
+
2636
+ = 8.2.5 =
2637
+ Fixed an issue with the default WooCommerce structured data since WC changed the default version
2638
+
2639
  = 8.2.4 =
2640
  Fixed an issue with the table rate shipping compatibility for postcodes
2641
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.2.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
@@ -17,7 +17,7 @@
17
  * Domain Path: /languages
18
  *
19
  * WC requires at least: 3.0
20
- * WC tested up to: 4.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,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '8.2.4' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -1385,6 +1385,7 @@ function woosea_product_delete_meta_price( $product = null ) {
1385
  $prices = $product->get_variation_prices();
1386
  $lowest = reset( $prices['price'] );
1387
  $highest = end( $prices['price'] );
 
1388
 
1389
  if ( $lowest === $highest ) {
1390
 
@@ -1393,11 +1394,14 @@ function woosea_product_delete_meta_price( $product = null ) {
1393
  'price' => wc_format_decimal( $lowest, wc_get_price_decimals() ),
1394
  'priceValidUntil' => $price_valid_until,
1395
  'priceCurrency' => $shop_currency,
1396
- 'priceSpecification' => array(
 
 
1397
  'price' => wc_format_decimal( $lowest, wc_get_price_decimals() ),
1398
  'priceCurrency' => $shop_currency,
1399
  'valueAddedTaxIncluded' => wc_prices_include_tax() ? 'true' : 'false',
1400
  ),
 
1401
  );
1402
 
1403
 
@@ -1409,7 +1413,8 @@ function woosea_product_delete_meta_price( $product = null ) {
1409
  'priceValidUntil' => $price_valid_until,
1410
  'priceCurrency' => $shop_currency,
1411
  'availability' => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
1412
- 'seller' => array(
 
1413
  '@type' => 'Organization',
1414
  'name' => $shop_name,
1415
  'url' => $shop_url,
@@ -3550,7 +3555,7 @@ function woosea_save_custom_variable_fields( $post_id ) {
3550
 
3551
  // Gender Field
3552
  if(isset($_POST['_woosea_variable_gender'])){
3553
- $_gender = $_POST['_woosea_gender'];
3554
  $variation_id = (int) $variable_post_id[$i];
3555
  if ( isset( $_gender[$i] ) ) {
3556
  update_post_meta( $variation_id, '_woosea_gender', stripslashes( sanitize_text_field( $_gender[$i] )));
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 8.2.6
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: 3.0
20
+ * WC tested up to: 4.1
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', '8.2.6' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1385
  $prices = $product->get_variation_prices();
1386
  $lowest = reset( $prices['price'] );
1387
  $highest = end( $prices['price'] );
1388
+ $permalink = get_permalink( $product->get_id() );
1389
 
1390
  if ( $lowest === $highest ) {
1391
 
1394
  'price' => wc_format_decimal( $lowest, wc_get_price_decimals() ),
1395
  'priceValidUntil' => $price_valid_until,
1396
  'priceCurrency' => $shop_currency,
1397
+ 'availability' => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
1398
+ 'url' => $permalink,
1399
+ 'priceSpecification' => array(
1400
  'price' => wc_format_decimal( $lowest, wc_get_price_decimals() ),
1401
  'priceCurrency' => $shop_currency,
1402
  'valueAddedTaxIncluded' => wc_prices_include_tax() ? 'true' : 'false',
1403
  ),
1404
+
1405
  );
1406
 
1407
 
1413
  'priceValidUntil' => $price_valid_until,
1414
  'priceCurrency' => $shop_currency,
1415
  'availability' => 'https://schema.org/' . ( $product->is_in_stock() ? 'InStock' : 'OutOfStock' ),
1416
+ 'url' => $permalink,
1417
+ 'seller' => array(
1418
  '@type' => 'Organization',
1419
  'name' => $shop_name,
1420
  'url' => $shop_url,
3555
 
3556
  // Gender Field
3557
  if(isset($_POST['_woosea_variable_gender'])){
3558
+ $_gender = $_POST['_woosea_variable_gender'];
3559
  $variation_id = (int) $variable_post_id[$i];
3560
  if ( isset( $_gender[$i] ) ) {
3561
  update_post_meta( $variation_id, '_woosea_gender', stripslashes( sanitize_text_field( $_gender[$i] )));