• Resolved Web Systems

    (@websystems2006)


    Hello

    I am trying to manually edit schema markup data for Woocommerce products, as there is a lot of content in the long/short description and it creates some mess in schema, that caused Google penalty.

    Altought I can’t see the options to manually edit schema data that I saw at your documentation and some YT videos.

    https://www.imageupload.net/image/gcnMO – this is what I have (tested on 2 Woo shops)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Web Systems

    (@websystems2006)

    I can also create ACF fields with schema markup data and use it with rankmath, just not sure if you allow this? If so, any functions/hooks ?

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @websystems2006

    Thank you for contacting the support.

    Please use the following code in your themes’s functions.php file to change the WooCommerce Product Schema Description:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	$entity['description'] = 'Custom Field Content....';
    	return $entity;
    });

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing schema markup settings’ is closed to new replies.