Product Feed PRO for WooCommerce - Version 7.3.1

Version Description

Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations

Download this release

Release Info

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

Code changes from version 7.3.0 to 7.3.1

classes/class-get-products.php CHANGED
@@ -687,6 +687,7 @@ class WooSEA_Get_Products {
687
  foreach ($tax_rates as $k_inner => $w){
688
  if((isset($w['shipping'])) and ($w['shipping'] == "yes")){
689
  $rate = (($w['rate']+100)/100);
 
690
  $shipping_cost = str_replace(",", ".", $shipping_cost);
691
  $shipping_cost = $shipping_cost*$rate;
692
  $shipping_cost = round($shipping_cost, 2);
@@ -699,6 +700,7 @@ class WooSEA_Get_Products {
699
  // WooCommerce Table Rate Bolder Elements
700
  if(class_exists('BE_Table_Rate_WC')){
701
  // Set shipping cost
 
702
  $shipping_cost = 0;
703
  if(!empty($product_id)){
704
  // Add product to cart
@@ -763,18 +765,18 @@ class WooSEA_Get_Products {
763
  $shipcost_piece = explode("+", $mathString);
764
  $mathString = trim($shipcost_piece[0]);
765
  }
766
-
767
  $mathString = str_replace ('..', '.', $mathString); // remove input mistakes from users using shipping formula's
 
768
  $mathString = preg_replace ('[^0-9\+-\*\/\(\)]', '', $mathString); // remove any non-numbers chars; exception for math operators
769
  $mathString = str_replace(array('\'', '"', ','), '', $mathString);
770
 
771
  if(!empty($mathString)){
772
  eval("\$mathString = $mathString;");
773
  $shipping_cost = $mathString;
774
-
775
  if($taxable == "taxable"){
776
  foreach ($tax_rates as $k_inner => $w){
777
-
778
  if((isset($w['shipping'])) and ($w['shipping'] == "yes")){
779
  $rate = (($w['rate']+100)/100);
780
  if(is_numeric($shipping_cost)){
687
  foreach ($tax_rates as $k_inner => $w){
688
  if((isset($w['shipping'])) and ($w['shipping'] == "yes")){
689
  $rate = (($w['rate']+100)/100);
690
+
691
  $shipping_cost = str_replace(",", ".", $shipping_cost);
692
  $shipping_cost = $shipping_cost*$rate;
693
  $shipping_cost = round($shipping_cost, 2);
700
  // WooCommerce Table Rate Bolder Elements
701
  if(class_exists('BE_Table_Rate_WC')){
702
  // Set shipping cost
703
+
704
  $shipping_cost = 0;
705
  if(!empty($product_id)){
706
  // Add product to cart
765
  $shipcost_piece = explode("+", $mathString);
766
  $mathString = trim($shipcost_piece[0]);
767
  }
768
+
769
  $mathString = str_replace ('..', '.', $mathString); // remove input mistakes from users using shipping formula's
770
+ $mathString = str_replace (',', '.', $mathString); // remove input mistakes from users using shipping formula's
771
  $mathString = preg_replace ('[^0-9\+-\*\/\(\)]', '', $mathString); // remove any non-numbers chars; exception for math operators
772
  $mathString = str_replace(array('\'', '"', ','), '', $mathString);
773
 
774
  if(!empty($mathString)){
775
  eval("\$mathString = $mathString;");
776
  $shipping_cost = $mathString;
777
+
778
  if($taxable == "taxable"){
779
  foreach ($tax_rates as $k_inner => $w){
 
780
  if((isset($w['shipping'])) and ($w['shipping'] == "yes")){
781
  $rate = (($w['rate']+100)/100);
782
  if(is_numeric($shipping_cost)){
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=7.3.0',
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=7.3.1',
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.3
8
- Stable tag: 7.3.0
9
 
10
  == Description ==
11
 
@@ -309,6 +309,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
309
 
310
  === Changelog ===
311
 
 
 
 
312
  = 7.3.0 (2020-01-25) =
313
  * Filters on primary (Yoast) categories now also work on the non primary categories
314
 
@@ -2315,6 +2318,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2315
 
2316
  == Upgrade Notice ==
2317
 
 
 
 
2318
  = 7.3.0 =
2319
  Filters on primary (Yoast) categories now also work on the non primary categories
2320
 
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.3
8
+ Stable tag: 7.3.1
9
 
10
  == Description ==
11
 
309
 
310
  === Changelog ===
311
 
312
+ = 7.3.1 (2020-01-26) =
313
+ * Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
314
+
315
  = 7.3.0 (2020-01-25) =
316
  * Filters on primary (Yoast) categories now also work on the non primary categories
317
 
2318
 
2319
  == Upgrade Notice ==
2320
 
2321
+ = 7.3.1 =
2322
+ Fixed a shipping cost bug where the costs where multiplied with 100 for non-tax shipping cost calculations
2323
+
2324
  = 7.3.0 =
2325
  Filters on primary (Yoast) categories now also work on the non primary categories
2326
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.3.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, 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', '7.3.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -3739,7 +3739,7 @@ function woosea_license_valid(){
3739
 
3740
  if(!empty($license_information['license_key'])){
3741
  $curl = curl_init();
3742
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.0";
3743
 
3744
  curl_setopt_array($curl, array(
3745
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.3.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, 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', '7.3.1' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
3739
 
3740
  if(!empty($license_information['license_key'])){
3741
  $curl = curl_init();
3742
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.1";
3743
 
3744
  curl_setopt_array($curl, array(
3745
  CURLOPT_RETURNTRANSFER => 1,