Product Feed PRO for WooCommerce - Version 7.4.7

Version Description

Fixed a bug where the suffix currency configuration for shipping costs was ignored. This issue has been fixed now.

Download this release

Release Info

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

Code changes from version 7.4.6 to 7.4.7

classes/class-get-products.php CHANGED
@@ -913,11 +913,11 @@ class WooSEA_Get_Products {
913
  }
914
 
915
  if(strlen($shipping_cost) > 0){
916
-
917
- //error_log(print_r($project_config, TRUE));
918
-
919
-
920
- $zone_details['price'] = trim($currency." ".$shipping_cost);
921
  } else {
922
  unset($zone_details);
923
  unset($shipping_cost);
@@ -1799,6 +1799,18 @@ class WooSEA_Get_Products {
1799
  $post_type = array('product');
1800
  }
1801
 
 
 
 
 
 
 
 
 
 
 
 
 
1802
  // Pinteres RSS feeds need different sorting
1803
  if($project_config['fields'] == "pinterest_rss"){
1804
  $orderby = "ASC";
913
  }
914
 
915
  if(strlen($shipping_cost) > 0){
916
+ if($project_config['ship_suffix'] == "false"){
917
+ $zone_details['price'] = trim($currency." ".$shipping_cost);
918
+ } else {
919
+ $zone_details['price'] = trim($shipping_cost);
920
+ }
921
  } else {
922
  unset($zone_details);
923
  unset($shipping_cost);
1799
  $post_type = array('product');
1800
  }
1801
 
1802
+ // Check shipping currency location
1803
+ $project_config['ship_suffix'] = "false";
1804
+ foreach ($project_config['attributes'] as $attr_key => $attr_value) {
1805
+
1806
+ if($attr_value['mapfrom'] == "shipping"){
1807
+
1808
+ if(!empty($attr_value['suffix'])){
1809
+ $project_config['ship_suffix'] = "true";
1810
+ }
1811
+ }
1812
+ }
1813
+
1814
  // Pinteres RSS feeds need different sorting
1815
  if($project_config['fields'] == "pinterest_rss"){
1816
  $orderby = "ASC";
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.4.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=7.4.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.3
8
- Stable tag: 7.4.6
9
 
10
  == Description ==
11
 
@@ -312,6 +312,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
312
 
313
  === Changelog ===
314
 
 
 
 
315
  = 7.4.6 (2020-02-19) =
316
  * Solved a PHP warning that showed for variable products that had no attributes set
317
  * Solved an IE 11 Javascript error
@@ -2370,6 +2373,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2370
 
2371
  == Upgrade Notice ==
2372
 
 
 
 
2373
  = 7.4.6 =
2374
  Solved a PHP warning that showed for variable products that had no attributes set
2375
  Solved an IE 11 Javascript error
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.4.7
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.4.7 (2020-02-19) =
316
+ * Fixed a bug where the suffix currency configuration for shipping costs was ignored. This issue has been fixed now.
317
+
318
  = 7.4.6 (2020-02-19) =
319
  * Solved a PHP warning that showed for variable products that had no attributes set
320
  * Solved an IE 11 Javascript error
2373
 
2374
  == Upgrade Notice ==
2375
 
2376
+ = 7.4.7 =
2377
+ Fixed a bug where the suffix currency configuration for shipping costs was ignored. This issue has been fixed now.
2378
+
2379
  = 7.4.6 =
2380
  Solved a PHP warning that showed for variable products that had no attributes set
2381
  Solved an IE 11 Javascript error
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.4.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', '7.4.6' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -3833,7 +3833,7 @@ function woosea_license_valid(){
3833
 
3834
  if(!empty($license_information['license_key'])){
3835
  $curl = curl_init();
3836
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.6";
3837
 
3838
  curl_setopt_array($curl, array(
3839
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.4.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', '7.4.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
3833
 
3834
  if(!empty($license_information['license_key'])){
3835
  $curl = curl_init();
3836
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.7";
3837
 
3838
  curl_setopt_array($curl, array(
3839
  CURLOPT_RETURNTRANSFER => 1,