Product Feed PRO for WooCommerce - Version 6.6.0

Version Description

Fixed a multi-currency bug for WPML where only the first product of a product feed was not converted to the correct currency.

Download this release

Release Info

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

Code changes from version 11.6.2 to 6.6.0

classes/channels/class-vivino.php CHANGED
@@ -40,8 +40,8 @@ class WooSEA_vivino {
40
  "format" => "required",
41
  ),
42
  "Inventory Count" => array(
43
- "name" => "inventory_count",
44
- "feed_name" => "inventory_count",
45
  "format" => "required",
46
  "woo_suggest" => "quantity",
47
  ),
40
  "format" => "required",
41
  ),
42
  "Inventory Count" => array(
43
+ "name" => "inventory-count",
44
+ "feed_name" => "inventory-count",
45
  "format" => "required",
46
  "woo_suggest" => "quantity",
47
  ),
classes/class-get-products.php CHANGED
@@ -1949,7 +1949,41 @@ class WooSEA_Get_Products {
1949
  $delivery = $product->addChild('DELIVERY');
1950
  $delivery_split = explode("##", $v);
1951
  $nr_split = count($delivery_split);
1952
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1953
  if($nr_split == 7){
1954
  $delivery_id_split = explode(" ", $delivery_split[2]);
1955
  $delivery_price_split = explode("||", $delivery_split[3]);
@@ -1959,8 +1993,16 @@ class WooSEA_Get_Products {
1959
  $delivery_price_cod = $delivery->addChild('DELIVERY_PRICE_COD', trim(htmlspecialchars($delivery_split[6])));
1960
  } else {
1961
  if($nr_split > 1){
 
 
 
 
 
 
 
1962
  $delivery_id = $delivery->addChild('DELIVERY_ID', htmlspecialchars($delivery_split[2]));
1963
- $delivery_id = $delivery->addChild('DELIVERY_PRICE', trim(htmlspecialchars($delivery_split[3])));
 
1964
  }
1965
  }
1966
  } elseif(($feed_config['name'] == "Yandex") AND (preg_match("/$zbozi_nodes/i",$k))){
@@ -5065,7 +5107,7 @@ error_log($custom_kk_m);
5065
  * Only update the cron_project when no new project was created during the batched run otherwise the new project will be overwritten and deleted
5066
  */
5067
  if ($nr_projects == $nr_projects_cron){
5068
- update_option( 'cron_projects', $feed_config);
5069
  }
5070
  }
5071
 
1949
  $delivery = $product->addChild('DELIVERY');
1950
  $delivery_split = explode("##", $v);
1951
  $nr_split = count($delivery_split);
1952
+
1953
+ $zbozi_delivery_id = array (
1954
+ 0 => "CESKA_POSTA_BALIKOVNA",
1955
+ 1 => "CESKA_POSTA_NA_POSTU",
1956
+ 2 => "DPD_PICKUP",
1957
+ 3 => "GEIS_POINT",
1958
+ 4 => "GLS_PARCELSHOP",
1959
+ 5 => "PPL_PARCELSHOP",
1960
+ 6 => "TOPTRANS_DEPO",
1961
+ 7 => "WEDO_ULOZENKA",
1962
+ 8 => "ZASILKOVNA",
1963
+ 9 => "VLASTNI_VYDEJNI_MISTA",
1964
+ 10 => "CESKA_POSTA",
1965
+ 11 => "DB_SCHENKER",
1966
+ 12 => "DPD",
1967
+ 13 => "DHL",
1968
+ 14 => "DSV",
1969
+ 15 => "FOFR",
1970
+ 16 => "GEBRUDER_WEISS",
1971
+ 17 => "GEIS",
1972
+ 18 => "GLS",
1973
+ 19 => "HDS",
1974
+ 20 => "WEDO_HOME",
1975
+ 21 => "MESSENGER",
1976
+ 22 => "PPL",
1977
+ 23 => "TNT",
1978
+ 24 => "TOPTRANS",
1979
+ 25 => "UPS",
1980
+ 26 => "FEDEX",
1981
+ 27 => "RABEN_LOGISTICS",
1982
+ 28 => "RHENUS",
1983
+ 29 => "ZASILKOVNA_NA_ADRESU",
1984
+ 30 => "VLASTNI_PREPRAVA"
1985
+ );
1986
+
1987
  if($nr_split == 7){
1988
  $delivery_id_split = explode(" ", $delivery_split[2]);
1989
  $delivery_price_split = explode("||", $delivery_split[3]);
1993
  $delivery_price_cod = $delivery->addChild('DELIVERY_PRICE_COD', trim(htmlspecialchars($delivery_split[6])));
1994
  } else {
1995
  if($nr_split > 1){
1996
+ $zbozi_split = explode(" ", $delivery_split[2]);
1997
+ foreach ($zbozi_split as $zbozi_id) {
1998
+ if(in_array($zbozi_id, $zbozi_delivery_id)){
1999
+ $delivery_split[2] = $zbozi_id;
2000
+ }
2001
+ }
2002
+
2003
  $delivery_id = $delivery->addChild('DELIVERY_ID', htmlspecialchars($delivery_split[2]));
2004
+ $del_price_split = explode(" ",trim($delivery_split[3]));
2005
+ $delivery_id = $delivery->addChild('DELIVERY_PRICE', trim(htmlspecialchars($delivery_split[3])));
2006
  }
2007
  }
2008
  } elseif(($feed_config['name'] == "Yandex") AND (preg_match("/$zbozi_nodes/i",$k))){
5107
  * Only update the cron_project when no new project was created during the batched run otherwise the new project will be overwritten and deleted
5108
  */
5109
  if ($nr_projects == $nr_projects_cron){
5110
+ update_option( 'cron_projects', $feed_config, 'no');
5111
  }
5112
  }
