Product Feed PRO for WooCommerce - Version 11.9.1

Version Description

Fixed an issue with shipping costs formula calculations

Download this release

Release Info

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

Code changes from version 11.9.0 to 11.9.1

classes/class-get-products.php CHANGED
@@ -3492,11 +3492,15 @@ class WooSEA_Get_Products {
3492
  $lowest_shipping_price = $numeric_lowest_shipping_price;
3493
  unset($value);
3494
  }
3495
- $product_data['lowest_shipping_costs'] = min($lowest_shipping_price);
 
 
 
3496
 
3497
- if($decimal_separator == ","){
3498
- $product_data['lowest_shipping_costs'] = str_replace('.', ',', $product_data['lowest_shipping_costs']);
3499
- }
 
3500
  }
3501
 
3502
  // Google Dynamic Remarketing feeds require the English price notation
@@ -5794,15 +5798,17 @@ class WooSEA_Get_Products {
5794
  break;
5795
  case($pr_array['condition'] = "containsnot"):
5796
  if ((!preg_match('/'.$pr_array['criteria'].'/', $pd_value))){
5797
- // Specifically for shipping price rules
5798
- if(is_array($product_data[$pr_array['than_attribute']])){
5799
- $arr_size = (count($product_data[$pr_array['than_attribute']])-1);
5800
- for ($x = 0; $x <= $arr_size; $x++) {
5801
- $product_data[$pr_array['than_attribute']][$x]['price'] = $pr_array['newvalue'];
5802
- }
5803
- } else {
5804
- $product_data[$pr_array['than_attribute']] = $pr_array['newvalue'];
5805
- }
 
 
5806
  }
5807
  break;
5808
  case($pr_array['condition'] = "="):
3492
  $lowest_shipping_price = $numeric_lowest_shipping_price;
3493
  unset($value);
3494
  }
3495
+
3496
+ $nr_in = count($lowest_shipping_price);
3497
+ if ($nr_in > 0){
3498
+ $product_data['lowest_shipping_costs'] = min($lowest_shipping_price);
3499
 
3500
+ if($decimal_separator == ","){
3501
+ $product_data['lowest_shipping_costs'] = str_replace('.', ',', $product_data['lowest_shipping_costs']);
3502
+ }
3503
+ }
3504
  }
3505
 
3506
  // Google Dynamic Remarketing feeds require the English price notation
5798
  break;
5799
  case($pr_array['condition'] = "containsnot"):
5800
  if ((!preg_match('/'.$pr_array['criteria'].'/', $pd_value))){
5801
+ // Specifically for shipping price rules
5802
+ if(isset($pr_array['than_attribute'])){
5803
+ if(is_array($product_data[$pr_array['than_attribute']])){
5804
+ $arr_size = (count($product_data[$pr_array['than_attribute']])-1);
5805
+ for ($x = 0; $x <= $arr_size; $x++) {
5806
+ $product_data[$pr_array['than_attribute']][$x]['price'] = $pr_array['newvalue'];
5807
+ }
5808
+ } else {
5809
+ $product_data[$pr_array['than_attribute']] = $pr_array['newvalue'];
5810
+ }
5811
+ }
5812
  }
5813
  break;
5814
  case($pr_array['condition'] = "="):
js/woosea_key.js CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.9.0',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
26
  var license_key = $('#license-key').val();
27
 
28
  jQuery.ajax({
29
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.9.1',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.0
8
- Stable tag: 11.9.0
9
 
10
  == Description ==
11
 
@@ -107,9 +107,6 @@ Our plugin supports the Aelia Currency Switcher
107
  = Polylang support (Elite version) =
108
  Our plugin supports Polylang
109
 
110
- = TranslatePress support (Elite version) =
111
- Our plugin supports TranslatePress - beta
112
-
113
  = Google Shopping product feed tutorial =
114
  [youtube https://www.youtube.com/watch?v=2XzxwKDufGw]
115
 
@@ -126,7 +123,6 @@ Our plugin supports TranslatePress - beta
126
  * Supports WCML, WooCommerce Multilingual
127
  * Supports Aelia Currency Switcher
128
  * Supports Polylang
129
- * Supports TranslatePress
130
  * Intuitive interface;
131
  * Supports product variations / variables;
132
  * Scheduled product feed refreshes: daily, twice-daily or every hour;
@@ -160,7 +156,6 @@ Some of the above mentioned feature can only be used by users who upgraded to th
160
  * WPML / WCML support
161
  * Aelia currency switcher support
162
  * Polylang support
163
- * TranslatePress support
164
  * Addition of the extra fields on your product edit pages
165
  * Data manipulation feature
166
  * WooCommerce structured data bug fix
@@ -345,6 +340,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
345
 
346
  === Changelog ===
347
 
 
 
 
348
  = 11.9.0 (2022-10-10) =
349
  * Fixed an issue with review names not getting retrieved and showing warnings in the logs
350
  * Fixed an issue where a data variable was not an integer and showed warnings in the logs
@@ -3804,6 +3802,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3804
 
3805
  == Upgrade Notice ==
3806
 
 
 
 
3807
  = 11.9.0 =
3808
  Fixed an issue with review names not getting retrieved and showing warnings in the logs
3809
  Fixed an issue where a data variable was not an integer and showed warnings in the logs
5
  Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.0
8
+ Stable tag: 11.9.1
9
 
10
  == Description ==
11
 
107
  = Polylang support (Elite version) =
108
  Our plugin supports Polylang
109
 
 
 
 
110
  = Google Shopping product feed tutorial =
111
  [youtube https://www.youtube.com/watch?v=2XzxwKDufGw]
112
 
123
  * Supports WCML, WooCommerce Multilingual
124
  * Supports Aelia Currency Switcher
125
  * Supports Polylang
 
126
  * Intuitive interface;
127
  * Supports product variations / variables;
128
  * Scheduled product feed refreshes: daily, twice-daily or every hour;
156
  * WPML / WCML support
157
  * Aelia currency switcher support
158
  * Polylang support
 
159
  * Addition of the extra fields on your product edit pages
160
  * Data manipulation feature
161
  * WooCommerce structured data bug fix
340
 
341
  === Changelog ===
342
 
343
+ = 11.9.1 (2022-10-14) =
344
+ * Fixed an issue with shipping costs formula calculations
345
+
346
  = 11.9.0 (2022-10-10) =
347
  * Fixed an issue with review names not getting retrieved and showing warnings in the logs
348
  * Fixed an issue where a data variable was not an integer and showed warnings in the logs
3802
 
3803
  == Upgrade Notice ==
3804
 
3805
+ = 11.9.1 =
3806
+ Fixed an issue with shipping costs formula calculations
3807
+
3808
  = 11.9.0 =
3809
  Fixed an issue with review names not getting retrieved and showing warnings in the logs
3810
  Fixed an issue where a data variable was not an integer and showed warnings in the logs
woocommerce-sea.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.9.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, Catalog managers, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
8
  * Plugin URI: https://wwww.adtribes.io/pro-vs-elite/
9
  * Author URI: https://www.adtribes.io
10
- * Developer: Joris Verwater, Eva van Gelooven
11
  * License: GPL3
12
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
  * Requires at least: 4.5
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.9.0' );
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: 11.9.1
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, Catalog managers, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
8
  * Plugin URI: https://wwww.adtribes.io/pro-vs-elite/
9
  * Author URI: https://www.adtribes.io
10
+ * Developer: Joris Verwater
11
  * License: GPL3
12
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
  * Requires at least: 4.5
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.9.1' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54