Issues with schema markup

  • Hello,

    I’ve just got a ton of errors showing up in GSC in regards to not having the proper schema markup for each product page on my woocommerce store.

    I ran some of the product page URLs through Googles Structure Data Testing Tool to find some problems.

    Here are the issues that are coming back as missing:
    http://prntscr.com/n0je14

    And here is what GSC is showing:
    http://prntscr.com/n0jfa9

    Does the RankMath plugin support these fields for products?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Blake,

    Thank you for getting in touch.

    1. For adding the Brand value, please use one of these plugins:
    https://wordpress.org/plugins/product-brands-for-woocommerce/
    https://wordpress.org/plugins/woocommerce-brand/

    Or, you can add brand value using filter:

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

    2. priceValidUnti: You can set it inside WooCommerce like this: woocommerce

    3. You can use WC Reviews to show Reviews & aggregateRatings in your product schema.

    If you continue to face any issues after that, please do not hesitate to ask us.

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

You must be logged in to reply to this ticket.