Product Feed PRO for WooCommerce - Version 8.0.9

Version Description

Added the sysyem sale price attribute

Download this release

Release Info

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

Code changes from version 8.0.8 to 8.0.9

classes/class-get-products.php CHANGED
@@ -2255,9 +2255,9 @@ class WooSEA_Get_Products {
2255
  $product_data['system_price'] = ($product->get_regular_price()) ? $this->get_product_price($product, $product->get_regular_price()) : '';
2256
  $product_data['system_price'] = wc_format_decimal($product_data['system_price'],2);
2257
 
2258
- $product_data['system_sale_price'] = wc_get_price_including_tax($product, array('price'=> $product->get_sale_price()));
2259
  $sale_price = $product_data['system_sale_price'];
2260
- $product_data['system_sale_price'] = ($product->get_regular_price() != $sale_price) ? $this->get_product_price($product, $sale_price ) : '';
2261
  $product_data['system_sale_price'] = wc_format_decimal($product_data['system_sale_price'],2);
2262
 
2263
  // Override price when WCML price is different than the non-translated price
@@ -2327,7 +2327,7 @@ class WooSEA_Get_Products {
2327
  $product_data['sale_price_forced'] = round(wc_get_price_excluding_tax($product, array('price'=> $product->get_sale_price())) * (100+$tax_rates[1]['rate'])/100,2);
2328
  $product_data['net_sale_price'] = ($product->get_sale_price()/$fullrate)*100;
2329
  $product_data['net_sale_price'] = round($product_data['net_sale_price'],2);
2330
-
2331
  // We do not want to have 0 sale price values in the feed
2332
  if($product_data['net_sale_price'] == 0){
2333
  $product_data['net_sale_price'] = "";
2255
  $product_data['system_price'] = ($product->get_regular_price()) ? $this->get_product_price($product, $product->get_regular_price()) : '';
2256
  $product_data['system_price'] = wc_format_decimal($product_data['system_price'],2);
2257
 
2258
+ $product_data['system_sale_price'] = wc_get_price_excluding_tax($product, array('price'=> $product->get_sale_price()));
2259
  $sale_price = $product_data['system_sale_price'];
2260
+ //$product_data['system_sale_price'] = ($product->get_sale_price() != $sale_price) ? $this->get_product_price($product, $sale_price ) : '';
2261
  $product_data['system_sale_price'] = wc_format_decimal($product_data['system_sale_price'],2);
2262
 
2263
  // Override price when WCML price is different than the non-translated price
2327
  $product_data['sale_price_forced'] = round(wc_get_price_excluding_tax($product, array('price'=> $product->get_sale_price())) * (100+$tax_rates[1]['rate'])/100,2);
2328
  $product_data['net_sale_price'] = ($product->get_sale_price()/$fullrate)*100;
2329
  $product_data['net_sale_price'] = round($product_data['net_sale_price'],2);
2330
+
2331
  // We do not want to have 0 sale price values in the feed
2332
  if($product_data['net_sale_price'] == 0){
2333
  $product_data['net_sale_price'] = "";
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.4
8
- Stable tag: 8.0.8
9
 
10
  == Description ==
11
 
@@ -313,6 +313,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
313
 
314
  === Changelog ===
315
 
 
 
 
316
  = 8.0.8 (2020-04-26) =
317
  * Added a more strict check on "is equal to" filters for category filters
318
 
@@ -2574,6 +2577,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2574
 
2575
  == Upgrade Notice ==
2576
 
 
 
 
2577
  = 8.0.8 =
2578
  Added a more strict check on "is equal to" filters for category filters
2579
 
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.4
8
+ Stable tag: 8.0.9
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.0.9 (2020-04-26) =
317
+ * Added the sysyem sale price attribute
318
+
319
  = 8.0.8 (2020-04-26) =
320
  * Added a more strict check on "is equal to" filters for category filters
321
 
2577
 
2578
  == Upgrade Notice ==
2579
 
2580
+ = 8.0.9 =
2581
+ Added the sysyem sale price attribute
2582
+
2583
  = 8.0.8 =
2584
  Added a more strict check on "is equal to" filters for category filters
2585
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.0.8
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, 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', '8.0.8' );
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: 8.0.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, 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', '8.0.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54