Version Description
Fixed a bug where rules on empty numeric product values did not work. This has been fixed now.
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.7.4 |
Comparing to | |
See all releases |
Code changes from version 7.7.3 to 7.7.4
- classes/class-get-products.php +8 -5
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +3 -3
classes/class-get-products.php
CHANGED
@@ -3917,7 +3917,8 @@ class WooSEA_Get_Products {
|
|
3917 |
}
|
3918 |
|
3919 |
if (((is_numeric($pd_value)) AND ($pr_array['than_attribute'] != "shipping"))){
|
3920 |
-
|
|
|
3921 |
switch ($pr_array['condition']) {
|
3922 |
case($pr_array['condition'] = "contains"):
|
3923 |
if ((preg_match('/'.$pr_array['criteria'].'/', $pd_value))){
|
@@ -3960,10 +3961,12 @@ class WooSEA_Get_Products {
|
|
3960 |
}
|
3961 |
break;
|
3962 |
case($pr_array['condition'] = "empty"):
|
3963 |
-
if
|
3964 |
-
$
|
3965 |
-
|
3966 |
-
|
|
|
|
|
3967 |
}
|
3968 |
break;
|
3969 |
case($pr_array['condition'] = "multiply"):
|
3917 |
}
|
3918 |
|
3919 |
if (((is_numeric($pd_value)) AND ($pr_array['than_attribute'] != "shipping"))){
|
3920 |
+
|
3921 |
+
// Rules for numeric values
|
3922 |
switch ($pr_array['condition']) {
|
3923 |
case($pr_array['condition'] = "contains"):
|
3924 |
if ((preg_match('/'.$pr_array['criteria'].'/', $pd_value))){
|
3961 |
}
|
3962 |
break;
|
3963 |
case($pr_array['condition'] = "empty"):
|
3964 |
+
if(empty($product_data[$pr_array['attribute']])){
|
3965 |
+
if ((strlen($pd_value) < 1)){
|
3966 |
+
$product_data[$pr_array['than_attribute']] = $pr_array['newvalue'];
|
3967 |
+
} else {
|
3968 |
+
$product_data[$pr_array['attribute']] = $product_data[$pr_array['than_attribute']];
|
3969 |
+
}
|
3970 |
}
|
3971 |
break;
|
3972 |
case($pr_array['condition'] = "multiply"):
|
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.7.
|
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.7.4',
|
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.3
|
8 |
-
Stable tag: 7.7.
|
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.7.3 (2020-03-13) =
|
316 |
* Fixed a bug where static values are added to feeds for products that are filtered out
|
317 |
|
@@ -2462,6 +2465,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2462 |
|
2463 |
== Upgrade Notice ==
|
2464 |
|
|
|
|
|
|
|
2465 |
= 7.7.3 =
|
2466 |
Fixed a bug where static values are added to feeds for products that are filtered out
|
2467 |
|
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.3
|
8 |
+
Stable tag: 7.7.4
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.7.4 (2020-03-15) =
|
316 |
+
* Fixed a bug where rules on empty numeric product values did not work. This has been fixed now.
|
317 |
+
|
318 |
= 7.7.3 (2020-03-13) =
|
319 |
* Fixed a bug where static values are added to feeds for products that are filtered out
|
320 |
|
2465 |
|
2466 |
== Upgrade Notice ==
|
2467 |
|
2468 |
+
= 7.7.4 =
|
2469 |
+
Fixed a bug where rules on empty numeric product values did not work. This has been fixed now.
|
2470 |
+
|
2471 |
= 7.7.3 =
|
2472 |
Fixed a bug where static values are added to feeds for products that are filtered out
|
2473 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.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,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.7.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -4215,7 +4215,7 @@ function woosea_license_valid(){
|
|
4215 |
|
4216 |
if(!empty($license_information['license_key'])){
|
4217 |
$curl = curl_init();
|
4218 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.7.
|
4219 |
|
4220 |
curl_setopt_array($curl, array(
|
4221 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.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 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.7.4' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
4215 |
|
4216 |
if(!empty($license_information['license_key'])){
|
4217 |
$curl = curl_init();
|
4218 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.7.4";
|
4219 |
|
4220 |
curl_setopt_array($curl, array(
|
4221 |
CURLOPT_RETURNTRANSFER => 1,
|