Select Product Brand Taxonomy

#607348
Viewing 1 replies (of 1 total)
  • Hello,

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

    Please note that the Custom option is only available in the PRO version of the Rank Math plugin. As you’re using the Free version of the Rank Math plugin, that’s why you’re not able to this option in Rank Math > General setting > WooCommerce > Brand.

    However, you can use the following filter on your website to add any custom brand name in the Product Schema:

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

    Make sure to replace Rank Math with your brand name.

    Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    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 1 replies (of 1 total)

The ticket ‘Select Product Brand Taxonomy’ is closed to new replies.