Product Feed PRO for WooCommerce - Version 8.3.0

Version Description

When our plugin is enabled and the structured data snippet feature is disabled then use the normal default WooCommerce structured data

Download this release

Release Info

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

Code changes from version 8.2.9 to 8.3.0

Files changed (2) hide show
  1. readme.txt +7 -1
  2. woocommerce-sea.php +10 -3
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.9
9
 
10
  == Description ==
11
 
@@ -313,6 +313,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
313
 
314
  === Changelog ===
315
 
 
 
 
316
  = 8.2.9 (2020-06-04) =
317
  * Reverted to DOM for Facebook / Instagram feeds as Facebook, all of a sudden, requires preservation of line-breaks
318
 
@@ -2639,6 +2642,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2639
 
2640
  == Upgrade Notice ==
2641
 
 
 
 
2642
  = 8.2.9 =
2643
  Reverted to DOM for Facebook / Instagram feeds as Facebook, all of a sudden, requires preservation of line-breaks
2644
 
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.3.0
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.3.0 (2020-06-07) =
317
+ * When our plugin is enabled and the structured data snippet feature is disabled then use the normal default WooCommerce structured data
318
+
319
  = 8.2.9 (2020-06-04) =
320
  * Reverted to DOM for Facebook / Instagram feeds as Facebook, all of a sudden, requires preservation of line-breaks
321
 
2642
 
2643
  == Upgrade Notice ==
2644
 
2645
+ = 8.3.0 =
2646
+ When our plugin is enabled and the structured data snippet feature is disabled then use the normal default WooCommerce structured data
2647
+
2648
  = 8.2.9 =
2649
  Reverted to DOM for Facebook / Instagram feeds as Facebook, all of a sudden, requires preservation of line-breaks
2650
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.2.9
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', '8.2.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -413,6 +413,9 @@ function woosea_add_facebook_pixel( $product = null ){
413
  $children_ids = $product->get_children();
414
  $content = "";
415
  foreach ($children_ids as $id){
 
 
 
416
  $content .= '\''.$id.'\',';
417
  //$content .= $id.',';
418
  }
@@ -1810,8 +1813,12 @@ function woosea_product_fix_structured_data( $product = null ) {
1810
  }
1811
  return $markup;
1812
  }
1813
- add_filter( 'woocommerce_structured_data_product', 'woosea_product_fix_structured_data', 10, 2 );
1814
 
 
 
 
 
 
1815
 
1816
  /**
1817
  * Get the shipping zone countries and ID's
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 8.3.0
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', '8.3.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
413
  $children_ids = $product->get_children();
414
  $content = "";
415
  foreach ($children_ids as $id){
416
+
417
+ $id = $id+100000;
418
+
419
  $content .= '\''.$id.'\',';
420
  //$content .= $id.',';
421
  }
1813
  }
1814
  return $markup;
1815
  }
 
1816
 
1817
+ // Only execute this filter when the structured data fix feature is enabled
1818
+ $structured_data_fix = get_option ('structured_data_fix');
1819
+ if($structured_data_fix == "yes"){
1820
+ add_filter( 'woocommerce_structured_data_product', 'woosea_product_fix_structured_data', 10, 2 );
1821
+ }
1822
 
1823
  /**
1824
  * Get the shipping zone countries and ID's