Version Description
Fixed an issue with Skroutz feeds getting stuck
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 12.0.8 |
Comparing to | |
See all releases |
Code changes from version 12.0.7 to 12.0.8
- classes/class-get-products.php +16 -15
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -4536,23 +4536,24 @@ class WooSEA_Get_Products {
|
|
4536 |
}
|
4537 |
} else {
|
4538 |
// This is a parent variable product
|
4539 |
-
|
4540 |
-
|
4541 |
-
|
|
|
4542 |
|
4543 |
-
|
4544 |
-
|
4545 |
-
|
4546 |
-
|
4547 |
|
4548 |
-
|
4549 |
-
|
4550 |
-
|
4551 |
-
|
4552 |
-
|
4553 |
-
|
4554 |
-
|
4555 |
-
|
4556 |
}
|
4557 |
}
|
4558 |
}
|
4536 |
}
|
4537 |
} else {
|
4538 |
// This is a parent variable product
|
4539 |
+
if($product_data['product_type'] == "variable"){
|
4540 |
+
$product_skroutz = wc_get_product($product_data['id']);
|
4541 |
+
$variations = $product_skroutz->get_available_variations();
|
4542 |
+
$variations_id = wp_list_pluck( $variations, 'variation_id' );
|
4543 |
|
4544 |
+
foreach($variations_id as $var_id){
|
4545 |
+
//$clr_variation = get_post_meta( $var_id, "attribute_".$clr_attribute, true );
|
4546 |
+
$size_variation = get_post_meta( $var_id, "attribute_".$sz_attribute, true );
|
4547 |
+
$stock_variation = get_post_meta( $var_id, "_stock_status", true );
|
4548 |
|
4549 |
+
if($stock_variation == "outofstock"){
|
4550 |
+
// Remove this size as it is not on stock
|
4551 |
+
if(array_key_exists($sz_attribute, $product_data)){
|
4552 |
+
$product_data[$sz_attribute] = str_replace(ucfirst($size_variation),"",$product_data[$sz_attribute]);
|
4553 |
+
$product_data[$sz_attribute] = str_replace(", , ",",",$product_data[$sz_attribute]);
|
4554 |
+
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], " ");
|
4555 |
+
$product_data[$sz_attribute] = rtrim($product_data[$sz_attribute], ",");
|
4556 |
+
}
|
4557 |
}
|
4558 |
}
|
4559 |
}
|
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=12.0.
|
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=12.0.8',
|
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.1
|
8 |
-
Stable tag: 12.0.
|
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 |
= 12.0.7 (2022-12-11) =
|
344 |
* Fixed a shipping costs issue for Idealo feeds where the first product had no shipping costs in the feed
|
345 |
|
@@ -3855,6 +3858,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
3855 |
|
3856 |
== Upgrade Notice ==
|
3857 |
|
|
|
|
|
|
|
3858 |
= 12.0.7 =
|
3859 |
Fixed a shipping costs issue for Idealo feeds where the first product had no shipping costs in the feed
|
3860 |
|
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.1
|
8 |
+
Stable tag: 12.0.8
|
9 |
|
10 |
== Description ==
|
11 |
|
340 |
|
341 |
=== Changelog ===
|
342 |
|
343 |
+
= 12.0.8 (2022-12-13) =
|
344 |
+
* Fixed an issue with Skroutz feeds getting stuck
|
345 |
+
|
346 |
= 12.0.7 (2022-12-11) =
|
347 |
* Fixed a shipping costs issue for Idealo feeds where the first product had no shipping costs in the feed
|
348 |
|
3858 |
|
3859 |
== Upgrade Notice ==
|
3860 |
|
3861 |
+
= 12.0.8 =
|
3862 |
+
Fixed an issue with Skroutz feeds getting stuck
|
3863 |
+
|
3864 |
= 12.0.7 =
|
3865 |
Fixed a shipping costs issue for Idealo feeds where the first product had no shipping costs in the feed
|
3866 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 12.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, 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', '12.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: 12.0.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, 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', '12.0.8' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|