Product Feed PRO for WooCommerce - Version 9.2.7

Version Description

Fixed an issue for Skroutz feeds where the lowest priced variation feature was not working

Download this release

Release Info

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

Code changes from version 9.2.6 to 9.2.7

TODO.txt CHANGED
@@ -5,6 +5,7 @@ Tutorial / Blog posts:
5
  - Explain all the different fields/attributes that can be selected from the drop-downs
6
 
7
  Priority issues:
 
8
  - Add a preview option so only 5-10 products are being generated
9
  - Own hosted plugin updating: https://rudrastyh.com/wordpress/self-hosted-plugin-update.html
10
  - Google local product feed inventory in XML format (not just TXT like it is now)
5
  - Explain all the different fields/attributes that can be selected from the drop-downs
6
 
7
  Priority issues:
8
+ - License key input field needs to be a password field (asterixes)
9
  - Add a preview option so only 5-10 products are being generated
10
  - Own hosted plugin updating: https://rudrastyh.com/wordpress/self-hosted-plugin-update.html
11
  - Google local product feed inventory in XML format (not just TXT like it is now)
classes/class-get-products.php CHANGED
@@ -3001,7 +3001,7 @@ class WooSEA_Get_Products {
3001
  $product_variations = new WC_Product_Variation( $product_data['id'] );
3002
  $variations = $product_variations->get_variation_attributes();
3003
 
3004
- // For Skroutz apparal products we can only append colours to the product name
3005
  // When a product has both a size and color attribute we assume its an apparal product
3006
  if($project_config['fields'] == "skroutz"){
3007
  $size_found = "no";
@@ -3016,7 +3016,7 @@ class WooSEA_Get_Products {
3016
  if($vy['attribute'] == "color"){
3017
  $color_found = "yes";
3018
  $clr_attribute = $vy['mapfrom'];
3019
- }
3020
  }
3021
  }
3022
 
@@ -3025,9 +3025,10 @@ class WooSEA_Get_Products {
3025
  update_option('skroutz_apparel', "yes");
3026
  update_option('skroutz_clr',$clr_attribute,'no');
3027
  update_option('skroutz_sz',$sz_attribute,'no');
3028
- }
3029
 
3030
  $skroutz_apparal = get_option('skroutz_apparel');
 
3031
  if($skroutz_apparal == "yes"){
3032
  if(isset($clr_attribute)){
3033
  $skroutz_color = get_post_meta( $product_data['id'], "attribute_".$clr_attribute, true );
@@ -3071,11 +3072,15 @@ class WooSEA_Get_Products {
3071
  }
3072
  } else {
3073
  // This is not an apparal product so a color variation is not allowed
3074
- $variation_pass = "false";
3075
  }
3076
- }
 
 
3077
  }
3078
 
 
 
3079
  if((isset($project_config['lowest_price_variations'])) OR (isset($project_config['default_variations']))){
3080
 
3081
  // Determine the default variation product
@@ -3102,7 +3107,6 @@ class WooSEA_Get_Products {
3102
  $product_data['rating_average'] = $mother_product->get_average_rating();
3103
 
3104
  if(isset($project_config['default_variations'])){
3105
-
3106
  $diff_result = array_diff($variations, $def_attributes);
3107
 
3108
  if(!empty($diff_result)){
@@ -3207,7 +3211,7 @@ class WooSEA_Get_Products {
3207
 
3208
  if(!empty($attr_name)){
3209
  $terms = get_the_terms($product_data['item_group_id'], $attr_name);
3210
-
3211
  if(is_array($terms)){
3212
  foreach($terms as $term){
3213
  $attr_value = $term->name;
3001
  $product_variations = new WC_Product_Variation( $product_data['id'] );
3002
  $variations = $product_variations->get_variation_attributes();
3003
 
3004
+ // For Skroutz apparal products we can only append colours to the product name
3005
  // When a product has both a size and color attribute we assume its an apparal product
3006
  if($project_config['fields'] == "skroutz"){
3007
  $size_found = "no";
3016
  if($vy['attribute'] == "color"){
3017
  $color_found = "yes";
3018
  $clr_attribute = $vy['mapfrom'];
3019
+ }
3020
  }
3021
  }
3022
 
3025
  update_option('skroutz_apparel', "yes");
3026
  update_option('skroutz_clr',$clr_attribute,'no');
3027
  update_option('skroutz_sz',$sz_attribute,'no');
3028
+ }
3029
 
3030
  $skroutz_apparal = get_option('skroutz_apparel');
3031
+
3032
  if($skroutz_apparal == "yes"){
3033
  if(isset($clr_attribute)){
3034
  $skroutz_color = get_post_meta( $product_data['id'], "attribute_".$clr_attribute, true );
3072
  }
3073
  } else {
3074
  // This is not an apparal product so a color variation is not allowed
3075
+ $variation_pass = "true";
3076
  }
3077
+ } else {
3078
+ $variation_pass = "true";
3079
+ }
3080
  }
3081
 
3082
+
3083
+
3084
  if((isset($project_config['lowest_price_variations'])) OR (isset($project_config['default_variations']))){
3085
 
3086
  // Determine the default variation product
3107
  $product_data['rating_average'] = $mother_product->get_average_rating();
3108
 
3109
  if(isset($project_config['default_variations'])){
 
3110
  $diff_result = array_diff($variations, $def_attributes);
3111
 
3112
  if(!empty($diff_result)){
3211
 
3212
  if(!empty($attr_name)){
3213
  $terms = get_the_terms($product_data['item_group_id'], $attr_name);
3214
+
3215
  if(is_array($terms)){
3216
  foreach($terms as $term){
3217
  $attr_value = $term->name;
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=9.2.6',
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=9.2.7',
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.6
8
- Stable tag: 9.2.6
9
 
10
  == Description ==
11
 
@@ -321,6 +321,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
321
 
322
  === Changelog ===
323
 
 
 
 
324
  = 9.2.6 (2020-12-11) =
325
  * Fixed all the deprecated jQuery
326
 
@@ -2954,6 +2957,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2954
 
2955
  == Upgrade Notice ==
2956
 
 
 
 
2957
  = 9.2.6 =
2958
  Fixed all the deprecated jQuery
2959
 
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.6
8
+ Stable tag: 9.2.7
9
 
10
  == Description ==
11
 
321
 
322
  === Changelog ===
323
 
324
+ = 9.2.7 (2020-12-18) =
325
+ * Fixed an issue for Skroutz feeds where the lowest priced variation feature was not working
326
+
327
  = 9.2.6 (2020-12-11) =
328
  * Fixed all the deprecated jQuery
329
 
2957
 
2958
  == Upgrade Notice ==
2959
 
2960
+ = 9.2.7 =
2961
+ Fixed an issue for Skroutz feeds where the lowest priced variation feature was not working
2962
+
2963
  = 9.2.6 =
2964
  Fixed all the deprecated jQuery
2965
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 9.2.6
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', '9.2.6' );
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: 9.2.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
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '9.2.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54