Missing Brand and MPN

#96223
  • Resolved Alexandru Tapardea
    Rank Math free

    “Brand” and MPN doesn’t seem to show in Rich Results Test anymore (I`m 100% sure they used to work).
    For Brand, I’ve created a product attribute called Brand -> Brand Name and I’ve used that in Rank Math -> General -> Woocommerce .
    For MPN, I`m using the following function:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
     global $post;
     $entity['mpn'] = get_post_meta( $post->ID, '_sku', true ); 
     return $entity;
    });

    Did anything change?
    Everything is up to date. PHP 7.4.11 on Nginx.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Michael Davis
    Rank Math pro

    Hello,

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

    The product schema on your page doesn’t seem to be coming from Rank math. It is likely added by another plugin or the theme you are using on your site. To determine that, please follow this troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Hello,

    I have updated the sensitive info with a new link.
    In the second link, the BRAND and MPN appear to be there.

    Both of the schema in both of the links are under an element that has the class “class=”rank-math-schema” .
    It appears as Rank Math does not detect / inject the “@type”: “Product” for that product in the first link.

    Apparently it doesn’t happen for all of the products.
    I will run the troubleshooter in the meantime.

    OK I seem to have fixed it but it’s still a Rank Math bug.

    I edited the product and scrolled down to “Rank Math Schema” box.
    Under -> Schema , “Woocommerce Product” was already selected.
    I’ve clicked “Schema Generator”, scrolled to “Woocommerce product” and clicked “+USE” (even if it was already detected).

    I then saved the product and now the Product schema type seems to be inserted.

    Hey,

    i did exactly the same as you did and it also fixed it for me. Rank Math Team pls fix this as soon as possible…holidays are coming and my rank is decreasing for products.

    Hello,

    We are so sorry for the delay. We are working on this and we should have a fix very soon.

    Thank you.

    Thanks for this update. Happy fixing 🙂 Cant wait.

    Thank you!

    Hello,

    Appreciate your patience.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this ticket.