Product Feed PRO for WooCommerce - Version 11.6.0

Version Description

Added support for the new Skroutz additional_image requirements

Download this release

Release Info

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

Code changes from version 11.5.9 to 11.6.0

classes/channels/class-skroutz.php CHANGED
@@ -36,8 +36,8 @@ class WooSEA_skroutz {
36
  "woo_suggest" => "image",
37
  ),
38
  "Additional Image" => array(
39
- "name" => "additionalimage",
40
- "feed_name" => "additionalimage",
41
  "format" => "optional",
42
  ),
43
  "Category Name" => array(
36
  "woo_suggest" => "image",
37
  ),
38
  "Additional Image" => array(
39
+ "name" => "additional_imageurl",
40
+ "feed_name" => "additional_imageurl",
41
  "format" => "optional",
42
  ),
43
  "Category Name" => array(
classes/class-get-products.php CHANGED
@@ -1830,7 +1830,9 @@ class WooSEA_Get_Products {
1830
  }
1831
  }
1832
  } elseif (preg_match('/^additionalimage/',$k)){
1833
- $additional_image_link = $product->addChild('additionalimage',$v);
 
 
1834
  } elseif ($k == "shipping"){
1835
  $expl = "||";
1836
  if(strpos($v, $expl)) {
@@ -3130,17 +3132,12 @@ class WooSEA_Get_Products {
3130
  $product_data['sale_price_forced'] = round($discount*($fullrate/100),2);
3131
  }
3132
 
3133
-
3134
  $thousand_separator = wc_get_price_thousand_separator();
3135
-
3136
  if($thousand_separator != ','){
3137
  $replaceWith = '';
3138
  $product_data['price'] = preg_replace('/,/', $replaceWith, $product_data['price'], 1);
3139
- //$product_data['price'] = floatval(str_replace(',', '.', str_replace('.', '', $product_data['price'])));
3140
- //$product_data['regular_price'] = floatval(str_replace(',', '.', str_replace('.', '', $product_data['regular_price'])));
3141
  $product_data['regular_price'] = preg_replace('/,/', $replaceWith, $product_data['regular_price'], 1);
3142
  if($product_data['sale_price'] > 0){
3143
- //$product_data['sale_price'] = floatval(str_replace(',', '.', str_replace('.', '', $product_data['sale_price'])));
3144
  $product_data['sale_price'] = preg_replace('/,/', $replaceWith, $product_data['sale_price'], 1);
3145
  }
3146
  }
1830
  }
1831
  }
1832
  } elseif (preg_match('/^additionalimage/',$k)){
1833
+ $additional_image_link = $product->addChild('additionalimage',$v);
1834
+ } elseif (preg_match('/^additional_imageurl/',$k)){
1835
+ $additional_image_link = $product->addChild('additional_imageurl',$v);
1836
  } elseif ($k == "shipping"){
1837
  $expl = "||";
1838
  if(strpos($v, $expl)) {
3132
  $product_data['sale_price_forced'] = round($discount*($fullrate/100),2);
3133
  }
3134
 
 
3135
  $thousand_separator = wc_get_price_thousand_separator();
 
3136
  if($thousand_separator != ','){
3137
  $replaceWith = '';
3138
  $product_data['price'] = preg_replace('/,/', $replaceWith, $product_data['price'], 1);
 
 
3139
  $product_data['regular_price'] = preg_replace('/,/', $replaceWith, $product_data['regular_price'], 1);
3140
  if($product_data['sale_price'] > 0){
 
3141
  $product_data['sale_price'] = preg_replace('/,/', $replaceWith, $product_data['sale_price'], 1);
3142
  }
3143
  }
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.5.9',
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.0',
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: 5.9
8
- Stable tag: 11.5.9
9
 
10
  == Description ==
11
 
@@ -345,6 +345,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
345
 
346
  === Changelog ===
347
 
 
 
 
348
  = 11.5.9 (2022-05-31) =
349
  * Fixed an issue where the thousand separator for discounted prices by Flycart was causing malformed prices
350
 
@@ -3710,6 +3713,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3710
 
3711
  == Upgrade Notice ==
3712
 
 
 
 
3713
  = 11.5.9 =
3714
  Fixed an issue where the thousand separator for discounted prices by Flycart was causing malformed prices
3715
 
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: 5.9
8
+ Stable tag: 11.6.0
9
 
10
  == Description ==
11
 
345
 
346
  === Changelog ===
347
 
348
+ = 11.6.0 (2022-05-31) =
349
+ * Added support for the new Skroutz additional_image requirements
350
+
351
  = 11.5.9 (2022-05-31) =
352
  * Fixed an issue where the thousand separator for discounted prices by Flycart was causing malformed prices
353
 
3713
 
3714
  == Upgrade Notice ==
3715
 
3716
+ = 11.6.0 =
3717
+ Added support for the new Skroutz additional_image requirements
3718
+
3719
  = 11.5.9 =
3720
  Fixed an issue where the thousand separator for discounted prices by Flycart was causing malformed prices
3721
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.5.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, Catalog managers, Remarketing, Bing, Skroutz, 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', '11.5.9' );
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.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, Catalog managers, Remarketing, Bing, Skroutz, 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', '11.6.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54