problem ” alerts ” google search console products

#72668
  • Resolved Sergio
    Rank Math free

    Hi everyone, on the search console I am given the following ” warnings ” on products, I would like to resolve these warnings without the help of plugins (if possible), having rank math in use, is it possible to resolve with the latter?

    I did some tests with the verification of structural data through the google program and I saw that not all products present the problem, if someone can help me I would be happy

    I’m available for other information

    https://www.dropbox.com/s/8u0nd0wne6c940z/kk.jpg?dl=0

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

    Thank you for getting in touch with us.

    Do you have any products on your site?

    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.

    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 easily as well:

    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.

    Brand Value

    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:

    // Add Brand for Products.
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    $entity['brand'] = 'Rank Math;
    return $entity;
    });

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

    For the GTIN, ISBN, MPN issue, you can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/

    For the priceValidUntil warning, you have to either ignore that or add a sale price with validity to get rid of it: https://i.rankmath.com/cMqAAH

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

    Sergio
    Rank Math free

    Thanks so much! your answer is really useful to solve my problem

    I have to ask you for information:

    1. the code to put on functions.php can I put it in any point? (at the beginning or at the end?)

    2. I have seen the brand on general setting rank math -> woocomerce -> brand and it is set on: none, if I use the code to put on funcions.php can I leave it like this?

    3. Does the following code change all the names produced as brands? (I’m mainly interested in this)

    for the rest I understand how to solve 🙂 thank you very much

    Sergio
    Rank Math free

    Dear Micheal I tried to add the code on the functions.php

    but it gives me the following error

    How is it possible?

    https://www.dropbox.com/s/0n6vsabto4p5htx/ddde.JPG?dl=0

    • This reply was modified 4 years, 5 months ago by Sergio.
    Sergio
    Rank Math free

    I also specify that I want to use a single brand for all my products and that are displayed on the snippet

    Hello,

    Thank you for the follow up.

    1. In your case, please add it before the theme class is called. At the end of the functions.
    2. If you wish to use a custom brand, you can leave the Brand setting in Rank math as none.
    3. The Brand filter provides your products with a custom brand name in the brand field.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Sergio
    Rank Math free

    hello micheal, thank you, forgive me in point 1. I did not understand where to position it, I am not very familiar with it

    Hello,

    We are glad we could help you.

    Is the issue now resolved?

    If you have any further question(s), please let us know. Thank you.

    Sergio
    Rank Math free

    hello michael, unfortunately no, I have not solved, the code to put on functions.php does not work, I don’t know where to put it

    Hello,

    It would be better if you choose the appropriate settings for selection of brands in WordPress Dashboard > Rank Math > General Settings > WooCommerce:

    We recommend using code only to the users who are familiar with coding. That code goes to your theme’s functions.php file if you are feeling adventurous 🙂

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

    Sergio
    Rank Math free

    hello Uzair, thank you very much for the reply but rank math is already set like this (woocommerce-> brand-> none)

    as shown on the following screen I entered the code on funtions.php but it gives me the following error:

    https://www.dropbox.com/s/0n6vsabto4p5htx/ddde.JPG?dl=0

    where should I put it specifically?

    Hello,

    Could you try adding it before new OCEANWP_Theme_Class. If that doesn’t work, 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,

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

The ticket ‘problem ” alerts ” google search console products’ is closed to new replies.