Product Feed PRO for WooCommerce - Version 9.2.9

Version Description

Added support for the "fee percentage" shipping cost formula

Download this release

Release Info

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

Code changes from version 9.2.8 to 9.2.9

classes/class-get-products.php CHANGED
@@ -831,9 +831,14 @@ class WooSEA_Get_Products {
831
  $shipping_cost = $v->instance_settings[$class_cost_id];
832
  $shipping_cost = str_replace("[qty]", "1", $shipping_cost);
833
  $mathString = trim($shipping_cost); // trim white spaces
 
834
  if (preg_match("/fee percent/", $mathString)){
835
  $shipcost_piece = explode("+", $mathString);
836
  $mathString = trim($shipcost_piece[0]);
 
 
 
 
837
  }
838
 
839
  $mathString = str_replace ('..', '.', $mathString); // remove input mistakes from users using shipping formula's
831
  $shipping_cost = $v->instance_settings[$class_cost_id];
832
  $shipping_cost = str_replace("[qty]", "1", $shipping_cost);
833
  $mathString = trim($shipping_cost); // trim white spaces
834
+
835
  if (preg_match("/fee percent/", $mathString)){
836
  $shipcost_piece = explode("+", $mathString);
837
  $mathString = trim($shipcost_piece[0]);
838
+
839
+ $fee_percent = preg_match("/percent=\"([0-9]+)\"/", $shipcost_piece[1],$matches);
840
+ $add_on = ($matches[1]/100)*ceil($price);
841
+ $mathString = $mathString+$add_on;
842
  }
843
 
844
  $mathString = str_replace ('..', '.', $mathString); // remove input mistakes from users using shipping formula's
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.8',
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.9',
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.8
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.8 (2020-12-21) =
325
  * Added a discount percentage attribute calculating the percentage discount between the sale and regular price
326
 
@@ -2960,6 +2963,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2960
 
2961
  == Upgrade Notice ==
2962
 
 
 
 
2963
  = 9.2.8 =
2964
  Added a discount percentage attribute calculating the percentage discount between the sale and regular price
2965
 
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.9
9
 
10
  == Description ==
11
 
321
 
322
  === Changelog ===
323
 
324
+ = 9.2.9 (2020-12-21) =
325
+ * Added support for the "fee percentage" shipping cost formula
326
+
327
  = 9.2.8 (2020-12-21) =
328
  * Added a discount percentage attribute calculating the percentage discount between the sale and regular price
329
 
2963
 
2964
  == Upgrade Notice ==
2965
 
2966
+ = 9.2.9 =
2967
+ Added support for the "fee percentage" shipping cost formula
2968
+
2969
  = 9.2.8 =
2970
  Added a discount percentage attribute calculating the percentage discount between the sale and regular price
2971
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 9.2.8
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.8' );
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.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
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '9.2.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54