Product Feed PRO for WooCommerce - Version 8.1.2

Version Description

Fixed an issue with the WooCommerce Shipping Table Rate plugin

Download this release

Release Info

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

Code changes from version 8.1.1 to 8.1.2

classes/class-get-products.php CHANGED
@@ -748,32 +748,33 @@ class WooSEA_Get_Products {
748
  // WooCommerce Table Rate Bolder Elements
749
  if(class_exists('BE_Table_Rate_WC')){
750
  // Set shipping cost
 
751
  $shipping_cost = 0;
752
  if(!empty($product_id)){
753
  // Add product to cart
754
  if (isset($product_id)){
755
  $quantity = 1;
756
-
757
  if(!empty($code_from_config)){
758
- if($code_from_config == null){
 
759
 
760
  WC()->customer->set_shipping_country(wc_clean( $code_from_config ));
761
  if(isset($zone_details['region'])){
762
-
763
  WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
764
- }
765
  //$cart = new WC_Cart();
766
  WC()->cart->add_to_cart( $product_id, $quantity );
767
 
768
  // Read cart and get schipping costs
769
  foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
770
- $total_cost = WC()->cart->get_total();
771
  $shipping_cost = WC()->cart->get_shipping_total();
772
  $shipping_cost = wc_format_localized_price($shipping_cost);
773
  }
774
  // Make sure to empty the cart again
775
  WC()->cart->empty_cart();
776
- }
777
  }
778
  }
779
  }
748
  // WooCommerce Table Rate Bolder Elements
749
  if(class_exists('BE_Table_Rate_WC')){
750
  // Set shipping cost
751
+
752
  $shipping_cost = 0;
753
  if(!empty($product_id)){
754
  // Add product to cart
755
  if (isset($product_id)){
756
  $quantity = 1;
757
+
758
  if(!empty($code_from_config)){
759
+
760
+ //if($code_from_config == null){
761
 
762
  WC()->customer->set_shipping_country(wc_clean( $code_from_config ));
763
  if(isset($zone_details['region'])){
 
764
  WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
765
+ }
766
  //$cart = new WC_Cart();
767
  WC()->cart->add_to_cart( $product_id, $quantity );
768
 
769
  // Read cart and get schipping costs
770
  foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
771
+ $total_cost = WC()->cart->get_total();
772
  $shipping_cost = WC()->cart->get_shipping_total();
773
  $shipping_cost = wc_format_localized_price($shipping_cost);
774
  }
775
  // Make sure to empty the cart again
776
  WC()->cart->empty_cart();
777
+ //}
778
  }
779
  }
780
  }
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.1.1
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.1.1 (2020-04-27) =
317
  * Fixed several bugs in the Fruugo.nl templating
318
 
@@ -2583,6 +2586,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2583
 
2584
  == Upgrade Notice ==
2585
 
 
 
 
2586
  = 8.1.1 =
2587
  Fixed several bugs in the Fruugo.nl templating
2588
 
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.1.2
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.1.2 (2020-04-30) =
317
+ * Fixed an issue with the WooCommerce Shipping Table Rate plugin
318
+
319
  = 8.1.1 (2020-04-27) =
320
  * Fixed several bugs in the Fruugo.nl templating
321
 
2586
 
2587
  == Upgrade Notice ==
2588
 
2589
+ = 8.1.2 =
2590
+ Fixed an issue with the WooCommerce Shipping Table Rate plugin
2591
+
2592
  = 8.1.1 =
2593
  Fixed several bugs in the Fruugo.nl templating
2594
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.1.1
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.1.1' );
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.1.2
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.1.2' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54