Version Description
Solved a Trovaprezzi shipping cost bug
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.8.7 |
Comparing to | |
See all releases |
Code changes from version 7.8.6 to 7.8.7
- classes/class-get-products.php +3 -2
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +3 -3
classes/class-get-products.php
CHANGED
@@ -2472,7 +2472,7 @@ class WooSEA_Get_Products {
|
|
2472 |
}
|
2473 |
}
|
2474 |
|
2475 |
-
if ((array_key_exists('shipping', $project_config['attributes'])) OR (array_key_exists('shipping_price', $project_config['attributes']))){
|
2476 |
$product_data['shipping'] = $this->woosea_get_shipping_cost($class_cost_id, $project_config, $product_data['price'], $tax_rates, $shipping_zones, $product_data['id'], $product_data['item_group_id']);
|
2477 |
$shipping_str = $product_data['shipping'];
|
2478 |
}
|
@@ -2480,7 +2480,7 @@ class WooSEA_Get_Products {
|
|
2480 |
// Get only shipping costs
|
2481 |
$product_data['shipping_price'] = 0;
|
2482 |
$shipping_arr = $product_data['shipping'];
|
2483 |
-
if(is_array($shipping_arr)){
|
2484 |
foreach($shipping_arr as $akey => $arr){
|
2485 |
//$product_data['shipping_price'] = $arr['price'];
|
2486 |
$pieces_ship = explode (" ", $arr['price']);
|
@@ -2488,6 +2488,7 @@ class WooSEA_Get_Products {
|
|
2488 |
$product_data['shipping_price'] = $pieces_ship['1'];
|
2489 |
}
|
2490 |
}
|
|
|
2491 |
}
|
2492 |
|
2493 |
// Google Dynamic Remarketing feeds require the English price notation
|
2472 |
}
|
2473 |
}
|
2474 |
|
2475 |
+
if ((array_key_exists('shipping', $project_config['attributes'])) OR (array_key_exists('shipping_price', $project_config['attributes'])) OR ($project_config['fields'] == "trovaprezzi")){
|
2476 |
$product_data['shipping'] = $this->woosea_get_shipping_cost($class_cost_id, $project_config, $product_data['price'], $tax_rates, $shipping_zones, $product_data['id'], $product_data['item_group_id']);
|
2477 |
$shipping_str = $product_data['shipping'];
|
2478 |
}
|
2480 |
// Get only shipping costs
|
2481 |
$product_data['shipping_price'] = 0;
|
2482 |
$shipping_arr = $product_data['shipping'];
|
2483 |
+
if(is_array($shipping_arr)){
|
2484 |
foreach($shipping_arr as $akey => $arr){
|
2485 |
//$product_data['shipping_price'] = $arr['price'];
|
2486 |
$pieces_ship = explode (" ", $arr['price']);
|
2488 |
$product_data['shipping_price'] = $pieces_ship['1'];
|
2489 |
}
|
2490 |
}
|
2491 |
+
|
2492 |
}
|
2493 |
|
2494 |
// Google Dynamic Remarketing feeds require the English price notation
|
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=7.8.
|
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=7.8.7',
|
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.4
|
8 |
-
Stable tag: 7.8.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -312,6 +312,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
|
|
|
|
|
|
315 |
= 7.8.6 (2020-04-07) =
|
316 |
* Solved WPML PHP noticed for products without a product ID
|
317 |
|
@@ -2501,6 +2504,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2501 |
|
2502 |
== Upgrade Notice ==
|
2503 |
|
|
|
|
|
|
|
2504 |
= 7.8.6 =
|
2505 |
Solved WPML PHP noticed for products without a product ID
|
2506 |
|
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: 7.8.7
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.8.7 (2020-04-09) =
|
316 |
+
* Solved a Trovaprezzi shipping cost bug
|
317 |
+
|
318 |
= 7.8.6 (2020-04-07) =
|
319 |
* Solved WPML PHP noticed for products without a product ID
|
320 |
|
2504 |
|
2505 |
== Upgrade Notice ==
|
2506 |
|
2507 |
+
= 7.8.7 =
|
2508 |
+
Solved a Trovaprezzi shipping cost bug
|
2509 |
+
|
2510 |
= 7.8.6 =
|
2511 |
Solved WPML PHP noticed for products without a product ID
|
2512 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.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', '7.8.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -4240,7 +4240,7 @@ function woosea_license_valid(){
|
|
4240 |
|
4241 |
if(!empty($license_information['license_key'])){
|
4242 |
$curl = curl_init();
|
4243 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.8.
|
4244 |
|
4245 |
curl_setopt_array($curl, array(
|
4246 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.8.7
|
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', '7.8.7' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
4240 |
|
4241 |
if(!empty($license_information['license_key'])){
|
4242 |
$curl = curl_init();
|
4243 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.8.7";
|
4244 |
|
4245 |
curl_setopt_array($curl, array(
|
4246 |
CURLOPT_RETURNTRANSFER => 1,
|