Product Feed PRO for WooCommerce - Version 7.1.0

Version Description

Fixed support for the Dokan Multi-vendor plugin Fixed some PHP warnings that showed in the error logs when a parent variable product had no attributes configured

Download this release

Release Info

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

Code changes from version 7.0.9 to 7.1.0

TODO.txt CHANGED
@@ -23,7 +23,6 @@ Priority issues:
23
  - Add Ricardo.ch category taxonomy support
24
  - Build a better WP Cron check, current one is not good enough
25
  - Add hierarchy category dropdown in filters/rules (exclude on identical subcategory names removes all)
26
- - Add support for Composite products: https://woocommerce.com/products/composite-products/ & https://yithemes.com/themes/plugins/yith-woocommerce-composite-products/
27
  - AMAZON integration:
28
  - requires a professional seller account, 39 dollar a month, before being able to create a developer account
29
  - only than we can use their AWS service needed to connect our plugin
23
  - Add Ricardo.ch category taxonomy support
24
  - Build a better WP Cron check, current one is not good enough
25
  - Add hierarchy category dropdown in filters/rules (exclude on identical subcategory names removes all)
 
26
  - AMAZON integration:
27
  - requires a professional seller account, 39 dollar a month, before being able to create a developer account
28
  - only than we can use their AWS service needed to connect our plugin
classes/class-get-products.php CHANGED
@@ -2410,7 +2410,7 @@ class WooSEA_Get_Products {
2410
  }
2411
 
2412
  foreach($diff_taxonomies as $taxo){
2413
- if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0) OR (strpos($taxo, "pwb-") === 0)){
2414
  $term_value = get_the_terms($product_data['id'], $taxo);
2415
  if(is_array($term_value)){
2416
  foreach($term_value as $term){
@@ -2615,19 +2615,22 @@ class WooSEA_Get_Products {
2615
  foreach ($mother_attributes as $attribute){
2616
  foreach($attribute as $key => $attr){
2617
  $attr_name = $attr['name'];
2618
- $terms = get_the_terms($product_data['item_group_id'], $attr_name);
 
 
2619
 
2620
- if(is_array($terms)){
2621
- foreach($terms as $term){
2622
- $attr_value = $term->name;
2623
- }
2624
- $product_data[$attr_name] = $attr_value;
2625
- } else {
2626
- // Add the variable parent attributes
2627
- // When the attribute was not set for variations
2628
- if($attr['is_variation'] == 0){
2629
- $new_key ="custom_attributes_" . $key;
2630
- $product_data[$new_key] = $attr['value'];
 
2631
  }
2632
  }
2633
  }
@@ -2637,7 +2640,7 @@ class WooSEA_Get_Products {
2637
  * Although this is a product variation we also need to grap the Dynamic attributes belonging to the simple mother prodict
2638
  */
2639
  foreach($diff_taxonomies as $taxo){
2640
- if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0) OR (strpos($taxo, "pwb-") === 0)){
2641
  $term_value = get_the_terms($product_data['item_group_id'], $taxo);
2642
 
2643
  if(is_array($term_value)){
2410
  }
2411
 
2412
  foreach($diff_taxonomies as $taxo){
2413
+ if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0) OR (strpos($taxo, "pwb-") === 0) OR (strpos($taxo, "vendor") === 0)){
2414
  $term_value = get_the_terms($product_data['id'], $taxo);
2415
  if(is_array($term_value)){
2416
  foreach($term_value as $term){
2615
  foreach ($mother_attributes as $attribute){
2616
  foreach($attribute as $key => $attr){
2617
  $attr_name = $attr['name'];
2618
+
2619
+ if(!empty($attr_name)){
2620
+ $terms = get_the_terms($product_data['item_group_id'], $attr_name);
2621
 
2622
+ if(is_array($terms)){
2623
+ foreach($terms as $term){
2624
+ $attr_value = $term->name;
2625
+ }
2626
+ $product_data[$attr_name] = $attr_value;
2627
+ } else {
2628
+ // Add the variable parent attributes
2629
+ // When the attribute was not set for variations
2630
+ if($attr['is_variation'] == 0){
2631
+ $new_key ="custom_attributes_" . $key;
2632
+ $product_data[$new_key] = $attr['value'];
2633
+ }
2634
  }
2635
  }
2636
  }
2640
  * Although this is a product variation we also need to grap the Dynamic attributes belonging to the simple mother prodict
2641
  */
2642
  foreach($diff_taxonomies as $taxo){
2643
+ if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0) OR (strpos($taxo, "pwb-") === 0) OR (strpos($taxo, "vendor") === 0)){
2644
  $term_value = get_the_terms($product_data['item_group_id'], $taxo);
2645
 
2646
  if(is_array($term_value)){
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.0.9',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
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.1.0',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
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.0.9
9
 
10
  == Description ==
11
 
@@ -302,6 +302,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
302
 
303
  === Changelog ===
304
 
 
 
 
 
305
  = 7.0.9 (2019-12-30) =
306
  * Added support for creation of find & replace rules
307
  * Removed XML support for Bol.com feeds
@@ -2239,6 +2243,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2239
 
2240
  == Upgrade Notice ==
2241
 
 
 
 
 
2242
  = 7.0.9 =
2243
  Added support for creation of find & replace rules
2244
  Removed XML support for Bol.com feeds
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.1.0
9
 
10
  == Description ==
11
 
302
 
303
  === Changelog ===
304
 
305
+ = 7.1.0 (2020-01-02) =
306
+ * Fixed support for the Dokan Multi-vendor plugin
307
+ * Fixed some PHP warnings that showed in the error logs when a parent variable product had no attributes configured
308
+
309
  = 7.0.9 (2019-12-30) =
310
  * Added support for creation of find & replace rules
311
  * Removed XML support for Bol.com feeds
2243
 
2244
  == Upgrade Notice ==
2245
 
2246
+ = 7.1.0 =
2247
+ Fixed support for the Dokan Multi-vendor plugin
2248
+ Fixed some PHP warnings that showed in the error logs when a parent variable product had no attributes configured
2249
+
2250
  = 7.0.9 =
2251
  Added support for creation of find & replace rules
2252
  Removed XML support for Bol.com feeds
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.0.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', '7.0.9' );
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: 7.1.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', '7.1.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54