Product Feed PRO for WooCommerce - Version 11.1.9

Version Description

Confirmed compatibility with Wordpress 5.9

Download this release

Release Info

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

Code changes from version 11.1.7 to 11.1.9

TODO.txt CHANGED
@@ -9,7 +9,6 @@ Priority issues:
9
  - Add automotive fields for Facebook feed, see: https://developers.facebook.com/docs/marketing-api/dynamic-ads-auto/auto-catalog/
10
  - Autosuggest for category mapping broken
11
  - Add AddToCart event on buttons again
12
- - Add Vivino EXTRA fields, see: https://vivino.slab.com/public/posts/9gq0o3dg
13
  - Local product feed - store code should also work with an attribute and not just static values
14
  - Add Pinterest Tag; https://help.pinterest.com/nl/business/article/install-the-pinterest-tag
15
  - License key input field needs to be a password field (asterixes)
9
  - Add automotive fields for Facebook feed, see: https://developers.facebook.com/docs/marketing-api/dynamic-ads-auto/auto-catalog/
10
  - Autosuggest for category mapping broken
11
  - Add AddToCart event on buttons again
 
12
  - Local product feed - store code should also work with an attribute and not just static values
13
  - Add Pinterest Tag; https://help.pinterest.com/nl/business/article/install-the-pinterest-tag
14
  - License key input field needs to be a password field (asterixes)
classes/class-get-products.php CHANGED
@@ -807,7 +807,7 @@ class WooSEA_Get_Products {
807
  // WooCommerce Table Rate - Bolder Elements
808
  if($method_id == "table_rate" OR $method_id == "betrs_shipping"){
809
 
810
- if($this->woosea_is_plugin_active( 'woocommerce-table-rate-shipping/woocommerce-table-rate-shipping.php' )) {
811
  // Set shipping cost
812
  $shipping_cost = 0;
813
 
@@ -825,7 +825,7 @@ class WooSEA_Get_Products {
825
  wc_load_cart();
826
 
827
  WC()->customer->set_shipping_country( $code_from_config );
828
-
829
  if(isset($zone_details['region'])){
830
  WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
831
  }
@@ -849,7 +849,7 @@ class WooSEA_Get_Products {
849
  }
850
  }
851
  }
852
- }
853
  }
854
 
855
  // Official WooCommerce Table Rate plugin
