Replace product schema with ImageObject schema (PRO Pre-sales question)

#134261
  • Resolved George
    Rank Math pro

    Hello,

    Our website is selling photos. Therefore, we would like to replace the schema on WooCommerce product pages from “Product” to ImageObject. Is this something we can do with the PRO version of the plugin?

    Thank you.

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

    Thank you for getting in touch with us.

    The schema type you are referring to is known as Image License: https://developers.google.com/search/docs/data-types/image-license-metadata

    This is not automatically generated in Rank math schema types, however it can be easily integrated in the Pro version. All you need is to use a schema generating tool such as this: https://technicalseo.com/tools/schema-markup-generator/ and then import this schema to your posts/pages using Rank math or you can build this with your own properties using Rank math custom schema generator and the guideline from the link I have shared above. Here is a sample screencast: https://i.rankmath.com/LvsRK5

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hey Michael,

    Thank you for your reply and input! I hope you will consider adding this schema markup to your built-in templates – it’d make things so much easier!

    I will definitely upgrade to Pro and try to build the markup myself in the meantime.

    I suppose I can disable the default “Product” markup on product pages, right?

    Thank you so much – I appreciate your time!

    Hello,

    Thank you for following up.

    We appreciate your feedback. There are existing feature requests, so I’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, I’ll be sure to let you know.

    Yes, you can change or disable the product schema in the Free and PRO version. Here’s a sample screencast:
    https://i.rankmath.com/AneWUm

    I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.

    Thank you, I appreciate it!

    Here’s what I did:

    1. From Titles & Meta -> Products -> I set “Schema Type” to None.
    2. I opened a single product and deleted the “Product” schema and replaced it with “Article” just to test it out (on a staging site).

    However, after checking the product page with Google’s structured data tool, the “Product” schema appears to be there still.

    Is there a way to efficiently remove it as I’d like to replace it with ImageObject?

    I don’t mind if this is a PRO-only feature. I’m going to purchase the plugin anyway 🙂

    Hi,

    Sometimes WooCommerce adds product markup to product pages if you have no schema defined. Could you confirm the schema is added by Rank math? You can also share some of the affected URLs so we can check from our end.

    In Rank math schema, as I had explained, you can create custom schema and add it to your pages easily using our Custom schema options in Pro: https://rankmath.com/kb/rich-snippets/#custom-schema-pro

    Hope this helps.

    Hello,

    The schema may be getting added by WooCommerce. Like I said, from Titles & Meta -> Products -> I set “Schema Type” to None.

    So when I’m creating a new product, there’s indeed no schema selected in Rank Math settings. I have to select a schema myself.

    For testing purposes, I selected “Article” schema.

    Sure enough, “Article” schema does show in Google structured data tool but “Product” schema ALSO shows up even though it is not present in RankMath’s settings.

    I would expect that Rank Math would disable this “Product” schema (even if that’s automatically added by WooCommerce) since making this choice here:

    Titles & Meta -> Products -> “Schema Type” -> None.

    I’m attaching a URL of a product I just created on my staging site in the Sensitive Data box.

    Thanks!

    Hello,

    Rank math only has control over Rank math related schema. Before we conclude the schema is actually from WooCommerce, assuming you are using the latest version of all the plugins and the themes (please update if not yet), please confirm it is not from one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please record a video screencast using a tool like Loom showing the troubleshooting and edit the first post on this ticket and include your WordPress & FTP 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:

    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/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Hello and thank you for your reply,

    This is a staging site I’m testing on so I was able to just disable all plugins (including Rank Math) except Astra Pro and WooCommerce. The theme and all plugins are up to date.

    With all plugins and Rank Math itself turned off, I created a new product. Then, I tested with Google’s structured data testing tool. There still was a “Product” schema which means the “Product” markup is likely added by WooCommerce.

    I think there should be an option in Rank Math options to completely disable WooCommerce’s default “product” schema. I take it that’s what you intended to do with this option:

    Titles & Meta -> Products -> “Schema Type” -> None

    I mean, it doesn’t make sense setting the default product page schema to “None” if “Product” schema is added anyway by WooCommerce.

    Setting that option to “None” should disable both Rank Math’s product schema AND WooCommerce’s product schema. Or maybe there should be a different option for the latter.

    I also tested the same on a brand new installation of WordPress + WooCommerce with Rank Math. No other plugins or themes (using Twenty Twenty-One). And this was even on a different server (not that it would matter). In Rank Math settings I set:

    Titles & Meta -> Products -> “Schema Type” -> None

    And yet, new WooCommerce products contain the “Product” schema. So I think it is safe to assume this is added by WooCommerce. And it looks like setting the default product page schema type to “None” in Rank Math settings doesn’t stop this from happening.

    I’ll gladly share logins if you need them but it looks like this is not related to my own setup.

    Hello,

    I tested this on my end and with the product schema set to none in Rank math > Titles & Meta > Products, any new product created has no product schema, here is a screencast: https://i.rankmath.com/ZCKwCB

    Please note that setting the schema to none will only have effect on new products. Any products that had the product schema previously will most probably retain the schema.

    If you wish, you can share the access to your test site so we can figure out why and where the schema is coming from.

    Looking forward to helping you

    Hi Michael,

    I was just going over this with Bhanu. The reason your test was successful was you did not enter a price while creating the product (I was able to reproduce this on my end as well). If you do enter a price, the product schema will be added to new products regardless of the setting to “None” in RankMath settings.

    I believe your team is already working on addressing this.

    Hello,

    Thank you for assisting in replicating this.

    Please give us some time to look into this and we will let you know.

    Your patience in the matter will be much appreciated.

    Thank you

    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.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘Replace product schema with ImageObject schema (PRO Pre-sales question)’ is closed to new replies.