Product Feed PRO for WooCommerce - Version 8.7.5

Version Description

Price field for bundled and composite products now always contain VAT

Download this release

Release Info

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

Code changes from version 8.7.4 to 8.7.5

classes/class-get-products.php CHANGED
@@ -2420,16 +2420,6 @@ class WooSEA_Get_Products {
2420
  $product_data['sale_price'] = "";
2421
  }
2422
 
2423
- // Override price when bundled product
2424
- if(($product->get_type() == "bundle") OR ($product->get_type() == "composite")){
2425
- $meta = get_post_meta($product_data['id']);
2426
- $product_data['price'] = get_post_meta($product_data['id'], '_price', true);
2427
- $product_data['regular_price'] = get_post_meta($product_data['id'], '_regular_price', true);
2428
- if($product_data['price'] != $product_data['regular_price']){
2429
- $product_data['sale_price'] = get_post_meta($product_data['id'], '_price', true);
2430
- }
2431
- }
2432
-
2433
  if(!empty($tax_rates)){
2434
  foreach ($tax_rates as $tk => $tv){
2435
  if($tv['rate'] > 0){
@@ -2443,7 +2433,20 @@ class WooSEA_Get_Products {
2443
  }
2444
 
2445
  $fullrate = 100+$tax_rates[1]['rate'];
2446
-
 
 
 
 
 
 
 
 
 
 
 
 
 
2447
  // Determine the gross prices of products
2448
  if($product->get_price()){
2449
  $product_data['price_forced'] = round(wc_get_price_excluding_tax($product,array('price'=> $product->get_price())) * (100+$tax_rates[1]['rate'])/100,2);
2420
  $product_data['sale_price'] = "";
2421
  }
2422
 
 
 
 
 
 
 
 
 
 
 
2423
  if(!empty($tax_rates)){
2424
  foreach ($tax_rates as $tk => $tv){
2425
  if($tv['rate'] > 0){
2433
  }
2434
 
2435
  $fullrate = 100+$tax_rates[1]['rate'];
2436
+
2437
+ // Override price when bundled product
2438
+ if(($product->get_type() == "bundle") OR ($product->get_type() == "composite")){
2439
+ $meta = get_post_meta($product_data['id']);
2440
+ $product_data['price'] = round(get_post_meta($product_data['id'], '_price', true) * (100+$tax_rates[1]['rate'])/100,2);
2441
+ $product_data['net_price'] = get_post_meta($product_data['id'], '_price', true);
2442
+ $product_data['regular_price'] = round(get_post_meta($product_data['id'], '_regular_price', true) * (100+$tax_rates[1]['rate'])/100,2);
2443
+ $product_data['net_regular_price'] = get_post_meta($product_data['id'], '_regular_price', true);
2444
+ if($product_data['price'] != $product_data['regular_price']){
2445
+ $product_data['sale_price'] = round(get_post_meta($product_data['id'], '_sale_price', true) * (100+$tax_rates[1]['rate'])/100,2);
2446
+ $product_data['net_sale_price'] = get_post_meta($product_data['id'], '_sale_price', true);
2447
+ }
2448
+ }
2449
+
2450
  // Determine the gross prices of products
2451
  if($product->get_price()){
2452
  $product_data['price_forced'] = round(wc_get_price_excluding_tax($product,array('price'=> $product->get_price())) * (100+$tax_rates[1]['rate'])/100,2);
js/woosea_key.js CHANGED
@@ -27,7 +27,7 @@ jQuery(document).ready(function($) {
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=8.7.4',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=8.7.5',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
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.5
8
- Stable tag: 8.7.4
9
 
10
  == Description ==
11
 
@@ -319,6 +319,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
319
 
320
  === Changelog ===
321
 
 
 
 
322
  = 8.7.4 (2020-09-21) =
323
  * The Heureka.sk template is now also working for PARAM fields
324
 
@@ -2785,6 +2788,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2785
 
2786
  == Upgrade Notice ==
2787
 
 
 
 
2788
  = 8.7.4 =
2789
  The Heureka.sk template is now also working for PARAM fields
2790
 
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.5
8
+ Stable tag: 8.7.5
9
 
10
  == Description ==
11
 
319
 
320
  === Changelog ===
321
 
322
+ = 8.7.5 (2020-09-23) =
323
+ * Price field for bundled and composite products now always contain VAT
324
+
325
  = 8.7.4 (2020-09-21) =
326
  * The Heureka.sk template is now also working for PARAM fields
327
 
2788
 
2789
  == Upgrade Notice ==
2790
 
2791
+ = 8.7.5 =
2792
+ Price field for bundled and composite products now always contain VAT
2793
+
2794
  = 8.7.4 =
2795
  The Heureka.sk template is now also working for PARAM fields
2796
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.7.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, 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.7.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: 8.7.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, 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.7.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54