EAN INFORMATIONS rich snippet google

#350445
  • Resolved Log Gestion
    Rank Math free

    Dear Sir or Madam,

    After reading your blog post about the EAN GTIN code, I still can’t find an answer.

    Indeed I sell my products in Europe so I have an EAN code but the EAN code is not recognized in the rich snippet test of google?

    So how can I do it?

    I would like the EAN code to BE used and recognized in the schema and for google to recognize it too.

    Thanks in advance for your time and help.

    https://tableau-toile.com/tableau-tortue/

    In this picture google say ”
    https://ibb.co/ZT1gxZM
    rich snippet
    no global identifier (GTIN MANUFACTURER REFERENCE code or ISBN) IS PROVIDED

    But in Europe we use only EAN code so how to make the warning disappear and use the EAN code
    https://ibb.co/y60Q8f0
    ean image
    Thank you in advance for your time and help

    Sincerely

    Florent

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    You need to edit the following filter to fetch the EAN value from the database for each product and update the Schema accordingly:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        return $entity;
    });
    

    Don’t hesitate to get in touch if you have any other questions.

    Log Gestion
    Rank Math free

    Hello, thank you for your answer,

    How and where to include the code please?
    With this modification the EAN code will be recognized as a value in the google rich snippet test?

    Hello,

    This filter needs to be included with one of the options explained here: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Please note that you would need to edit the filter further to fetch the values from the EAN from each product and add them to the Schema markup.

    Don’t hesitate to get in touch if you have any other questions.

    Log Gestion
    Rank Math free

    Why doesn’t Rank math have this option automatically?

    I mean all ecommerce stores in Europe need EAN code, and that this code need to be recognized in google rich snippet test.

    Can you help me to set it up on my store?

    Thank you for your time

    Hello,

    We have this option in the PRO plugin but in the Free version, this needs to be included with the filter we mentioned before.

    Here’s an article on how to add this with the PRO version: https://rankmath.com/kb/gtin-mpn-woocommerce/

    Don’t hesitate to get in touch if you have any other questions.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘EAN INFORMATIONS rich snippet google’ is closed to new replies.