-
Hi there,
We created a WooCommerce shop with Elementor and Rank Math. Now, for some reason, I see in our Google results that product category pages are ‘enriched’ with a price and “In Stock” notification.
For a product this would be great, but for a category (or even on the shop page – the webshop homepage as set in WooCommerce – this doesn’t make sense in my opinion. So I started investigating, trying to remove the extra added ‘Product’ schema in last part of the page source. In the <head> I see the correct data;
<script type="application/ld+json" class="rank-math-schema">{ "@context": "https://schema.org", "@graph": [ { "@type": "Organization", "@id": "https://www.mavalanederland.nl/#organization", "name": "Mavala Nederland", "url": "https://www.mavalanederland.nl", "logo": { "@type": "ImageObject", "url": "https://www.mavalanederland.nl/wp-content/uploads/2020/04/logo.png" } }, { "@type": "WebSite", "@id": "https://www.mavalanederland.nl/#website", "url": "https://www.mavalanederland.nl", "name": "Mavala Nederland", "publisher": { "@id": "https://www.mavalanederland.nl/#organization" }, "inLanguage": "nl", "potentialAction": { "@type": "SearchAction", "target": "https://www.mavalanederland.nl/?s={search_term_string}", "query-input": "required name=search_term_string" } }, { "@type": "CollectionPage", "@id": "https://www.mavalanederland.nl/product-categorie/nagels/nagellak/#webpage", "url": "https://www.mavalanederland.nl/product-categorie/nagels/nagellak/", "name": "Nagellak - Mavala Nederland", "isPartOf": { "@id": "https://www.mavalanederland.nl/#website" }, "inLanguage": "nl" } ] }</script>
On the end of the source, from line 1642, I see another piece of data:
<script type="application/ld+json">{"@context":"https://schema.org/","@graph":[{"@context":"https://schema.org/","@type":"Product","@id":"https://www.mavalanederland.nl/product/nagellak-122-tadoussac/#product","name":"Nagellak 122 Tadoussac","url":"https://www.mavalanederland.nl/product/nagellak-122-tadoussac/","description":"De nagellak 122 Tadoussac is zuurstof- en vocht doorlatend. Daarnaast houdt Mavala altijd rekening met verzorgende ingrediu00ebnten om de nagels in juiste staat te houden. De producten bevatten geen formaldehyde. Prijs/kwaliteitsverhouding is perfect te noemen. Kleine flacon met een inhoud van 5 ml.","image":"https://www.mavalanederland.nl/wp-content/uploads/2020/09/thumbnail_122-TADOUSSAC.jpg","sku":"MC411","offers":[{"@type":"Offer","price":"5.95","priceValidUntil":"2021-12-31","priceSpecification":{"price":"5.95","priceCurrency":"EUR","valueAddedTaxIncluded":"true"},"priceCurrency":"EUR","availability":"http://schema.org/InStock","url":"https://www.mavalanederland.nl/product/nagellak-122-tadoussac/","seller":{"@type":"Organization","name":"Mavala Nederland","url":"https://www.mavalanederland.nl"}}]},{"@context":"https://schema.org/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"name":"Home","@id":"https://www.mavalanederland.nl"}},{"@type":"ListItem","position":2,"item":{"name":"Nagels","@id":"https://www.mavalanederland.nl/product-categorie/nagels/"}},{"@type":"ListItem","position":3,"item":{"name":"Nagellak","@id":"https://www.mavalanederland.nl/product-categorie/nagels/nagellak/"}}]}]}</script>
Now is my problem that I don’t know where to control this, tried all the options. And how do I get rid of the product schema on a category or shop home?
Please help me out, I’ve tried looking everywhere and didn’t find a solution. Hope you can direct me in the right way.
Many thanks in advance.
Best regards,
Bas
-
Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
Sorry for the issue you are facing.
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it sounds like another plugin (or theme) is adding it, so our recommendation would be following our guide to check which one is adding that other Schema.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/Please let us know if you find the culprit.
Only the site admin would know and your users won’t be affected by this troubleshooting.
Looking forward to helping you.
Hi there,
Thanks for pointing me in the direction of the troubleshooting plugin, didn’t know that mode existed with an extra plugin.
So… I run some tests. I found out that a combination of JetWooBuilder and RankMath creates the extra product schema on category page.
With only Twentytwenty theme, WooCommerce and JetWooBuilder (with elementor/elementor pro to make JWB work), the additional json data is added to the footer of the page.If I have a combination of those plugins without RankMath, there is no schema data at all.
If I have JetWooBuilder without RankMath, there is no schema data at all.
If I have Rankmath without JetWooBuilder, there is correct schema data and breadcrumb schema.
If I have both RankMath and JetWooBuilder active, all of a sudden this product schema.org data is added. Breadcrumb disappeared from the source.I can’t find a logic explanation for it, perhaps you know why or how this is happening with a combination of plugins. If helpful, I can give access to our admin, or make a clone for you. Let me know if you can find the same issue and a solution for it. I have no clue how to solve this.
Thanks for checking this.
Cheers!
Hello,
Have you tried checking with JetWooBuilder team about this?
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.
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:
https://wordpress.org/plugins/temporary-login-without-password/
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):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
That Schema is not printed by Rank Math since you have disabled it from the settings:
Only this Schema is printed by Rank Math:
This is the Schema responsible for the price on your categories and it is not from Rank Math:
Please disable all plugins including Rank Math and then enable each one until you find the plugin or the theme that is adding this Schema.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
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.
The ticket ‘Extra “type=product” on WooCommerce shop-page’ is closed to new replies.