@@ -921,9 +921,10 @@ class WooSEA_Get_Products {
921
 
922
  // CLASS SHIPPING COSTS
923
  if((isset($v->instance_settings[$class_cost_id])) AND ($class_cost_id != "no_class_cost")){
 
924
  if (is_numeric($v->instance_settings[$class_cost_id])){
925
  $shipping_cost = $v->instance_settings[$class_cost_id];
926
-
927
  // Do we need to convert the shipping costswith the Aelia Currency Switcher
928
  if((isset($project_config['AELIA'])) AND (!empty($GLOBALS['woocommerce-aelia-currencyswitcher'])) AND (get_option ('add_aelia_support') == "yes")){
929
  if(!array_key_exists('base_currency', $project_config)){
@@ -1895,7 +1896,7 @@ class WooSEA_Get_Products {
1895
  * Some Zbozi, Mall and Heureka attributes need some extra XML nodes
1896
  */
1897
  $zbozi_nodes = "PARAM_";
1898
-
1899
  if((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Mall.sk") OR ($feed_config['name'] == "Glami.gr") OR ($feed_config['name'] == "Heureka.cz") OR ($feed_config['name'] == "Heureka.sk")) AND (preg_match("/$zbozi_nodes/i",$k))){
1900
  $pieces = explode ("_", $k);
1901
  $productp = $product->addChild('PARAM');
@@ -1906,10 +1907,30 @@ class WooSEA_Get_Products {
1906
  $productp->addChild("PARAM_NAME", $pieces[1]);
1907
  $productp->addChild("VAL", $v);
1908
  }
1909
- } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA")){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1910
  $productp = $product->addChild('MEDIA');
1911
  $productp->addChild("URL", $v);
1912
- $productp->addChild("MAIN", "true");
1913
  } elseif((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Heureka.cz")) AND ($k == "DELIVERY")){
1914
  $delivery = $product->addChild('DELIVERY');
1915
  $delivery_split = explode("##", $v);
@@ -4853,7 +4874,6 @@ class WooSEA_Get_Products {
4853
  $new_file = $path . "/" . sanitize_file_name($feed_config[$key]['filename']) . "." . $feed_config[$key]['fileformat'];
4854
 
4855
  if (!copy($tmp_file, $new_file)) {
4856
- error_log("Copy of file failed");
4857
  } else {
4858
  unlink($tmp_file);
4859
  }
807
  // WooCommerce Table Rate - Bolder Elements
808
  if($method_id == "table_rate" OR $method_id == "betrs_shipping"){
809
 
810
+ // if($this->woosea_is_plugin_active( 'woocommerce-table-rate-shipping/woocommerce-table-rate-shipping.php' )) {
811
  // Set shipping cost
812
  $shipping_cost = 0;
813
 
825
  wc_load_cart();
826
 
827
  WC()->customer->set_shipping_country( $code_from_config );
828
+
829
  if(isset($zone_details['region'])){
830
  WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
831
  }
849
  }
850
  }
851
  }
852
+ // }
853
  }
854
 
855
  // Official WooCommerce Table Rate plugin
921
 
922
  // CLASS SHIPPING COSTS
923
  if((isset($v->instance_settings[$class_cost_id])) AND ($class_cost_id != "no_class_cost")){
924
+
925
  if (is_numeric($v->instance_settings[$class_cost_id])){
926
  $shipping_cost = $v->instance_settings[$class_cost_id];
927
+
928
  // Do we need to convert the shipping costswith the Aelia Currency Switcher
929
  if((isset($project_config['AELIA'])) AND (!empty($GLOBALS['woocommerce-aelia-currencyswitcher'])) AND (get_option ('add_aelia_support') == "yes")){
930
  if(!array_key_exists('base_currency', $project_config)){
1896
  * Some Zbozi, Mall and Heureka attributes need some extra XML nodes
1897
  */
1898
  $zbozi_nodes = "PARAM_";
1899
+
1900
  if((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Mall.sk") OR ($feed_config['name'] == "Glami.gr") OR ($feed_config['name'] == "Heureka.cz") OR ($feed_config['name'] == "Heureka.sk")) AND (preg_match("/$zbozi_nodes/i",$k))){
1901
  $pieces = explode ("_", $k);
1902
  $productp = $product->addChild('PARAM');
1907
  $productp->addChild("PARAM_NAME", $pieces[1]);
1908
  $productp->addChild("VAL", $v);
1909
  }
1910
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA")){
1911
+ $productp = $product->addChild('MEDIA');
1912
+ $productp->addChild("URL", $v);
1913
+ $productp->addChild("MAIN", "true");
1914
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA_1")){
1915
+ $productp = $product->addChild('MEDIA');
1916
+ $productp->addChild("URL", $v);
1917
+ $productp->addChild("MAIN", "false");
1918
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA_2")){
1919
+ $productp = $product->addChild('MEDIA');
1920
+ $productp->addChild("URL", $v);
1921
+ $productp->addChild("MAIN", "false");
1922
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA_3")){
1923
+ $productp = $product->addChild('MEDIA');
1924
+ $productp->addChild("URL", $v);
1925
+ $productp->addChild("MAIN", "false");
1926
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA_4")){
1927
+ $productp = $product->addChild('MEDIA');
1928
+ $productp->addChild("URL", $v);
1929
+ $productp->addChild("MAIN", "false");
1930
+ } elseif(($feed_config['name'] == "Mall.sk") AND ($k == "MEDIA_5")){
1931
  $productp = $product->addChild('MEDIA');
1932
  $productp->addChild("URL", $v);
1933
+ $productp->addChild("MAIN", "false");
1934
  } elseif((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Heureka.cz")) AND ($k == "DELIVERY")){
1935
  $delivery = $product->addChild('DELIVERY');
1936
  $delivery_split = explode("##", $v);
4874
  $new_file = $path . "/" . sanitize_file_name($feed_config[$key]['filename']) . "." . $feed_config[$key]['fileformat'];
4875
 
4876
  if (!copy($tmp_file, $new_file)) {
 
4877
  } else {
4878
  unlink($tmp_file);
4879
  }
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.1.7',
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.1.9',
30
  jsonp: 'callback',
31
  dataType: 'jsonp',
32
  type: 'GET',
readme.txt CHANGED
@@ -4,8 +4,8 @@ License: GPLv3
4
  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.1.7
9
 
10
  == Description ==
11
 
@@ -337,6 +337,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
337
 
338
  === Changelog ===
339
 
 
 
 
 
 
 
340
  = 11.1.7 (2022-01-20) =
341
  * Bolder element changed the table rate shipping name method. This causes the integration to no longer work. This issue has been fixed now.
342
 
@@ -3569,6 +3575,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3569
 
3570
  == Upgrade Notice ==
3571
 
 
 
 
 
 
 
3572
  = 11.1.7 =
3573
  Bolder element changed the table rate shipping name method. This causes the integration to no longer work. This issue has been fixed now.
3574
 
4
  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.9
8
+ Stable tag: 11.1.9
9
 
10
  == Description ==
11
 
337
 
338
  === Changelog ===
339
 
340
+ = 11.1.9 (2022-01-26) =
341
+ * Confirmed compatibility with Wordpress 5.9
342
+
343
+ = 11.1.8 (2022-01-21) =
344
+ * Added support for up to 5 additional images for Mall.sk feeds
345
+
346
  = 11.1.7 (2022-01-20) =
347
  * Bolder element changed the table rate shipping name method. This causes the integration to no longer work. This issue has been fixed now.
348
 
3575
 
3576
  == Upgrade Notice ==
3577
 
3578
+ = 11.1.9 =
3579
+ Confirmed compatibility with Wordpress 5.9
3580
+
3581
+ = 11.1.8 =
3582
+ Added support for up to 5 additional images for Mall.sk feeds
3583
+
3584
  = 11.1.7 =
3585
  Bolder element changed the table rate shipping name method. This causes the integration to no longer work. This issue has been fixed now.
3586
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.1.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, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
@@ -11,7 +11,7 @@
11
  * License: GPL3
12
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
  * Requires at least: 4.5
14
- * Tested up to: 5.8
15
  *
16
  * Text Domain: woo-product-feed-pro
17
  * Domain Path: /languages
@@ -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.1.7' );
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.1.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, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
11
  * License: GPL3
12
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
13
  * Requires at least: 4.5
14
+ * Tested up to: 5.9
15
  *
16
  * Text Domain: woo-product-feed-pro
17
  * Domain Path: /languages
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.1.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54