Version Description
Some update_option functions took four arguments whereas it takes only three. This has been fixed now (Thanks @Sudhir)
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 8.6.4 |
Comparing to | |
See all releases |
Code changes from version 8.6.3 to 8.6.4
- classes/class-get-products.php +2 -2
- classes/class-update-channel.php +2 -2
- js/woosea_key.js +1 -1
- readme.txt +13 -1
- woocommerce-sea.php +6 -6
classes/class-get-products.php
CHANGED
@@ -1717,7 +1717,7 @@ class WooSEA_Get_Products {
|
|
1717 |
|
1718 |
foreach ($row as $k => $v){
|
1719 |
$pieces = explode ("','", $v);
|
1720 |
-
|
1721 |
|
1722 |
foreach ($pieces as $k_inner => $v){
|
1723 |
if ($feed_config['fields'] != 'standard'){
|
@@ -2363,7 +2363,7 @@ class WooSEA_Get_Products {
|
|
2363 |
|
2364 |
// Make sure the product ID is not NULL either
|
2365 |
global $woocommerce_wpml;
|
2366 |
-
if(!is_null($product_data['
|
2367 |
$product_data['non_geo_wcml_price'] = $woocommerce_wpml->multi_currency->prices->get_product_price_in_currency( $product_data['id'], $project_config['WCML'] );
|
2368 |
}
|
2369 |
|
1717 |
|
1718 |
foreach ($row as $k => $v){
|
1719 |
$pieces = explode ("','", $v);
|
1720 |
+
$pieces = str_replace("'", "", $pieces);
|
1721 |
|
1722 |
foreach ($pieces as $k_inner => $v){
|
1723 |
if ($feed_config['fields'] != 'standard'){
|
2363 |
|
2364 |
// Make sure the product ID is not NULL either
|
2365 |
global $woocommerce_wpml;
|
2366 |
+
if(!is_null($product_data['WCML'])){
|
2367 |
$product_data['non_geo_wcml_price'] = $woocommerce_wpml->multi_currency->prices->get_product_price_in_currency( $product_data['id'], $project_config['WCML'] );
|
2368 |
}
|
2369 |
|
classes/class-update-channel.php
CHANGED
@@ -257,11 +257,11 @@ class WooSEA_Update_Project {
|
|
257 |
} else {
|
258 |
array_push($cron_projects, $project_data);
|
259 |
}
|
260 |
-
update_option( 'cron_projects', $cron_projects, '
|
261 |
} else {
|
262 |
$cron_projects = array (); // Create a new multidimensional array for the cron projects
|
263 |
array_push($cron_projects, $project_data);
|
264 |
-
update_option( 'cron_projects', $cron_projects, '
|
265 |
}
|
266 |
|
267 |
// Clear channel_project option
|
257 |
} else {
|
258 |
array_push($cron_projects, $project_data);
|
259 |
}
|
260 |
+
update_option( 'cron_projects', $cron_projects, 'yes');
|
261 |
} else {
|
262 |
$cron_projects = array (); // Create a new multidimensional array for the cron projects
|
263 |
array_push($cron_projects, $project_data);
|
264 |
+
update_option( 'cron_projects', $cron_projects, 'yes');
|
265 |
}
|
266 |
|
267 |
// Clear channel_project option
|
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.6.
|
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.6.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.6.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -315,6 +315,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
315 |
|
316 |
=== Changelog ===
|
317 |
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
= 8.6.3 (2020-08-28) =
|
319 |
* Product ID's for WCML are being returned as null, take this into account for functions.
|
320 |
|
@@ -2745,6 +2751,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2745 |
|
2746 |
== Upgrade Notice ==
|
2747 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2748 |
= 8.6.3 =
|
2749 |
Product ID's for WCML are being returned as null, take this into account for functions.
|
2750 |
|
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.6.5
|
9 |
|
10 |
== Description ==
|
11 |
|
315 |
|
316 |
=== Changelog ===
|
317 |
|
318 |
+
= 8.6.5 (2020-08-29) =
|
319 |
+
* Minor change to how CSV feeds are being generated, also partly rollback of changes made in version 8.5.6
|
320 |
+
|
321 |
+
= 8.6.4 (2020-08-28) =
|
322 |
+
* Some update_option functions took four arguments whereas it takes only three. This has been fixed now (Thanks @Sudhir)
|
323 |
+
|
324 |
= 8.6.3 (2020-08-28) =
|
325 |
* Product ID's for WCML are being returned as null, take this into account for functions.
|
326 |
|
2751 |
|
2752 |
== Upgrade Notice ==
|
2753 |
|
2754 |
+
= 8.6.5 =
|
2755 |
+
Minor change to how CSV feeds are being generated, also partly rollback of changes made in version 8.5.6
|
2756 |
+
|
2757 |
+
= 8.6.4 =
|
2758 |
+
Some update_option functions took four arguments whereas it takes only three. This has been fixed now (Thanks @Sudhir)
|
2759 |
+
|
2760 |
= 8.6.3 =
|
2761 |
Product ID's for WCML are being returned as null, take this into account for functions.
|
2762 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 8.6.
|
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.6.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -908,7 +908,7 @@ function woosea_ajax() {
|
|
908 |
if (!is_array($attributes_dropdown)){
|
909 |
$attributes_obj = new WooSEA_Attributes;
|
910 |
$attributes_dropdown = $attributes_obj->get_product_attributes_dropdown();
|
911 |
-
update_option( 'attributes_dropdown', $attributes_dropdown, '
|
912 |
}
|
913 |
|
914 |
$data = array (
|
@@ -1012,7 +1012,7 @@ function woosea_add_mass_cat_mapping(){
|
|
1012 |
} else {
|
1013 |
$project_temp['mappings'] = $mappings;
|
1014 |
}
|
1015 |
-
update_option( 'channel_project',$project_temp,'
|
1016 |
} else {
|
1017 |
// Only update the ones that changed
|
1018 |
foreach ($mappings as $categoryId => $catArray){
|
@@ -1057,7 +1057,7 @@ function woosea_add_cat_mapping() {
|
|
1057 |
$project_temp['mappings'][$rowCount]['criteria'] = $criteria;
|
1058 |
$project_temp['mappings'][$rowCount]['map_to_category'] = $map_to_category;
|
1059 |
|
1060 |
-
update_option( 'channel_project',$project_temp,'
|
1061 |
$status_mapping = "true";
|
1062 |
// This is updating an existing product feed
|
1063 |
} else {
|
@@ -2050,7 +2050,7 @@ function woosea_project_copy(){
|
|
2050 |
$new_key = $max_key+1;
|
2051 |
$add_project[$new_key] = $val;
|
2052 |
array_push($feed_config, $add_project[$new_key]);
|
2053 |
-
update_option( 'cron_projects', $feed_config, '
|
2054 |
|
2055 |
// Do not start processing, user wants to make changes to the copied project
|
2056 |
$copy_status = "true";
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 8.6.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.6.5' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
908 |
if (!is_array($attributes_dropdown)){
|
909 |
$attributes_obj = new WooSEA_Attributes;
|
910 |
$attributes_dropdown = $attributes_obj->get_product_attributes_dropdown();
|
911 |
+
update_option( 'attributes_dropdown', $attributes_dropdown, 'yes');
|
912 |
}
|
913 |
|
914 |
$data = array (
|
1012 |
} else {
|
1013 |
$project_temp['mappings'] = $mappings;
|
1014 |
}
|
1015 |
+
update_option( 'channel_project',$project_temp,'yes');
|
1016 |
} else {
|
1017 |
// Only update the ones that changed
|
1018 |
foreach ($mappings as $categoryId => $catArray){
|
1057 |
$project_temp['mappings'][$rowCount]['criteria'] = $criteria;
|
1058 |
$project_temp['mappings'][$rowCount]['map_to_category'] = $map_to_category;
|
1059 |
|
1060 |
+
update_option( 'channel_project',$project_temp,'yes');
|
1061 |
$status_mapping = "true";
|
1062 |
// This is updating an existing product feed
|
1063 |
} else {
|
2050 |
$new_key = $max_key+1;
|
2051 |
$add_project[$new_key] = $val;
|
2052 |
array_push($feed_config, $add_project[$new_key]);
|
2053 |
+
update_option( 'cron_projects', $feed_config, 'yes');
|
2054 |
|
2055 |
// Do not start processing, user wants to make changes to the copied project
|
2056 |
$copy_status = "true";
|