• Resolved lifeforceinst

    (@lifeforceinst)


    When I login to Google Search console it is reporting 1 error and many warnings on each products structured data. I am using “SEO Framework” as my SEO tool and irrespective of whether this plugin is enabled or disabled the same errors are produced. I also disabled all plugins and themes to validate this as well and the same results occur.

    From reading the Google Product requirements for strucured product data at https://developers.google.com/search/docs/data-types/product
    it would seem as though the structured data produced by WooCommerce does not meet the minimum requirements and hence is causing issues.

    For each product I am seeing the following:::

    Error: Either “offers”, “review”, or “aggregateRating” should be specified
    Warning: Missing field “brand”
    Warning: Missing product ID
    Warning: Missing field “image”
    Warning: Missing field “sku”
    Warning: Missing field “description”
    Warning: Missing field “priceValidUntil”
    Warning: Missing field “aggregateRating”
    Warning: Invalid value type for field “availability”
    Warning: Missing field “review”

    I am Running WordPress 4.9.10, WooCommerce 3.5.7, all status items are green (with the exception of the WordPress version).

    The following script is produced at the end of the pages by WooCommerce, which Google highlights as being deficient.

    
    <script type="application/ld+json">{"@context":"https:\/\/schema.org\/","@graph":[{"@type":"Product","@id":"https:\/\/thelifeforceinstitute.com\/product\/special-bundle-kia0001-kia0005\/#product","name":"BKIA0005 Special Bundle KIA0001-KIA0005","url":"https:\/\/thelifeforceinstitute.com\/product\/special-bundle-kia0001-kia0005\/"},{"@type":"Product","@id":"https:\/\/thelifeforceinstitute.com\/product\/kia0017-recharging-and-retaining-your-energies\/#product","name":"KIA0017 Recharging and Retaining Your Energies","url":"https:\/\/thelifeforceinstitute.com\/product\/kia0017-recharging-and-retaining-your-energies\/"}]}</script>

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Did you implemented the latest version of WC_Structured_Data class as you can see it here:

    https://docs.woocommerce.com/wc-apidocs/source-class-WC_Structured_Data.html#14-469

    clasione

    (@clasione)

    Nico, are lines 14 – 469 being inserted into a current file? If so, which file?

    Stef

    (@serafinnyc)

    That file is not has not changed in years. Not to my recollection.

    @clasione you can find that file in

    WOOCOMMERCE > INCLUDES > SCROLL DOWN A BIT > CLASS-WC-STRUCTURED-DATA.PHP

    clasione

    (@clasione)

    OK. I found the file but I do not understand what the solution is. The file found in the directory of WooCommerce is the same size as the one being referenced here by Nico. What’s being changed here?

    clasione

    (@clasione)

    Thank you @serafinnyc

    Stef

    (@serafinnyc)

    You’re welcome. That file hasn’t changed since I retired. And that’s been awhile. :o)

    Some of these errors are hard to explain. I saw an article awhile back that may be easier for you since I have a hard time translating it. Let me see if I can find it. If you don’t hear back from me I didn’t find it.

    Stef

    (@serafinnyc)

    Ah, so @clasione I remember something about that article. So for instance say you had like OFFER as an error right. That wouldn’t apply because that’s an auction like site. There were some other things that were referenced like that for the other things.

    Not in the case of this post here. Those are not good. Be sure to use this URL when checking for errors so you can better assess things. Google Search Console might throw errors when showing errors as it is still new.

    https://search.google.com/structured-data/testing-tool/u/0/

    Stef

    (@serafinnyc)

    And also here my buddy @johndcoy explains it well.

    clasione

    (@clasione)

    Stef

    (@serafinnyc)

    Those errors are not vital errors per se. They’re just simple warnings. It’s not something that’s going to hurt you in the short or long run.

    1. Your brand is identified as an organization
    2. aggregrateRating is due to reviews not being enabled
    3. review – is obvious. You don’t have them enabled.
    4. GTIN or EAN doesn’t relate to you because your selling a service not a physical product which requires a GTIN

    You have nothing to worry about here really.

    Google just did a crawl on my website 9-8-2019. It is saying I have 126 affected items Missing field “availability”.

    Is there a something I can do without involving my web developer?

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Structured data errors in products reported by Google Search Console’ is closed to new replies.