Product Feed PRO for WooCommerce - Version 11.5.5

Version Description

Fixed a PHP notice introduced in the previous release

Download this release

Release Info

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

Code changes from version 11.5.4 to 11.5.5

classes/class-activate.php CHANGED
@@ -397,8 +397,8 @@ class WooSEA_Activation {
397
  "Pricerunner" => array (
398
  "channel_hash" => md5("Pricerunner.dk"),
399
  "name" => "Pricerunner.dk",
400
- "fields" => "customfeed",
401
- "taxonomy" => "none",
402
  "utm_source" => "Pricerunner.dk",
403
  "type" => "Comparison shopping engine" ),
404
  "Shopalike" => array (
@@ -560,8 +560,8 @@ class WooSEA_Activation {
560
  "Pricerunner.fr" => array (
561
  "channel_hash" => md5("Pricerunner.fr"),
562
  "name" => "Pricerunner.fr",
563
- "fields" => "customfeed",
564
- "taxonomy" => "none",
565
  "utm_source" => "Pricerunner.fr",
566
  "type" => "Comparison shopping engine" ),
567
  "ShopAlike.fr" => array (
@@ -832,8 +832,8 @@ class WooSEA_Activation {
832
  "Pricerunner.de" => array (
833
  "channel_hash" => md5("Pricerunner.de"),
834
  "name" => "Pricerunner.de",
835
- "fields" => "customfeed",
836
- "taxonomy" => "none",
837
  "utm_source" => "Pricerunner.de",
838
  "type" => "Comparison shopping engine" ),
839
  "Rakuten.de" => array (
@@ -1507,8 +1507,8 @@ class WooSEA_Activation {
1507
  "Pricerunner" => array (
1508
  "channel_hash" => md5("Pricerunner.se"),
1509
  "name" => "Pricerunner.se",
1510
- "fields" => "customfeed",
1511
- "taxonomy" => "none",
1512
  "utm_source" => "Pricerunner.se",
1513
  "type" => "Comparison shopping engine" ),
1514
  "Miinto" => array (
@@ -1523,7 +1523,7 @@ class WooSEA_Activation {
1523
  "name" => "Prisjakt.se",
1524
  "fields" => "google_shopping",
1525
  "taxonomy" => "google_shopping",
1526
- "utm_source" => "Pricerunner.se",
1527
  "type" => "Comparison shopping engine" ),
1528
  ),
1529
  "Switzerland" => array (
@@ -1667,8 +1667,8 @@ class WooSEA_Activation {
1667
  "Pricerunner" => array (
1668
  "channel_hash" => md5("Pricerunner.co.uk"),
1669
  "name" => "Pricerunner.co.uk",
1670
- "fields" => "customfeed",
1671
- "taxonomy" => "none",
1672
  "utm_source" => "Pricerunner.co.uk",
1673
  "type" => "Comparison shopping engine" ),
1674
  "Pricespy" => array (
397
  "Pricerunner" => array (
398
  "channel_hash" => md5("Pricerunner.dk"),
399
  "name" => "Pricerunner.dk",
400
+ "fields" => "google_shopping",
401
+ "taxonomy" => "google_shopping",
402
  "utm_source" => "Pricerunner.dk",
403
  "type" => "Comparison shopping engine" ),
404
  "Shopalike" => array (
560
  "Pricerunner.fr" => array (
561
  "channel_hash" => md5("Pricerunner.fr"),
562
  "name" => "Pricerunner.fr",
563
+ "fields" => "google_shopping",
564
+ "taxonomy" => "google_shopping",
565
  "utm_source" => "Pricerunner.fr",
566
  "type" => "Comparison shopping engine" ),
567
  "ShopAlike.fr" => array (
832
  "Pricerunner.de" => array (
833
  "channel_hash" => md5("Pricerunner.de"),
834
  "name" => "Pricerunner.de",
835
+ "fields" => "google_shopping",
836
+ "taxonomy" => "google_shopping",
837
  "utm_source" => "Pricerunner.de",
838
  "type" => "Comparison shopping engine" ),
839
  "Rakuten.de" => array (
1507
  "Pricerunner" => array (
1508
  "channel_hash" => md5("Pricerunner.se"),
1509
  "name" => "Pricerunner.se",
1510
+ "fields" => "google_shopping",
1511
+ "taxonomy" => "google_shopping",
1512
  "utm_source" => "Pricerunner.se",
1513
  "type" => "Comparison shopping engine" ),
1514
  "Miinto" => array (
1523
  "name" => "Prisjakt.se",
1524
  "fields" => "google_shopping",
1525
  "taxonomy" => "google_shopping",
1526
+ "utm_source" => "Prisjakt.se",
1527
  "type" => "Comparison shopping engine" ),
1528
  ),
1529
  "Switzerland" => array (
1667
  "Pricerunner" => array (
1668
  "channel_hash" => md5("Pricerunner.co.uk"),
1669
  "name" => "Pricerunner.co.uk",
1670
+ "fields" => "google_shopping",
1671
+ "taxonomy" => "google_shopping",
1672
  "utm_source" => "Pricerunner.co.uk",
1673
  "type" => "Comparison shopping engine" ),
1674
  "Pricespy" => array (
classes/class-get-products.php CHANGED
@@ -2887,8 +2887,10 @@ class WooSEA_Get_Products {
2887
 
2888
  $dec_price = wc_price($product_data['price'], $args);
2889
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_price, $matches);
2890
- $product_data['separator_price'] = $matches[1];
2891
-
 
 
2892
  $product_data['sale_price'] = wc_get_price_including_tax($product, array('price'=> $product->get_sale_price()));
2893
  $product_data['sale_price'] = wc_format_decimal($product_data['sale_price'],2);
2894
  $product_data['regular_price'] = wc_get_price_including_tax($product, array('price'=> $product->get_regular_price()));
@@ -2896,11 +2898,15 @@ class WooSEA_Get_Products {
2896
 
2897
  $dec_regular_price = wc_price($product_data['regular_price'], $args);
2898
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_regular_price, $matches_reg);
2899
- $product_data['separator_regular_price'] = $matches_reg[1];
 
 
2900
 
2901
  $dec_sale_price = wc_price($product_data['sale_price'], $args);
2902
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_sale_price, $matches_sale);
2903
- $product_data['separator_sale_price'] = $matches_sale[1];
 
 
2904
 
2905
  // Untouched raw system pricing - DO NOT CHANGE THESE
2906
  $float_system_net_price = floatval(wc_get_price_excluding_tax( $product ));
2887
 
2888
  $dec_price = wc_price($product_data['price'], $args);
2889
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_price, $matches);
2890
+ if(isset($matches[1])){
2891
+ $product_data['separator_price'] = $matches[1];
2892
+ }
2893
+
2894
  $product_data['sale_price'] = wc_get_price_including_tax($product, array('price'=> $product->get_sale_price()));
2895
  $product_data['sale_price'] = wc_format_decimal($product_data['sale_price'],2);
2896
  $product_data['regular_price'] = wc_get_price_including_tax($product, array('price'=> $product->get_regular_price()));
2898
 
2899
  $dec_regular_price = wc_price($product_data['regular_price'], $args);
2900
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_regular_price, $matches_reg);
2901
+ if(isset($matches_reg[1])){
2902
+ $product_data['separator_regular_price'] = $matches_reg[1];
2903
+ }
2904
 
2905
  $dec_sale_price = wc_price($product_data['sale_price'], $args);
2906
  preg_match('/<bdi>(.*?)&nbsp;/',$dec_sale_price, $matches_sale);
2907
+ if(isset($matches_sale[1])){
2908
+ $product_data['separator_sale_price'] = $matches_sale[1];
2909
+ }
2910
 
2911
  // Untouched raw system pricing - DO NOT CHANGE THESE
2912
  $float_system_net_price = floatval(wc_get_price_excluding_tax( $product ));
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.4',
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.5.5',
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.4
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.4 (2022-04-29) =
349
  * Added the alt text attribute for Pinterest feeds
350
  * Added price attributes with thousand and decimal separators in it (mainly for TikTok)
@@ -3695,6 +3698,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3695
 
3696
  == Upgrade Notice ==
3697
 
 
 
 
3698
  = 11.5.4 =
3699
  Added the alt text attribute for Pinterest feeds
3700
  Added price attributes with thousand and decimal separators in it (mainly for TikTok)
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.5
9
 
10
  == Description ==
11
 
345
 
346
  === Changelog ===
347
 
348
+ = 11.5.5 (2022-05-05) =
349
+ * Fixed a PHP notice introduced in the previous release
350
+
351
  = 11.5.4 (2022-04-29) =
352
  * Added the alt text attribute for Pinterest feeds
353
  * Added price attributes with thousand and decimal separators in it (mainly for TikTok)
3698
 
3699
  == Upgrade Notice ==
3700
 
3701
+ = 11.5.5 =
3702
+ Fixed a PHP notice introduced in the previous release
3703
+
3704
  = 11.5.4 =
3705
  Added the alt text attribute for Pinterest feeds
3706
  Added price attributes with thousand and decimal separators in it (mainly for TikTok)
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.5.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
@@ -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.4' );
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.5.5
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.5.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54