Version Description
Fixed another issue where structured data aggregateRatings were removed for simple products
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 8.2.3 |
Comparing to | |
See all releases |
Code changes from version 8.2.2 to 8.2.3
- readme.txt +7 -1
- woocommerce-sea.php +4 -4
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.2.
|
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.2.2 (2020-05-14) =
|
317 |
* Fixed a namespace error for Google product review feeds
|
318 |
|
@@ -2618,6 +2621,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2618 |
|
2619 |
== Upgrade Notice ==
|
2620 |
|
|
|
|
|
|
|
2621 |
= 8.2.2 =
|
2622 |
Fixed a namespace error for Google product review feeds
|
2623 |
|
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.2.3
|
9 |
|
10 |
== Description ==
|
11 |
|
313 |
|
314 |
=== Changelog ===
|
315 |
|
316 |
+
= 8.2.3 (2020-05-20) =
|
317 |
+
* Fixed another issue where structured data aggregateRatings were removed for simple products
|
318 |
+
|
319 |
= 8.2.2 (2020-05-14) =
|
320 |
* Fixed a namespace error for Google product review feeds
|
321 |
|
2621 |
|
2622 |
== Upgrade Notice ==
|
2623 |
|
2624 |
+
= 8.2.3 =
|
2625 |
+
Fixed another issue where structured data aggregateRatings were removed for simple products
|
2626 |
+
|
2627 |
= 8.2.2 =
|
2628 |
Fixed a namespace error for Google product review feeds
|
2629 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 8.2.
|
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.2.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -1569,7 +1569,7 @@ function woosea_product_fix_structured_data( $product = null ) {
|
|
1569 |
$markup['offers'][0] = woosea_product_delete_meta_price($product);
|
1570 |
|
1571 |
// This only works for WooCommerce 3.6 and higher (wc_review_ratings_enabled function)
|
1572 |
-
if ( ($product->get_rating_count())
|
1573 |
$markup['aggregateRating'] = array(
|
1574 |
'@type' => 'AggregateRating',
|
1575 |
'ratingValue' => $product->get_average_rating(),
|
@@ -1678,7 +1678,7 @@ function woosea_product_fix_structured_data( $product = null ) {
|
|
1678 |
$markup['offers'][0] = woosea_product_delete_meta_price($product);
|
1679 |
|
1680 |
// if(!class_exists('WPSEO_WooCommerce_Schema')){
|
1681 |
-
if ( ($product->get_rating_count())
|
1682 |
|
1683 |
$markup['aggregateRating'] = array(
|
1684 |
'@type' => 'AggregateRating',
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 8.2.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', '8.2.3' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
1569 |
$markup['offers'][0] = woosea_product_delete_meta_price($product);
|
1570 |
|
1571 |
// This only works for WooCommerce 3.6 and higher (wc_review_ratings_enabled function)
|
1572 |
+
if ( ($product->get_rating_count()) OR (function_exists(wc_review_ratings_enabled()))) {
|
1573 |
$markup['aggregateRating'] = array(
|
1574 |
'@type' => 'AggregateRating',
|
1575 |
'ratingValue' => $product->get_average_rating(),
|
1678 |
$markup['offers'][0] = woosea_product_delete_meta_price($product);
|
1679 |
|
1680 |
// if(!class_exists('WPSEO_WooCommerce_Schema')){
|
1681 |
+
if ( ($product->get_rating_count()) OR (function_exists(wc_review_ratings_enabled()))) {
|
1682 |
|
1683 |
$markup['aggregateRating'] = array(
|
1684 |
'@type' => 'AggregateRating',
|