Version Description
Added query logging as some users reported duplicate products in their feed
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.0.3 |
Comparing to | |
See all releases |
Code changes from version 7.0.2 to 7.0.3
- classes/class-get-products.php +18 -11
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +2 -2
classes/class-get-products.php
CHANGED
@@ -1743,8 +1743,6 @@ class WooSEA_Get_Products {
|
|
1743 |
'posts_per_page' => $offset_step_size,
|
1744 |
'offset' => $nr_products_processed,
|
1745 |
'post_type' => $post_type,
|
1746 |
-
'orderby' => 'menu_order',
|
1747 |
-
'order' => $orderby,
|
1748 |
'post_status' => 'publish',
|
1749 |
'fields' => 'ids',
|
1750 |
'no_found_rows' => true,
|
@@ -1752,6 +1750,15 @@ class WooSEA_Get_Products {
|
|
1752 |
$prods = new WP_Query($wp_query);
|
1753 |
$shipping_zones = $this->woosea_get_shipping_zones();
|
1754 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1755 |
while ($prods->have_posts()) : $prods->the_post();
|
1756 |
global $product;
|
1757 |
$attr_line = "";
|
@@ -2153,15 +2160,15 @@ class WooSEA_Get_Products {
|
|
2153 |
}
|
2154 |
|
2155 |
// Log some information to the WooCommerce logs
|
2156 |
-
$add_woosea_logging = get_option ('add_woosea_logging');
|
2157 |
-
if($add_woosea_logging == "yes"){
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
}
|
2165 |
|
2166 |
// Override price when bundled product
|
2167 |
if($product->get_type() == "bundle"){
|
1743 |
'posts_per_page' => $offset_step_size,
|
1744 |
'offset' => $nr_products_processed,
|
1745 |
'post_type' => $post_type,
|
|
|
|
|
1746 |
'post_status' => 'publish',
|
1747 |
'fields' => 'ids',
|
1748 |
'no_found_rows' => true,
|
1750 |
$prods = new WP_Query($wp_query);
|
1751 |
$shipping_zones = $this->woosea_get_shipping_zones();
|
1752 |
|
1753 |
+
// Log some information to the WooCommerce logs
|
1754 |
+
$add_woosea_logging = get_option ('add_woosea_logging');
|
1755 |
+
if($add_woosea_logging == "yes"){
|
1756 |
+
$logger = new WC_Logger();
|
1757 |
+
$logger->add('Product Feed Pro by AdTribes.io','<!-- Start new QUERY -->');
|
1758 |
+
$logger->add('Product Feed Pro by AdTribes.io',print_r($wp_query, TRUE));
|
1759 |
+
$logger->add('Product Feed Pro by AdTribes.io','<!-- START new QUERY -->');
|
1760 |
+
}
|
1761 |
+
|
1762 |
while ($prods->have_posts()) : $prods->the_post();
|
1763 |
global $product;
|
1764 |
$attr_line = "";
|
2160 |
}
|
2161 |
|
2162 |
// Log some information to the WooCommerce logs
|
2163 |
+
// $add_woosea_logging = get_option ('add_woosea_logging');
|
2164 |
+
// if($add_woosea_logging == "yes"){
|
2165 |
+
// $logger = new WC_Logger();
|
2166 |
+
// $logger->add('Product Feed Pro by AdTribes.io','<!-- Start processing new product -->');
|
2167 |
+
// $logger->add('Product Feed Pro by AdTribes.io',$product_data['id']);
|
2168 |
+
// $logger->add('Product Feed Pro by AdTribes.io',$product_data['title']);
|
2169 |
+
// $logger->add('Product Feed Pro by AdTribes.io',$product->get_type());
|
2170 |
+
// $logger->add('Product Feed Pro by AdTribes.io','<!-- End processing product -->');
|
2171 |
+
//}
|
2172 |
|
2173 |
// Override price when bundled product
|
2174 |
if($product->get_type() == "bundle"){
|
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.0.
|
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.0.3',
|
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.0.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -301,6 +301,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
301 |
|
302 |
=== Changelog ===
|
303 |
|
|
|
|
|
|
|
304 |
= 7.0.2 (2019-12-05) =
|
305 |
* Solved a bug: when all product feed had a stopped status the manual refresh of product feeds did not start. This has been fixed.
|
306 |
* Latest update of WPML / WCML caused manually entered currencies not to show in feeds anymore. Made our plugin compatible again.
|
@@ -2215,6 +2218,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2215 |
|
2216 |
== Upgrade Notice ==
|
2217 |
|
|
|
|
|
|
|
2218 |
= 7.0.2 =
|
2219 |
Solved a bug: when all product feed had a stopped status the manual refresh of product feeds did not start. This has been fixed.
|
2220 |
Latest update of WPML / WCML caused manually entered currencies not to show in feeds anymore. Made our plugin compatible again.
|
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.0.3
|
9 |
|
10 |
== Description ==
|
11 |
|
301 |
|
302 |
=== Changelog ===
|
303 |
|
304 |
+
= 7.0.3 (2019-12-10) =
|
305 |
+
* Added query logging as some users reported duplicate products in their feed
|
306 |
+
|
307 |
= 7.0.2 (2019-12-05) =
|
308 |
* Solved a bug: when all product feed had a stopped status the manual refresh of product feeds did not start. This has been fixed.
|
309 |
* Latest update of WPML / WCML caused manually entered currencies not to show in feeds anymore. Made our plugin compatible again.
|
2218 |
|
2219 |
== Upgrade Notice ==
|
2220 |
|
2221 |
+
= 7.0.3 =
|
2222 |
+
Added query logging as some users reported duplicate products in their feed
|
2223 |
+
|
2224 |
= 7.0.2 =
|
2225 |
Solved a bug: when all product feed had a stopped status the manual refresh of product feeds did not start. This has been fixed.
|
2226 |
Latest update of WPML / WCML caused manually entered currencies not to show in feeds anymore. Made our plugin compatible again.
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.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', '7.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: 7.0.3
|
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.0.3' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|