Problem with Snippet in GSC

Hello there,

Looking into our Google Search Console alerts we noticed all of our products had errors flagged.

It looks like this is related to the “offers” schema not being filled correctly.

Errors are “Missing field “price”” and “Missing field “name”

Both identified around this markup:

    <script id="snippet-json-ld-page-post" type="application/ld+json">{
"@context": "http://schema.org/",
"@type": "Product",
"offers": {
    "@type": "Offer",
    "validFrom": " "
}

}

When analyzing the page, GSC detects two items. I’m not sure this should happen, so looks like it’s telling us the schema markup is duplicated?

Please advise.

All best,
B

Hi @thisisbbc,

I can see the error when check in Google structure test.
Please make sure you setup the price on Product Snippet settings:

Hello Lely,

Thanks for the reply and for pointing out this section, I did not even see it.

Is there no way to have those filled automatically from the WC product name, the product attribute “brand”, the featured image, the default WooCommerce store currency, the product price, etc.?

Filling those field twice isn’t ideal in term of UX, is there a way to configure Snippet so that it pulls this data from existing WooCommerce fields? We have hundreds of products and most of the data for those field is already there so hope we can find a solution other than adding this manually product by product.

Thank you!

Hey @thisisbbc,

At the moment, you will have to fill it up manually. The Snippet extension does not have the functionality to automatically fill in the fields. We certainly appreciate your feedback! This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.