5113
 
classes/class-update-channel.php CHANGED
@@ -60,7 +60,7 @@ class WooSEA_Update_Project {
60
  if(!empty($val)){
61
  if($val['project_hash'] === $project['project_hash']){
62
  $cron_projects[$key] = $project;
63
- update_option('cron_projects', $cron_projects);
64
  }
65
  }
66
  }
60
  if(!empty($val)){
61
  if($val['project_hash'] === $project['project_hash']){
62
  $cron_projects[$key] = $project;
63
+ update_option('cron_projects', $cron_projects, 'no');
64
  }
65
  }
66
  }
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.6.2',
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.6.4',
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.6.2
9
 
10
  == Description ==
11
 
@@ -345,6 +345,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
345
 
346
  === Changelog ===
347
 
 
 
 
 
 
 
348
  = 11.6.2 (2022-06-06) =
349
  * Solved a Undefined array key HTTP_HOST PHP warning
350
 
@@ -3719,6 +3725,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3719
 
3720
  == Upgrade Notice ==
3721
 
 
 
 
 
 
 
3722
  = 11.6.2 =
3723
  Solved a Undefined array key HTTP_HOST PHP warning
3724
 
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.6.4
9
 
10
  == Description ==
11
 
345
 
346
  === Changelog ===
347
 
348
+ = 11.6.4 (2022-06-16) =
349
+ * Checked for compatibility with WooCommerce 6.6.0
350
+
351
+ = 11.6.3 (2022-06-07) =
352
+ * Fixed the inventory count field for Vivino feeds
353
+
354
  = 11.6.2 (2022-06-06) =
355
  * Solved a Undefined array key HTTP_HOST PHP warning
356
 
3725
 
3726
  == Upgrade Notice ==
3727
 
3728
+ = 11.6.4 =
3729
+ Checked for compatibility with WooCommerce 6.6.0
3730
+
3731
+ = 11.6.3 =
3732
+ Fixed the inventory count field for Vivino feeds
3733
+
3734
  = 11.6.2 =
3735
  Solved a Undefined array key HTTP_HOST PHP warning
3736
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.6.2
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
@@ -17,7 +17,7 @@
17
  * Domain Path: /languages
18
  *
19
  * WC requires at least: 4.4
20
- * WC tested up to: 6.4
21
  *
22
  * Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
23
  * it under the terms of the GNU General Public License as published by
@@ -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.6.2' );
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.6.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, Catalog managers, Remarketing, Bing, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
17
  * Domain Path: /languages
18
  *
19
  * WC requires at least: 4.4
20
+ * WC tested up to: 6.6
21
  *
22
  * Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
23
  * it under the terms of the GNU General Public License as published by
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.6.4' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54