Problem with Rich Snippet

  • Cause of products, i am facing lots of errors in google webmaster tool. Please suggest and also Support for ACF, when i am trying to turn it on, its not working

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

    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.
    http://i.mythemeshop.com/cIBqH4

    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.

    The ACF plugin is not installed on your site, does this problem affect another website?

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

    Hi i tried pasting the code in fucntion.php. It broke my site.

    Hi there,

    Thanks for getting in touch with us today.

    I have logged in to your site but I cannot identify any issues affecting the working of your site. The code is also working to populate the brand on the product schema as shown below:
    Brand

    Please share more info on the broken functionality so that we can help further.

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

The ticket ‘Problem with Rich Snippet’ is closed to new replies.