Product Feed PRO for WooCommerce - Version 11.4.5

Version Description

Reverting the rounding on two decimals for bundled products as WooCommerce is not always returning int|float values

Download this release

Release Info

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

Code changes from version 11.4.4 to 11.4.5

classes/class-get-products.php CHANGED
@@ -2934,9 +2934,9 @@ class WooSEA_Get_Products {
2934
 
2935
  if($product->get_type() == "bundle"){
2936
  if ($this->woosea_is_plugin_active('woocommerce-product-bundles/woocommerce-product-bundles.php')){
2937
- $product_data['price'] = round(get_post_meta($product_data['id'], '_price', true),2);
2938
- $product_data['regular_price'] = round(get_post_meta($product_data['id'], '_regular_price', true),2);
2939
- $product_data['sale_price'] = round(get_post_meta($product_data['id'], '_sale_price', true),2);
2940
 
2941
  if(is_numeric($tax_rates[1]['rate'])){
2942
  $rounded_price = floatval(get_post_meta($product_data['id'], '_price', true));
2934
 
2935
  if($product->get_type() == "bundle"){
2936
  if ($this->woosea_is_plugin_active('woocommerce-product-bundles/woocommerce-product-bundles.php')){
2937
+ $product_data['price'] = get_post_meta($product_data['id'], '_price', true);
2938
+ $product_data['regular_price'] = get_post_meta($product_data['id'], '_regular_price', true);
2939
+ $product_data['sale_price'] = get_post_meta($product_data['id'], '_sale_price', true);
2940
 
2941
  if(is_numeric($tax_rates[1]['rate'])){
2942
  $rounded_price = floatval(get_post_meta($product_data['id'], '_price', true));
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.4.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.4.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, 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.4.4
9
 
10
  == Description ==
11
 
@@ -342,6 +342,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
342
 
343
  === Changelog ===
344
 
 
 
 
345
  = 11.4.4 (2022-03-21) =
346
  * Added links to TranslatePress tutorial
347
  * Fixed an issue with the WooCommerce bundled product plugin that returned prices with more than 2 decimals
@@ -3661,6 +3664,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3661
 
3662
  == Upgrade Notice ==
3663
 
 
 
 
3664
  = 11.4.4 =
3665
  Added links to TranslatePress tutorial
3666
  Fixed an issue with the WooCommerce bundled product plugin that returned prices with more than 2 decimals
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.4.5
9
 
10
  == Description ==
11
 
342
 
343
  === Changelog ===
344
 
345
+ = 11.4.5 (2022-03-22) =
346
+ * Reverting the rounding on two decimals for bundled products as WooCommerce is not always returning int|float values
347
+
348
  = 11.4.4 (2022-03-21) =
349
  * Added links to TranslatePress tutorial
350
  * Fixed an issue with the WooCommerce bundled product plugin that returned prices with more than 2 decimals
3664
 
3665
  == Upgrade Notice ==
3666
 
3667
+ = 11.4.5 =
3668
+ Reverting the rounding on two decimals for bundled products as WooCommerce is not always returning int|float values
3669
+
3670
  = 11.4.4 =
3671
  Added links to TranslatePress tutorial
3672
  Fixed an issue with the WooCommerce bundled product plugin that returned prices with more than 2 decimals
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.4.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, Facebook, 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.4.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.4.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, Facebook, 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.4.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54