[BUG] WooCommerce Product Category Page Schema Error

  • Hi,

    Product categories page schema markup shows … at the end and not closing }, ].


    • WordPress: 5.3
    • WooCommerce version: 3.8.1
    • PHP version: 7.3.11-1+ubuntu18.04.1+deb.sury.org+1
    • MySQL version: 5.5.5-10.2.27-MariaDB-1:10.2.27+maria~bionic

    How to reproduce
    Using the storefront theme and adding more product descriptions to each product, then display more products on the category page like 24. Make sure that products are in the same category then check the ld+json for that category page, it should have … at the end, if not add more descriptions/products in the same category.

    Don’t know if there is a limit for ld+json, I know that we should optimize product description according to google and limit characters but since I want to migrate to RM and don’t have time right now to update all product descriptions.

    I think that on a category page schema should take the description from category page backend and thumbnail, but also don’t know if this shouldn’t be a Collection Page.

    I don’t think a larger product description should break the schema for your page if there is no limitation from ld+json or search engine.


Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

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

    I am afraid that I cannot reproduce this issue on my end with over 30 products on the same category. Could you please investigate whether this could be as result of some custom code on your theme by performing these steps:

    Looking forward to helping you. Thank you.



    This was a clean install with default theme. Can you add longer product description to each product? Also make sure that listing like 24 or more products at once.

    I just added sample products from woocommerce, then add more description to each product (like 4-5 paragraphs to each), bulk edit and add all to accessories category, duplicate most of them then in theme option select 4 columns and 6 rows (24 products) display on each category page. Visit accessories category page and check generated schema.

    I’ll try tomorrow to confirm if there is plugin conflict since I’m away from computer right now.

    Hope that helps if you’ll have time to try it before I’ll come with response ASAP regarding plugins conflict.


    I can confirm that even using the default theme (Twenty Nineteen) and only RankMath and WooCommerce plugins activated I had the same problem.

    I saw that … are added at the end after 10.000 characters in ld+json output.

    Let me know if you can reproduce this but as a rule of thumb when visit a category page try to create a ld+json output that are bigger then 10.001 characters.


    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:


    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):


    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I’ve let all the options default when I setup RankMath using the WooCommerce storefront theme.

    You can check generated schema for accessories category here: http://rankmathdebug.mariusmateoc.com/product-category/accessories/

    In the end you will find “…”

    Let me know if you need anything.

    Have a nice day,


    Thank you for contacting Rank Math today.

    The JSON-LD data on the page is correct, here is a screenshot of how this looks on my end:

    Looking forward to helping you. Thank you.



    I’m on macOS Mojave and I had tested this in Google Chrome, Opera, Safari and Google Chrome Canary and I get “…” at the end as you can see in the image:

    The only browser that shows me all the code is Firefox and Firefox Developer Edition. It is pretty strange to me.

    On what OS did you test it and on what browser?


    Hi there,

    Thanks for getting back to us.

    I have tested this on a Windows 10 PC using Chrome browser Version 78.0.3904.108 (Official Build) (64-bit).
    Could you please test this on a different computer?

    We are looking forward to helping you. Thank you.

    I have installed Ubuntu 18.04.3 LTS on a virtual machine and the results were the same:

    • Chrome 78.0.3904.108 — Adding “…” and not closing the ]}
    • Opera Latest Version — Adding “…” and not closing the ]}
    • Firefox — Everything OK

    Another Windows 10 PC:

    • Chrome 78.0.3904.108 — Adding “…” and not closing the ]}
    • Edge — Everything OK

    This was strange because on the same OS version and same browser versions we get different results.

    Another laptop with MacOs Mojave:

    • Chrome 78.0.3904.108 — Adding “…” and not closing the ]}
    • Safari — Adding “…” and not closing the ]}

    Don’t know if for crawlers will trim that.

    I’ve tested that page: http://rankmathdebug.mariusmateoc.com/product-category/accessories/ using
    https://search.google.com/structured-data/testing-tool and it seems that he can read all products from the schema.

    Also seeing that result I remembered my other question too. Why not using the products category page as a CollectionPage regarding schema?

    Hope that helps and thanks for fast response,


    Thank you for contacting Rank Math and sorry for the huge delay.
    Unfortunately your last ticket got stuck in our moderation queue and this is why we could not get back to you sooner.

    Since this problem does not manifest on the structured data testing tool it is likely that there is something else weird that might be going on. I am passing this along to our dev team so that they can advise further.

    Looking forward to helping you. Thank you.



    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘[BUG] WooCommerce Product Category Page Schema Error’ is closed to new replies.