Product Feed PRO for WooCommerce - Version 11.0.5

Version Description

Fixed an issue where shipping formula's were not translated to shipping costs properly

Download this release

Release Info

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

Code changes from version 11.0.4 to 11.0.5

classes/class-get-products.php CHANGED
@@ -768,7 +768,7 @@ class WooSEA_Get_Products {
768
  }
769
  $taxable = $v->tax_status;
770
 
771
- if(isset($v->instance_settings['cost'])){
772
  $shipping_cost = $v->instance_settings['cost'];
773
  $shipping_cost = str_replace("* [qty]", "", $shipping_cost);
774
  $shipping_cost = trim($shipping_cost); // trim white spaces
@@ -946,7 +946,9 @@ class WooSEA_Get_Products {
946
  }
947
  } else {
948
  $shipping_cost = $v->instance_settings[$class_cost_id];
949
- $shipping_cost = str_replace("[qty]", "1", $shipping_cost);
 
 
950
  $mathString = trim($shipping_cost); // trim white spaces
951
 
952
  if (preg_match("/fee percent/", $mathString)){
768
  }
769
  $taxable = $v->tax_status;
770
 
771
+ if(isset($v->instance_settings['cost'])){
772
  $shipping_cost = $v->instance_settings['cost'];
773
  $shipping_cost = str_replace("* [qty]", "", $shipping_cost);
774
  $shipping_cost = trim($shipping_cost); // trim white spaces
946
  }
947
  } else {
948
  $shipping_cost = $v->instance_settings[$class_cost_id];
949
+ $shipping_cost = str_replace("[qty]", "1", $shipping_cost);
950
+ $ship_piece = explode(" ", $shipping_cost);
951
+ $shipping_cost = $ship_piece[0];
952
  $mathString = trim($shipping_cost); // trim white spaces
953
 
954
  if (preg_match("/fee percent/", $mathString)){
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.0.4',
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.0.5',
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, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.8
8
- Stable tag: 11.0.4
9
 
10
  == Description ==
11
 
@@ -339,6 +339,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
339
 
340
  === Changelog ===
341
 
 
 
 
342
  = 11.0.4 (2021-12-18) =
343
  * Solved a rounding issue for discount calculations on products that use a point as seperator
344
 
@@ -3527,6 +3530,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3527
 
3528
  == Upgrade Notice ==
3529
 
 
 
 
3530
  = 11.0.4 =
3531
  Solved a rounding issue for discount calculations on products that use a point as seperator
3532
 
5
  Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 5.8
8
+ Stable tag: 11.0.5
9
 
10
  == Description ==
11
 
339
 
340
  === Changelog ===
341
 
342
+ = 11.0.5 (2021-12-20) =
343
+ * Fixed an issue where shipping formula's were not translated to shipping costs properly
344
+
345
  = 11.0.4 (2021-12-18) =
346
  * Solved a rounding issue for discount calculations on products that use a point as seperator
347
 
3530
 
3531
  == Upgrade Notice ==
3532
 
3533
+ = 11.0.5 =
3534
+ Fixed an issue where shipping formula's were not translated to shipping costs properly
3535
+
3536
  = 11.0.4 =
3537
  Solved a rounding issue for discount calculations on products that use a point as seperator
3538
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.0.4
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', '11.0.4' );
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.0.5
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', '11.0.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54