-
“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)
Viewing 8 replies - 1 through 8 (of 8 total)
You must be logged in to reply to this ticket.