Support » Plugin: Customer Reviews for WooCommerce » Structured Data Errors

  • Resolved kred66

    (@kred66)


    Hi there, we have recently found that our WooCommerce product review rating stars are not showing up in Google searches. Upon further inspection using Google Structured Data Testing Tool, there are 33 reviews on one product page and all 33 reviews have errors. We do use the premium plugin version.

    Can you assist?
    Thanks

    Review
    ID: https://windyhillhemp.com/product/cbd-hemp-oil-capsules-25mg/#comment-27131
    1 ERROR
    5 WARNINGS
    warningbrand
    The brand field is recommended. Please provide a value if available.
    warningdescription
    The description field is recommended. Please provide a value if available.
    warningimage
    The image field is recommended. Please provide a value if available.
    warningsku
    The sku field is recommended. Please provide a value if available.
    warning
    This Product is missing a global identifier (e.g. isbn, mpn or gtin8). Please see documentation for valid identifiers.
    Error
    One of offers or review or aggregate Rating should be provided.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • I’m having same problems. My products are all ok, but errors are in comments – if there are 5 comments then GSC shows 5 errors. It all began after last WordPress update 5.2.4.

    I’m having the same issue as well.

    I updated my Customer Reviews for Woocommerce plugin on October 8th, and first got an email from Google about the error on October 17th. Given the timing, and that other people are now starting to see the same thing (there’s another support request here) I suspect that the update was the cause of the problems.

    ivole, any idea what’s going on here/news of a fix for this?

    Plugin Author cusrev

    (@ivole)

    @kred66: Thanks for using our plugin!

    If you have a pro license, please get in touch with here: https://www.cusrev.com/contact-us.html. We offer dedicated support for owners of pro licenses.

    Plugin Author cusrev

    (@ivole)

    @p2hklipureja @evanderkloot : Thanks for using our plugin!

    Can you please try to temporary activate one of the official WordPress or WooCommerce themes (e.g., https://woocommerce.com/storefront/) and see if this resolves the problem?

    @ivole I think it takes Google quite a while (weeks?) to validate, so that’s not an option at the moment.

    Is there something that I could look for on the page itself to verify so that I could just toggle the WP theme on and then off quickly, checking in the middle to see if that helps?

    Plugin Author cusrev

    (@ivole)

    Please use Google’s Structured Data Testing Tool to test how Google sees your website.

    Thanks @ivole. Just tried that with the storefront theme, and the Structured Data Testing Tool returns the same error and warnings. Not too worried about the errors (brand, description, image, sku, and global identifier) since this is actually a review and not a product, but the error (One of offers or review or aggregateRating should be provided.) is troubling to me.

    Plugin Author cusrev

    (@ivole)

    After additional analysis, it looks like this problem was caused by a recent update of how Google handles structured data for products (see https://support.google.com/webmasters/thread/17156844?hl=en).

    This structured data is generated by the standard WooCommerce code and they will likely fix the error with one of the next updates. For this reason, it does not make sense to solve a problem in the standard WooCommerce code with our plugin.

    As a temporary solution (until WooCommerce releases a new version), you can try adding the following code to your functions.php file:

    function cr_woocommerce_structured_data_review( $markup, $comment ) {
       $markup = array();
    }
    add_filter( 'woocommerce_structured_data_review', 'cr_woocommerce_structured_data_review', 10, 2 );

    These several lines of code should remove Google’s structured data validation errors. A permanent solution should be provided by WooCommerce with one of the next updates.

    I did that, and it did work for the massive amount of errors, but now another is showing:

    Either “offers”, “review”, or “aggregateRating” should be specified and the issue being highlighted is the name of the product being reviewed. @type”:”Product”,”name”

    Any ideas here? This is not resolved as far as I am seeing.

    Plugin Author cusrev

    (@ivole)

    Can you please share URL of the page with the problem?

    Hello
    I have the same problem. One of products

    Plugin Author cusrev

    (@ivole)

    Please update WooCommerce to the latest version. They have resolved the problem with structured data.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Structured Data Errors’ is closed to new replies.