Product snippets and merchant listing – rich snippets

This topic has 2 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler

  • Avatar: Farcela
    Farcela
    Participant
    February 3, 2023 at 13:10

    Hi,

    I was wonderign how to add extra rich snippets to Product snippets and merchant listing (for Google Search Console).

    For example:
    I dont have “ItemCondition”. I want to add “ItemCondition” (http://schema.org/NewCondition) “New” to my current list: https://prnt.sc/SdYIRxcU8d8y

    Are these rich snippets generated from a php file of wordpress or from your theme? And where can I add the new rich snippets codes (functions.php)?

    Regards

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 3, 2023 at 15:16

    Hello, Farcela

    All these “snippets” are generated by Woocommerce so it is better to contact them with such questions.
    Also, if you have some PHP skills you may analyze by your own next file of WooCommerce -> plugins/woocommerce/includes/class-wc-structured-data.php
    It contains all schema org elements for different cases. There you may also find actions and filters which could be used/modified from child-theme/functions.php

    Best Regards,
    8Themes Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.