• Resolved michaelmartin73

    (@michaelmartin73)


    Hello Paul,

    I’ve just added schema to the reviews using the [site_reviews schema=”true”] and it’s all working great except I seem to be getting an error in the SDDT:

    “A value for the image field is required.”

    It’s highlighting line 843 in the source which I believe is this:

    <script type="application/ld+json">[ {
        "@context": "https://schema.org", "@type": "LocalBusiness", "description": "Online Shopping for our Eco Friendly Home Decor Returns Policy | Shipping Policy | Can’t see what you want? Want&hellip;", "name":"Shop", "url":"https://reclaimdesign.org/home-decor-shop", "address":"7 Hillcrest Road, The Vines, Constantia, Cape Town 7806, South Africa", "priceRange":"$ - $$", "telephone":"0027 82 738 7050", "aggregateRating": {
            "@type": "AggregateRating", "ratingValue": 5, "reviewCount": 7, "bestRating": 5, "worstRating": 1
        }
        ,
        "review":[ {
            "@type":"Review",
            "name":"Love these products !",
            "reviewBody":"So cool that everything is reused, thanks for caring about the planet ??",
            "datePublished":"2020-03-01T09:55:47+00:00",
            "author": {
                "@type": "Person", "name": "Anne"
            }
            ,
            "reviewRating": {
                "@type": "Rating", "ratingValue": "5", "bestRating": 5, "worstRating": 1
            }
        }
        ,
        {
            "@type":"Review",
            "name":"Tea box",
            "reviewBody":"Thanks for this. It's a lovely gift to give my friend. Looks great, taste's good too. \r\nLove what you're doing, in a world filling up with rubbish. Well done.",
            "datePublished":"2020-02-29T15:43:10+00:00",
            "author": {
                "@type": "Person", "name": "Martyn"
            }
            ,
            "reviewRating": {
                "@type": "Rating", "ratingValue": "5", "bestRating": 5, "worstRating": 1
            }
        }
        ,
        {
            "@type":"Review",
            "name":"Simple elegant eco design",
            "reviewBody":"I love buying Reclaim Design products and referring others to do so too. Their pricing is good and the quality of the products are excellent. Knowing I’m buying an upcycled product makes me feel like a more conscious ethical consumer! I have a few of their brightly coloured yoghurt fabric pots on my windowsill and on my garden porch.. it really  brightens up my home. I also love their laser etched boxes which I’ve gifted to a few people. Beautiful and inspiring work!",
            "datePublished":"2020-02-29T07:04:32+00:00",
            "author": {
                "@type": "Person", "name": "Roshan Cader"
            }
            ,
            "reviewRating": {
                "@type": "Rating", "ratingValue": "5", "bestRating": 5, "worstRating": 1
            }
        }
        ,
        {
            "@type":"Review",
            "name":"Happy Customer",
            "reviewBody":"Reclaim designs' use of recycled materials to create elegantly crafted,  aesthetically pleasing and functional  home decor products is one to be inspired by. Not only do the beautiful plant pots made from upcycled yoghurt containers add a vibrant splash of beauty to my windowsill, it feels really good to know that my purchase also supports a business with solid environmental concerns and actions. We own a variety of their products purchased over the years. I highly recommend this creative gem of a team, Nikki and Michael .",
            "datePublished":"2020-02-28T21:39:00+00:00",
            "author": {
                "@type": "Person", "name": "Tessa"
            }
            ,
            "reviewRating": {
                "@type": "Rating", "ratingValue": "5", "bestRating": 5, "worstRating": 1
            }
        }
        ,
        {
            "@type":"Review",
            "name":"Coat racks",
            "reviewBody":"I love my coat racks ! Michael and Nikki have made several special things for me! They are amazing!",
            "datePublished":"2020-02-28T21:06:54+00:00",
            "author": {
                "@type": "Person", "name": "Sonja"
            }
            ,
            "reviewRating": {
                "@type": "Rating", "ratingValue": "5", "bestRating": 5, "worstRating": 1
            }
        }
        ]
    }
    
    ]</script>

    I can’t work out what image it is talking about? Is there meant to be an image somewhere for the LocalBusiness type? I’m not sure either if this is perhaps an issue to do with Ecwid (the ecommerce plugin I am using on the page) injecting incorrect schema or something else. Please could you cast your eye over and see if something obvious to you stands out? Many thanks for your assistance.

    https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Freclaimdesign.org%2Fhome-decor-shop

    Michael.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter michaelmartin73

    (@michaelmartin73)

    Not to worry Paul, I think I have worked out what is happening and it points towards the Ecwid plugin incorrectly injecting the schema markup…..

    FYI for the future similar questions: the following warning came from Site Reviews plugin. So, in case if you see the same warning, please, check Site Reviews (if you use it) or the similar plugins.

    Also, michaelmartin73, can you, please, share the details on how did you fix this warning? It might help the other users who faced the same situation.

    Plugin Author Gemini Labs

    (@geminilabs)

    @michaelmartin73 @ecwid_team

    If you use the schema option on the shortcode, there are certain schema properties that are required for the selected schema type to be valid. For the LocalBusiness schema type, one of these is the image property.

    By default, Site Reviews uses the page title for the name property, the page excerpt for the description property, and the featured page image for the image property.

    If your page has no content, then the required description schema property will be empty as no excerpt can be created from it. If your page has no featured image, then the required image schema property will be empty.

    If any of the required schema properties are empty, then the schema will not be used by Google as it will detected as invalid. The Structured Data Testing Tool can tell you if there are any errors in your page schema.

    Site Reviews provides all of the required schema properties for the LocalBusiness and Product schema types.

    @michaelmartin73 If the Structured Data Testing Tool is telling you that the image property is missing, this means that your page does not have a featured image.

    To fix this, you will either need to change the setting to add a custom image:

    Or, if you don’t want to change the global setting, you can use the Custom Fields meta box on the page to add the image to the page using the schema_image meta key as explained on the Settings page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Schema Error’ is closed to new replies.