Version Description
Solved a PHP warning for an undefined variable
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 11.9.4 |
Comparing to | |
See all releases |
Code changes from version 11.9.3 to 11.9.4
- classes/class-get-products.php +24 -22
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -4561,28 +4561,30 @@ class WooSEA_Get_Products {
|
|
4561 |
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], ",");
|
4562 |
$product_data[$sz_attribute] = ltrim($product_data[$sz_attribute], ",");
|
4563 |
|
4564 |
-
|
4565 |
-
|
4566 |
-
|
4567 |
-
|
4568 |
-
|
4569 |
-
|
4570 |
-
|
4571 |
-
|
4572 |
-
|
4573 |
-
|
4574 |
-
|
4575 |
-
|
4576 |
-
|
4577 |
-
|
4578 |
-
|
4579 |
-
|
4580 |
-
|
4581 |
-
|
4582 |
-
|
4583 |
-
|
4584 |
-
|
4585 |
-
|
|
|
|
|
4586 |
}
|
4587 |
}
|
4588 |
}
|
4561 |
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], ",");
|
4562 |
$product_data[$sz_attribute] = ltrim($product_data[$sz_attribute], ",");
|
4563 |
|
4564 |
+
foreach($variations_id as $var_id){
|
4565 |
+
if(isset($sz_attribute)){
|
4566 |
+
$size_variation = get_post_meta( $var_id, "attribute_".$sz_attribute, true );
|
4567 |
+
$product_excluded = ucfirst( get_post_meta( $var_id, '_woosea_exclude_product', true ) );
|
4568 |
+
|
4569 |
+
if( $product_excluded == "Yes"){
|
4570 |
+
// Remove this size as it is has been set to be excluded from feeds
|
4571 |
+
if(array_key_exists($sz_attribute, $product_data)){
|
4572 |
+
$new_size = "";
|
4573 |
+
foreach($enabled_sizes as $siz){
|
4574 |
+
$siz = trim($siz, " ");
|
4575 |
+
$size_variation = trim($size_variation, " ");
|
4576 |
+
if($siz <> strtoupper($size_variation)){
|
4577 |
+
$new_size .= " ".$siz.",";
|
4578 |
+
}
|
4579 |
+
}
|
4580 |
+
$product_data[$sz_attribute] = $new_size;
|
4581 |
+
$product_data[$sz_attribute] = str_replace(", , ",",",$product_data[$sz_attribute]);
|
4582 |
+
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], " ");
|
4583 |
+
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], ",");
|
4584 |
+
$product_data[$sz_attribute] = ltrim($product_data[$sz_attribute], ",");
|
4585 |
+
}
|
4586 |
+
}
|
4587 |
+
}
|
4588 |
}
|
4589 |
}
|
4590 |
}
|
js/woosea_key.js
CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
|
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
-
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.9.
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
+
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.9.4',
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
5 |
Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 6.0
|
8 |
-
Stable tag: 11.9.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -340,6 +340,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
340 |
|
341 |
=== Changelog ===
|
342 |
|
|
|
|
|
|
|
343 |
= 11.9.3 (2022-10-15) =
|
344 |
* Solved a fatal array merge error
|
345 |
|
@@ -3809,6 +3812,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
3809 |
|
3810 |
== Upgrade Notice ==
|
3811 |
|
|
|
|
|
|
|
3812 |
= 11.9.3 =
|
3813 |
Solved a fatal array merge error
|
3814 |
|
5 |
Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 6.0
|
8 |
+
Stable tag: 11.9.4
|
9 |
|
10 |
== Description ==
|
11 |
|
340 |
|
341 |
=== Changelog ===
|
342 |
|
343 |
+
= 11.9.4 (2022-10-19) =
|
344 |
+
* Solved a PHP warning for an undefined variable
|
345 |
+
|
346 |
= 11.9.3 (2022-10-15) =
|
347 |
* Solved a fatal array merge error
|
348 |
|
3812 |
|
3813 |
== Upgrade Notice ==
|
3814 |
|
3815 |
+
= 11.9.4 =
|
3816 |
+
Solved a PHP warning for an undefined variable
|
3817 |
+
|
3818 |
= 11.9.3 =
|
3819 |
Solved a fatal array merge error
|
3820 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 11.9.
|
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, Catalog managers, Remarketing, Bing, Skroutz, 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', '11.9.
|
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: 11.9.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, Catalog managers, Remarketing, Bing, Skroutz, 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', '11.9.4' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|