Product Feed PRO for WooCommerce - Version 7.7.8

Version Description

Changed the order in which filters and rules are executed. Rules are executed first, filters last.

Download this release

Release Info

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

Code changes from version 7.7.7 to 7.7.8

classes/class-get-products.php CHANGED
@@ -2997,11 +2997,11 @@ class WooSEA_Get_Products {
2997
  /**
2998
  * Filter execution
2999
  */
3000
- if (array_key_exists('rules', $project_config)){
3001
- if(is_array($product_data)){
3002
- $product_data = $this->woocommerce_sea_filters( $project_config['rules'], $product_data );
3003
- }
3004
- }
3005
 
3006
  /**
3007
  * Check if we need to add category taxonomy mappings (Google Shopping)
@@ -3026,9 +3026,17 @@ class WooSEA_Get_Products {
3026
  }
3027
 
3028
  /**
3029
- * When a product is a variable product we need to delete the original product from the feed, only the originals are allowed
3030
  */
 
 
 
 
 
3031
 
 
 
 
3032
  // For these channels parent products are allowed
3033
  $allowed_channel_parents = array(
3034
  "skroutz",
2997
  /**
2998
  * Filter execution
2999
  */
3000
+ // if (array_key_exists('rules', $project_config)){
3001
+ // if(is_array($product_data)){
3002
+ // $product_data = $this->woocommerce_sea_filters( $project_config['rules'], $product_data );
3003
+ // }
3004
+ // }
3005
 
3006
  /**
3007
  * Check if we need to add category taxonomy mappings (Google Shopping)
3026
  }
3027
 
3028
  /**
3029
+ * Filter execution
3030
  */
3031
+ if (array_key_exists('rules', $project_config)){
3032
+ if(is_array($product_data)){
3033
+ $product_data = $this->woocommerce_sea_filters( $project_config['rules'], $product_data );
3034
+ }
3035
+ }
3036
 
3037
+ /**
3038
+ * When a product is a variable product we need to delete the original product from the feed, only the originals are allowed
3039
+ */
3040
  // For these channels parent products are allowed
3041
  $allowed_channel_parents = array(
3042
  "skroutz",
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.7.7',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
35
 
36
  var license_valid = licenseData.valid;
37
  if (license_valid == "true"){
38
- $('.notice').replaceWith("<div class='notice notice-success is-dismissible'><p>Thank you for registering your Elite product, your yearly license has been activated. Please do not hesitate to contact us whenever you have questions (support@adtribes.io).</p></div>");
39
  } else {
40
  $('.notice').replaceWith("<div class='notice notice-error is-dismissible'><p>Sorry, this does not seem to be a valid or active license key and email. Please feel free to contact us at support@adtribes.io whenever you have questions with regards to your license.</p></div>");
41
  }
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.7.8',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
35
 
36
  var license_valid = licenseData.valid;
37
  if (license_valid == "true"){
38
+ $('.notice').replaceWith("<div class='notice notice-success is-dismissible'><p>Thank you for registering your Elite product, your license has been activated. Please do not hesitate to contact us whenever you have questions (support@adtribes.io).</p></div>");
39
  } else {
40
  $('.notice').replaceWith("<div class='notice notice-error is-dismissible'><p>Sorry, this does not seem to be a valid or active license key and email. Please feel free to contact us at support@adtribes.io whenever you have questions with regards to your license.</p></div>");
41
  }
js/woosea_license.js CHANGED
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
35
 
36
  var license_valid = licenseData.valid;
37
  if (license_valid == "true"){
38
- $('.notice').replaceWith("<div class='notice notice-success is-dismissible'><p>Thank you for registering your Elite product, your yearly license has been activated. Please do not hesitate to contact us whenever you have questions (support@adtribes.io).</p></div>");
39
  } else {
40
  $('.notice').replaceWith("<div class='notice notice-error is-dismissible'><p>Sorry, this does not seem to be a valid or active license key and email. Please feel free to contact us at support@adtribes.io whenever you have questions with regards to your license.</p></div>");
41
  }
35
 
36
  var license_valid = licenseData.valid;
37
  if (license_valid == "true"){
38
+ $('.notice').replaceWith("<div class='notice notice-success is-dismissible'><p>Thank you for registering your Elite product, your license has been activated. Please do not hesitate to contact us whenever you have questions (support@adtribes.io).</p></div>");
39
  } else {
40
  $('.notice').replaceWith("<div class='notice notice-error is-dismissible'><p>Sorry, this does not seem to be a valid or active license key and email. Please feel free to contact us at support@adtribes.io whenever you have questions with regards to your license.</p></div>");
41
  }
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.7.7
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.7.7 (2020-03-22) =
316
  * Changed how values are added to the content_ids parameter of the Facebook pixel for variable parent products
317
 
@@ -2474,6 +2477,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2474
 
2475
  == Upgrade Notice ==
2476
 
 
 
 
2477
  = 7.7.7 =
2478
  Changed how values are added to the content_ids parameter of the Facebook pixel for variable parent products
2479
 
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.7.8
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.7.8 (2020-03-23) =
316
+ * Changed the order in which filters and rules are executed. Rules are executed first, filters last.
317
+
318
  = 7.7.7 (2020-03-22) =
319
  * Changed how values are added to the content_ids parameter of the Facebook pixel for variable parent products
320
 
2477
 
2478
  == Upgrade Notice ==
2479
 
2480
+ = 7.7.8 =
2481
+ Changed the order in which filters and rules are executed. Rules are executed first, filters last.
2482
+
2483
  = 7.7.7 =
2484
  Changed how values are added to the content_ids parameter of the Facebook pixel for variable parent products
2485
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.7.7
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.7.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -1897,7 +1897,8 @@ function woosea_product_fix_structured_data( $product = null ) {
1897
  }
1898
  return $markup;
1899
  }
1900
- add_filter( 'woocommerce_structured_data_product', 'woosea_product_fix_structured_data', 9, 2 );
 
1901
 
1902
  /**
1903
  * Get the shipping zone countries and ID's
@@ -4218,7 +4219,7 @@ function woosea_license_valid(){
4218
 
4219
  if(!empty($license_information['license_key'])){
4220
  $curl = curl_init();
4221
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.7.7";
4222
 
4223
  curl_setopt_array($curl, array(
4224
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.7.8
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.7.8' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1897
  }
1898
  return $markup;
1899
  }
1900
+ add_filter( 'woocommerce_structured_data_product', 'woosea_product_fix_structured_data', 10, 2 );
1901
+
1902
 
1903
  /**
1904
  * Get the shipping zone countries and ID's
4219
 
4220
  if(!empty($license_information['license_key'])){
4221
  $curl = curl_init();
4222
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.7.8";
4223
 
4224
  curl_setopt_array($curl, array(
4225
  CURLOPT_RETURNTRANSFER => 1,