SCHEMA Errors on all fields

#35344
Viewing 15 replies - 1 through 15 (of 15 total)
  • Todd
    Rank Math free

    Hi Alessandro,

    Thanks for getting in touch with us.

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
    https://i.rankmath.com/Ni50EF

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

    You can fix the SKU and availability issue quickly as well: https://i.rankmath.com/wtM5aM

    To fix the brand warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s brands.
    https://i.rankmath.com/Atiq6s

    If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:
    https://pastebin.com/Uc2wmTSL

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

    Hope that helps and please do not hesitate to let me know if you need our assistance with anything else.

    Hi,
    still I have something:
    – if have reviews in one part shows that is ok, in. one part shows that is missing
    – EAN is filled in variation level but still say is missing

    https://search.google.com/structured-data/testing-tool/u/0/?hl=pt-BR#url=https%3A%2F%2Fyogateria.com.br%2Ftapete-de-yoga%2Fasana%2F

    Can you please check it?
    Thank you

    Hello,

    Thank you for contacting Rank Math today.

    This is caused by the presence of the isSimilarTo attribute on the product schema and this is not supported in the old structured testing tool.

    I have tested on the new rich snippet test tool https://search.google.com/test/rich-results?id=xmaOljgKZTv4re01zbCHZw and it only shows only 10 warnings and no error.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi,
    1) why this aggregaterating is missing? Judge.me says that depends on rank math
    2) why im missing review if i have for this products?
    3) why im missing gtin if i have for this products?
    https://prnt.sc/rc7ukc

    Why im missing this fields if all are proper set?
    Brand (I HAVE)
    Image (I have)
    Offers (I dont have)
    Reviews (I have)
    Description (I HAVE)
    SKU (I have)
    GTIN (I have)
    https://prnt.sc/rc7vlq

    Thank you

    Hello,

    Here are the answers to your queries:

    1 & 2. The Rank Math plugin reads the value from the reviews and ratings which users give using the comment form on the product pages. If a user has added any reviews then it will show in the Schema Markup. On your site, I see you are using Judge.me plugin which adds aggregateRating. To connect Rank Math schema with Judge.me, please add following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        global $post;
        $entity['@id'] = get_the_permalink( $post );
        return $entity;
    });
    

    3. For gtin, Rank Math reads the value from the product attributes. Have you added gtin attribute on your products page?

    4. All the other brand, image, etc errors are not generated from the Rank Math schema. The schema data which you see in the ld+json tag in the page source is the only schema that Rank Math generates. You can try checking the code from the ld+json tag in the Rich Snippet testing tool. Maybe it’s generated by the Judge.me and adding the code I provided above could fix the issue.

    I hope that helps.

    • This reply was modified 4 years, 8 months ago by Pratik.

    3. For gtin, Rank Math reads the value from the product attributes. Have you added gtin attribute in your products page?
    I have EAN, works the same?

    Todd
    Rank Math free

    Hi Alessandro,

    In your earlier post, you mentioned that you already have GTIN.

    EAN is not the same as GTIN.

    Ok,
    why still get this: https://prnt.sc/rd365c
    Thank you for answering

    hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Todd
    Rank Math free

    Hi,

    Are you using the latest version of Rank Math? If not, please update.

    All the warnings are for isRelatedTo products which is a false positive. We have fixed this a few months ago.
    https://search.google.com/structured-data/testing-tool/u/0/#url=http%3A%2F%2Fwww.yogateria.com.br%2Ftapete-de-yoga%2Fasana

    The logins you provided are not working as the login page doesn’t show up.

    Please share the URL where we can login.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    HI Alessandro,

    Thanks for the follow up.

    I have replaced your previous code with the following to remove the isRelatedTo product attribute:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	global $post;
    	$entity['@id'] = get_the_permalink( $post );
    
    	if ( isset( $entity['isRelatedTo'] ) ) {
    		unset( $entity['isRelatedTo'] );
    	}
    	if ( isset( $entity['isSimilarTo'] ) ) {
    		unset( $entity['isSimilarTo'] );
    	}
    	return $entity;
    });

    Judge.me however seems to be still adding extra schema on the page. Could you please get in touch with the developers from Judge.me about this?

    Let us know how this goes. Thank you.

    Hi
    problem is this: https://prnt.sc/rd365c

    how to fix?

    Todd
    Rank Math free

    Hi,

    Please allow GSC some time to crawl your page again and see the updated code.

    Also, worth noting is to clear your website cache.

    I do not see those warnings on your page anymore:
    https://search.google.com/structured-data/testing-tool/u/0/#url=http%3A%2F%2Fwww.yogateria.com.br%2Ftapete-de-yoga%2Fasana

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘SCHEMA Errors on all fields’ is closed to new replies.