Hello,
Thank you for contacting Rank Math today.
When WooCommerce Product schema is set, Rank math automatically generates the product schema from your WooCommerce product schema. That said, adding WooCommerce Product schema automatically adds the Offers markup if the product has price set in WooCommerce.
If you are using the product schema, this requires adding the schema manually to your products.
You can however remove the assigned post schema using this filter: https://rankmath.com/kb/filters-hooks-api-developer/#remove-schema-data-from-posts then add the product schema using this schema: https://rankmath.com/kb/filters-hooks-api-developer/#extend-json-ld-data
Looking forward to helping you. Thank you.
Well, this is not true for our page I guess. Please see:
https://www.tus.si/izdelki/krompirjevi-kroketi-zito-zamrznjeno-1kg/
In admin I have “Schema: WooCommerce Product” for this product and as you can see, the code does not include offers schema. I would need to change WooCommerce Product into Product and then, as you well said, manually edit it. With about 1300 products, this will be hard to do, so I am looking for bulk solution.
Hello,
The URL you shared seems to have product schema with the offers defined just fine. If you are still facing this issue, assuming you are using the latest version of all the plugins and the themes (please update if not yet), please check for a conflict with 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.
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,
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.