Product Feed PRO for WooCommerce - Version 8.5.3

Version Description

Fixed a bug that was introduced in version 8.5.0 where category mappings for variations no longer worked. This has been fixed now.

Download this release

Release Info

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

Code changes from version 8.5.2 to 8.5.3

classes/class-get-products.php CHANGED
@@ -3961,8 +3961,12 @@ 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
 
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];
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
+ $prod_id_cat = $product_data['id'];
3965
+ if($product_data['product_type'] == "variation"){
3966
+ $prod_id_cat = $product_data['item_group_id'];
3967
+ }
3968
 
3969
+ $product_cats_ids = wc_get_product_term_ids( $prod_id_cat, 'product_cat' );
3970
  if(in_array($pm_array['categoryId'], $product_cats_ids)){
3971
  $category_pieces = explode("-", $pm_array['map_to_category']);
3972
  $tmp_cat = $category_pieces[0];
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.5.2',
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.3',
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.5.2
9
 
10
  == Description ==
11
 
@@ -314,6 +314,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
314
 
315
  === Changelog ===
316
 
 
 
 
317
  = 8.5.2 (2020-07-28) =
318
  * Applied the wpautop function to respect paragraphs in the unfiltered (short)description attribute
319
 
@@ -2711,6 +2714,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2711
 
2712
  == Upgrade Notice ==
2713
 
 
 
 
2714
  = 8.5.2 =
2715
  Applied the wpautop function to respect paragraphs in the unfiltered (short)description attribute
2716
 
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.3
9
 
10
  == Description ==
11
 
314
 
315
  === Changelog ===
316
 
317
+ = 8.5.3 (2020-07-30) =
318
+ * Fixed a bug that was introduced in version 8.5.0 where category mappings for variations no longer worked. This has been fixed now.
319
+
320
  = 8.5.2 (2020-07-28) =
321
  * Applied the wpautop function to respect paragraphs in the unfiltered (short)description attribute
322
 
2714
 
2715
  == Upgrade Notice ==
2716
 
2717
+ = 8.5.3 =
2718
+ Fixed a bug that was introduced in version 8.5.0 where category mappings for variations no longer worked. This has been fixed now.
2719
+
2720
  = 8.5.2 =
2721
  Applied the wpautop function to respect paragraphs in the unfiltered (short)description attribute
2722
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.5.2
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.5.2' );
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.3
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.3' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54