• Resolved djwilko12

    (@djwilko12)


    Hello,

    Im validating schema using https://validator.schema.org/ for a product category page, and im getting “BreadcrumbList” schema as the main schema type. Why is that? For a PLP (product category page) the most appropriate schema should be “CollectionPage”. How to achieve this?

    On the other hand, as products are part of the PLP, the schema markup should communicate that the products are part of the PLP (CollectionPage). Eg, CollectionPage > mainEntity > iTemList > Product(s).

    Can you please check this? I want my product category page to output the collection page schema and also nest the corresponding listed products as part of that schema.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @djwilko12

    For a taxonomy index, according to the Yoast SEO schema documentation, the WebPage should transform into a CollectionPage. You can learn more about it here.

    Otherwise, could you provide us with an example URL of your product category page (are you using WooCommerce?) so we can try and check the Yoast SEO schema output as well?

    Thread Starter djwilko12

    (@djwilko12)

    Hi @mikes41720 thanks for your reply.

    I read your documentation, in fact, i knew it… but that collection page works automatically correct (using Yoast) for WordPress blog categories, but im specifically asking about Woocommerce product categories (PLP′s).

    For this purpose (product listing pages) such as product categories, the most suitable schema is CollectioPage schema (same as you did for wordpress blog categories).

    Im here sharing you an example, but is not necessary to do so, because this happens with all the sites i tested using Yoast… so its not site-specific this issue, but rather something i think you should check with your team and provide a global solution.

    To avoid sharing this information publicly, please check the following Drive link: https://docs.google.com/document/d/13zHBffDwYXiyZKQ7B8xU1MWLLmUTAAnqpm_dcNVP4Yc/edit?usp=sharing

    Please help us fix this.

    Thanks

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for providing a concrete example. For a product category page, it should be a CollectionPage type. In the page source and schema validator, CollectionPage is reflected. See here and here.

    Thread Starter djwilko12

    (@djwilko12)

    Thank you @maybellyne for your fast reply!

    Yes, i saw that, but this is under the “breadcrumb” type, why is that? Shouldnt be 2 separated main types of schema (one for breadcrumb and one for collection page)? I think CollectionPage is important enought to be the main type.

    On the other hand, for the collection page, the products for that category should be nested there, right? But the collection page you are now outputting (under breadcrumb) is not generating any ?iTemList > Product(s).

    Could you please check those 2 poi4nts?

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @djwilko12

    It’s likely the kind of ‘rich result’ that the schema.org validator was able to find. However, it doesn’t mean that the ‘CollectionPage’ schema piece isn’t outputting properly. If you check another tool such as the Classy Schema visualization, it’ll paint a picture of all of the schema in a graph and how it is all related.

    Thread Starter djwilko12

    (@djwilko12)

    Hello @mikes41720 @maybellyne Please recheck my previous message. I realized you add CollectionPage, but it is nested under Breadcrumb schema type. So:

    1- Dont you agree CollectionPage should be a main type schema for a product category page (PLP)? Instead of being nested inside Breadcrumb?

    2- I have mentioned the following in all my previous messages but not reply about it… I mean, you are not outupping the items (products) related to the category page (CollectionPage schema). And in your previous message you just said to check on another tool. All the tools shows the same output. You can check for yourself that even if you output the CollectionPage, it is not ouputting (nesting) the products contained in that category. All the products should be part of the schema under the CollectionPage. It should be something like this: ?CollectionPage > mainEntity > iTemList > Product(s).

    Please check with your team.

    Regards

    Thread Starter djwilko12

    (@djwilko12)

    Hello, were you able to check?

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @djwilko12

    Did you consider running the URL through?Classy Schema visualization? This helpful tool visualizes your structured data markup. See screenshot. There are some additional Breadcrumb schema being output, perhaps from your theme, thereby changing the shape of the graph. See screenshot. If you check the page source, Yoast SEO’s output starts on line 36 with <script type="application/ld+json" class="yoast-schema-graph"> while the other output starts on line 683 with <script type="application/ld+json">

    The CollectionPage schema isn’t nested into the Breadcrumb schema. If you check the Breadcrumb schema where the CollectionPage is nested, it’s a Yoast SEO output.

    I hope that clarifies things.

    • This reply was modified 1 year, 7 months ago by Maybellyne.
    Thread Starter djwilko12

    (@djwilko12)

    Hello @maybellyne thanks for your reply!

    1- Would you please use the https://validator.schema.org/? Type the category URL and tell me if you dont see the CollectionPage nested under the breadcrumb?

    2- I also tried the Classy schema visualiztion, and same as happened with the validator.schema.org tool, it shows the CollecionPage nested under breadcrumb. See screenshot: https://pasteboard.co/YOMFyGsW22x9.jpg

    3- Related to the screenshot shared taken from Google′s Rich Results Test tool, you can see both unnamed items are under breacrumbs schema. If you open both, you will see they are 2 items from the breadcrumbs: one for the Homepage, and one for the Collectionpage (the site′s category). If i disable Yoast, both items dissapear… same as the breadcrumb schema. So there you can also see that the collectionpage is under the breadcrumb schema.

    Kindly check this. Thanks!

    Plugin Support Maybellyne

    (@maybellyne)

    Hello @djwilko12

    The Schema validator identifies syntax errors, and the rich result test tool identifies what types of results a page is eligible for, while ClassySchema visualizes and assesses that the graph is cohesive and complete.

    As I mentioned, CollectionPage nested under the Breadcrumb is not an output of the Yoast SEO plugin. You may want to perform a conflict check to know the source or speak with your web developer about it.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘CollectionPage schema for categories’ is closed to new replies.