No results found. Try again with different words?

Search must be at least 3 characters.

    Adding WooCommerce Review Field Schema Markup

    Docs » General » Adding WooCommerce Review Field Schema Markup

    With Schema Pro, you can add product schema to WooCommerce pages. Along with this, you can also add schema markup for review fields with custom code. This custom code will automatically fetch schema markup for product reviews and add it to the page along with Schema Pro’s product schema.

    What are review fields? Review fields are star ratings and reviews users leave on your WooCommerce product page. This helps other users to understand the experience from people who already bought a product/service. Positive reviews can build the trust factor. Similarly, review filed schema added to the page can improve your search result appearance.

    Note: WoCommerce plugin itself adds schema to all its product pages by default. If you are using Schema Pro to add product schema, it is recommended to disable WooCommerce schema.

    Once you add Schema Pro’s Product schema on WooCommerce product pages, you can fetch schema markup for review fields too.

    Below is the custom code you can use. Copy and add this code to your child theme’s functions.php file.

    add_filter( 'wp_schema_pro_add_woocommerce_review', '__return_true' );
    

    Was this article helpful?

    Did not find a solution? We are here to help you succeed.

    Related Docs

    Scroll to Top