Version Description
Added support for Advanced Custom Fields (ACF) that return array values such as checkboxes
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 8.1.0 |
Comparing to | |
See all releases |
Code changes from version 8.0.9 to 8.1.0
- classes/class-get-products.php +33 -24
- readme.txt +7 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -3359,33 +3359,42 @@ class WooSEA_Get_Products {
|
|
3359 |
|
3360 |
$xml_product[$attr_value['attribute']] = "$review_str";
|
3361 |
} else {
|
3362 |
-
$
|
3363 |
-
|
3364 |
-
|
|
|
3365 |
|
3366 |
-
|
3367 |
-
|
3368 |
-
|
3369 |
-
|
3370 |
-
|
3371 |
-
|
3372 |
-
|
3373 |
-
|
3374 |
-
|
3375 |
-
|
3376 |
-
|
3377 |
-
|
3378 |
-
|
3379 |
-
|
|
|
3380 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3381 |
}
|
3382 |
-
|
3383 |
-
|
3384 |
-
|
3385 |
-
$shipping_str = ltrim($shipping_str, ":");
|
3386 |
-
$shipping_str = str_replace("||:", "||", $shipping_str);
|
3387 |
-
|
3388 |
-
$xml_product[$attr_value['attribute']] = "$shipping_str";
|
3389 |
}
|
3390 |
} else {
|
3391 |
if(array_key_exists($attr_value['attribute'], $xml_product)){
|
3359 |
|
3360 |
$xml_product[$attr_value['attribute']] = "$review_str";
|
3361 |
} else {
|
3362 |
+
if($attr_value['mapfrom'] == "shipping"){
|
3363 |
+
$shipping_str = "";
|
3364 |
+
foreach ($product_data[$attr_value['mapfrom']] as $key => $value){
|
3365 |
+
$shipping_str .= "||";
|
3366 |
|
3367 |
+
foreach($value as $k => $v){
|
3368 |
+
|
3369 |
+
if($k == "country"){
|
3370 |
+
$shipping_str .= ":WOOSEA_COUNTRY##$v";
|
3371 |
+
} elseif ($k == "region"){
|
3372 |
+
$shipping_str .= ":WOOSEA_REGION##$v";
|
3373 |
+
} elseif ($k == "service"){
|
3374 |
+
$shipping_str .= ":WOOSEA_SERVICE##$v";
|
3375 |
+
} elseif ($k == "postal_code"){
|
3376 |
+
$shipping_str .= ":WOOSEA_POSTAL_CODE##$v";
|
3377 |
+
} elseif ($k == "price"){
|
3378 |
+
$shipping_str .= ":WOOSEA_PRICE##$attr_value[prefix] $v $attr_value[suffix]";
|
3379 |
+
} else {
|
3380 |
+
// UNKNOWN, DO NOT ADD
|
3381 |
+
}
|
3382 |
}
|
3383 |
+
}
|
3384 |
+
$shipping_str = ltrim($shipping_str, "||");
|
3385 |
+
$shipping_str = rtrim($shipping_str, ":");
|
3386 |
+
$shipping_str = ltrim($shipping_str, ":");
|
3387 |
+
$shipping_str = str_replace("||:", "||", $shipping_str);
|
3388 |
+
$xml_product[$attr_value['attribute']] = "$shipping_str";
|
3389 |
+
} else {
|
3390 |
+
// Array is returned and add to feed
|
3391 |
+
$arr_return = "";
|
3392 |
+
foreach($product_data[$attr_value['mapfrom']] as $key => $value){
|
3393 |
+
$arr_return .= $value.',';
|
3394 |
}
|
3395 |
+
$arr_return = rtrim($arr_return,",");
|
3396 |
+
$xml_product[$attr_value['attribute']] = $arr_return;
|
3397 |
+
}
|
|
|
|
|
|
|
|
|
3398 |
}
|
3399 |
} else {
|
3400 |
if(array_key_exists($attr_value['attribute'], $xml_product)){
|
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.0
|
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.0.9 (2020-04-26) =
|
317 |
* Added the sysyem sale price attribute
|
318 |
|
@@ -2577,6 +2580,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2577 |
|
2578 |
== Upgrade Notice ==
|
2579 |
|
|
|
|
|
|
|
2580 |
= 8.0.9 =
|
2581 |
Added the sysyem sale price attribute
|
2582 |
|
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.0
|
9 |
|
10 |
== Description ==
|
11 |
|
313 |
|
314 |
=== Changelog ===
|
315 |
|
316 |
+
= 8.1.0 (2020-04-27) =
|
317 |
+
* Added support for Advanced Custom Fields (ACF) that return array values such as checkboxes
|
318 |
+
|
319 |
= 8.0.9 (2020-04-26) =
|
320 |
* Added the sysyem sale price attribute
|
321 |
|
2580 |
|
2581 |
== Upgrade Notice ==
|
2582 |
|
2583 |
+
= 8.1.0 =
|
2584 |
+
Added support for Advanced Custom Fields (ACF) that return array values such as checkboxes
|
2585 |
+
|
2586 |
= 8.0.9 =
|
2587 |
Added the sysyem sale price attribute
|
2588 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 8.0
|
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.0
|
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.0
|
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.0' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|