Product Brand is not recognized as a brand

  • Hello,

    we have the problem that the products brand in the rich snippets is not listed/recognized as a brand, but is listed under “additionalProperty”. Google Search Console therefore says that the brand entry is missing.

    We use the taxonomy (product attribute) “pa_marke” for the brands.

    Here in the forum I found this functions.php code, but I don’t know how to customize it to dynamically use the right brand. When I use the code in this way, the brand is always RankMath.

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

    Can anyone help us? Thanks!

    • This topic was modified 2 months, 4 weeks ago by  Send.
Viewing 4 replies - 16 through 19 (of 19 total)
  • Sorry, I tried everything, but nothing worked. I can’t get the value to work dynamically.

    Hello,

    Thank you for contacting Rank Math today.

    The code is correct and it is adding the brand value to the HTML on the page, to help in managing your product brands instead of using taxonomies, I would suggest that you make use WooCommerce brands extension: https://docs.woocommerce.com/document/wc-brands/

    I hope this helps. Thank you.

    ​​​​​​

    Whatever should be different now, according to https://search.google.com/structured-data/testing-tool/ it has no effect. There is no brand in the schema.

    Since our theme has an integrated brand function, we don’t need WooCommerce brands extension.

    But if Rank Math can’t bring the brand into the Rich Snippets schema as a brand, then we’ll have to look for another schema plugin.

    Hi Send,

    I am sorry for the inconvenience caused by this issue.

    I would suggest that you turn off the rich snippets module in this case if you would like to seek an alternative schema plugin that is more compatible with your theme.

    Feel free to reach out should any other issues come up.

    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 4 replies - 16 through 19 (of 19 total)

The ticket ‘Product Brand is not recognized as a brand’ is closed to new replies.