Product Feed PRO for WooCommerce - Version 8.5.0

Version Description

Fixed a category mapping issue for Google Shopping feeds where duplicate caregory namings caused wrong category mappings

Download this release

Release Info

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

Code changes from version 8.4.9 to 8.5.0

classes/class-get-products.php CHANGED
@@ -3961,9 +3961,13 @@ class WooSEA_Get_Products {
3961
  // First check if there is a category mapping for this specific product
3962
  if ((preg_match('/'.$pm_array['criteria'].'/', $original_cat))){
3963
  if(!empty($pm_array['map_to_category'])){
3964
- $category_pieces = explode("-", $pm_array['map_to_category']);
3965
- $tmp_cat = $category_pieces[0];
3966
- $match = "true";
 
 
 
 
3967
  }
3968
  } elseif($pm_array['criteria'] == $original_cat){
3969
  $category_pieces = explode("-", $pm_array['map_to_category']);
3961
  // First check if there is a category mapping for this specific product
3962
  if ((preg_match('/'.$pm_array['criteria'].'/', $original_cat))){
3963
  if(!empty($pm_array['map_to_category'])){
3964
+
3965
+ $product_cats_ids = wc_get_product_term_ids( $product_data['id'], 'product_cat' );
3966
+ if(in_array($pm_array['categoryId'], $product_cats_ids)){
3967
+ $category_pieces = explode("-", $pm_array['map_to_category']);
3968
+ $tmp_cat = $category_pieces[0];
3969
+ $match = "true";
3970
+ }
3971
  }
3972
  } elseif($pm_array['criteria'] == $original_cat){
3973
  $category_pieces = explode("-", $pm_array['map_to_category']);
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=8.4.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=8.5.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.4
8
- Stable tag: 8.4.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.4.9 (2020-07-26) =
317
  * Removed the parent variable product for Facebook catalogue feeds again. It turns out not to be needed.
318
 
@@ -2701,6 +2704,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2701
 
2702
  == Upgrade Notice ==
2703
 
 
 
 
2704
  = 8.4.9 =
2705
  Removed the parent variable product for Facebook catalogue feeds again. It turns out not to be needed
2706
 
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.5.0
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.5.0 (2020-07-27) =
317
+ * Fixed a category mapping issue for Google Shopping feeds where duplicate caregory namings caused wrong category mappings
318
+
319
  = 8.4.9 (2020-07-26) =
320
  * Removed the parent variable product for Facebook catalogue feeds again. It turns out not to be needed.
321
 
2704
 
2705
  == Upgrade Notice ==
2706
 
2707
+ = 8.5.0 =
2708
+ Fixed a category mapping issue for Google Shopping feeds where duplicate caregory namings caused wrong category mappings
2709
+
2710
  = 8.4.9 =
2711
  Removed the parent variable product for Facebook catalogue feeds again. It turns out not to be needed
2712
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.4.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.4.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: 8.5.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.5.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54