Version Description
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 8.2.5 |
Comparing to | |
See all releases |
Code changes from version 8.2.3 to 8.2.5
- classes/class-get-products.php +13 -7
- readme.txt +7 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -465,7 +465,7 @@ class WooSEA_Get_Products {
|
|
465 |
'FK' => 'Falkland Islands (Malvinas)',
|
466 |
'FJ' => 'Fiji the Fiji Islands',
|
467 |
'FI' => 'Finland',
|
468 |
-
'FR' => 'France
|
469 |
'GF' => 'French Guiana',
|
470 |
'PF' => 'French Polynesia',
|
471 |
'TF' => 'French Southern Territories',
|
@@ -684,7 +684,7 @@ class WooSEA_Get_Products {
|
|
684 |
$zone_details['country'] = $zone_expl[0];
|
685 |
|
686 |
// Adding a region is only allowed for these countries
|
687 |
-
$region_countries = array ('US','JP','AU');
|
688 |
if(in_array($zone_details['country'], $region_countries)){
|
689 |
$zone_details['region'] = $zone_expl[1];
|
690 |
}
|
@@ -755,11 +755,16 @@ class WooSEA_Get_Products {
|
|
755 |
$quantity = 1;
|
756 |
|
757 |
if(!empty($code_from_config)){
|
758 |
-
|
759 |
-
WC()->customer->set_shipping_country(
|
760 |
-
|
|
|
761 |
WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
|
762 |
}
|
|
|
|
|
|
|
|
|
763 |
|
764 |
WC()->cart->add_to_cart( $product_id, $quantity );
|
765 |
|
@@ -768,10 +773,11 @@ class WooSEA_Get_Products {
|
|
768 |
$total_cost = WC()->cart->get_total();
|
769 |
$shipping_cost = WC()->cart->get_shipping_total();
|
770 |
$shipping_cost = wc_format_localized_price($shipping_cost);
|
771 |
-
|
|
|
772 |
// Make sure to empty the cart again
|
773 |
WC()->cart->empty_cart();
|
774 |
-
|
775 |
}
|
776 |
}
|
777 |
}
|
465 |
'FK' => 'Falkland Islands (Malvinas)',
|
466 |
'FJ' => 'Fiji the Fiji Islands',
|
467 |
'FI' => 'Finland',
|
468 |
+
'FR' => 'France',
|
469 |
'GF' => 'French Guiana',
|
470 |
'PF' => 'French Polynesia',
|
471 |
'TF' => 'French Southern Territories',
|
684 |
$zone_details['country'] = $zone_expl[0];
|
685 |
|
686 |
// Adding a region is only allowed for these countries
|
687 |
+
$region_countries = array ('US','JP','AU','FR');
|
688 |
if(in_array($zone_details['country'], $region_countries)){
|
689 |
$zone_details['region'] = $zone_expl[1];
|
690 |
}
|
755 |
$quantity = 1;
|
756 |
|
757 |
if(!empty($code_from_config)){
|
758 |
+
if (null !== (WC()->cart)){
|
759 |
+
WC()->customer->set_shipping_country( $code_from_config );
|
760 |
+
|
761 |
+
if(isset($zone_details['region'])){
|
762 |
WC()->customer->set_shipping_state(wc_clean( $zone_details['region'] ));
|
763 |
}
|
764 |
+
|
765 |
+
if(isset($zone_details['postal_code'])){
|
766 |
+
WC()->customer->set_shipping_postcode(wc_clean( $zone_details['postal_code'] ));
|
767 |
+
}
|
768 |
|
769 |
WC()->cart->add_to_cart( $product_id, $quantity );
|
770 |
|
773 |
$total_cost = WC()->cart->get_total();
|
774 |
$shipping_cost = WC()->cart->get_shipping_total();
|
775 |
$shipping_cost = wc_format_localized_price($shipping_cost);
|
776 |
+
|
777 |
+
}
|
778 |
// Make sure to empty the cart again
|
779 |
WC()->cart->empty_cart();
|
780 |
+
}
|
781 |
}
|
782 |
}
|
783 |
}
|
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.2.
|
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.2.3 (2020-05-20) =
|
317 |
* Fixed another issue where structured data aggregateRatings were removed for simple products
|
318 |
|
@@ -2621,6 +2624,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2621 |
|
2622 |
== Upgrade Notice ==
|
2623 |
|
|
|
|
|
|
|
2624 |
= 8.2.3 =
|
2625 |
Fixed another issue where structured data aggregateRatings were removed for simple products
|
2626 |
|
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.2.4
|
9 |
|
10 |
== Description ==
|
11 |
|
313 |
|
314 |
=== Changelog ===
|
315 |
|
316 |
+
= 8.2.4 (2020-05-21) =
|
317 |
+
* Fixed an issue with the table rate shipping compatibility for postcodes
|
318 |
+
|
319 |
= 8.2.3 (2020-05-20) =
|
320 |
* Fixed another issue where structured data aggregateRatings were removed for simple products
|
321 |
|
2624 |
|
2625 |
== Upgrade Notice ==
|
2626 |
|
2627 |
+
= 8.2.4 =
|
2628 |
+
Fixed an issue with the table rate shipping compatibility for postcodes
|
2629 |
+
|
2630 |
= 8.2.3 =
|
2631 |
Fixed another issue where structured data aggregateRatings were removed for simple products
|
2632 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 8.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,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '8.2.
|
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.2.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 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '8.2.4' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|