Product Schema

#881079
  • Resolved Tye Gehring
    Rank Math free

    We run a real estate site (timeshare resales).

    I currently have each listing schema set to product, but I am getting the error:
    Either “offers”, “review”, or “aggregateRating” should be specified

    I am trying to use a CPT meta field “price-per-point” to enter into the price field, but it doesn’t seem to like that.

    Can I use meta fields in these fields?

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

    We apologize for the issue you are facing with the Product Schema on your real estate site. The error message you are encountering indicates that Google expects certain fields to be specified in your Schema markup, specifically either "offers", "review", or "aggregateRating".

    Regarding your question about using a custom post type (CPT) meta field like "price-per-point" for the price field in the Product Schema, it is important to note that Rank Math typically requires specific fields to be filled out directly in the product settings rather than through custom meta fields.

    To resolve the warning:

    1. Ensure that you have the Price and Currency fields filled out correctly in the Rank Math settings for your listings. This is crucial for the "offers" field to be recognized by Google.
    2. If you want to use a custom field, you may need to manually input the price into the Rank Math settings or consider using a filter or hook to programmatically set the price if you’re comfortable with coding.

    For more detailed guidance on configuring Product Schema, you can refer to our documentation on WooCommerce Product Schema.

    If you have further questions or need assistance with this, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    I do not use woo commerce. It’s just a CPT, and the “price-per-point” meta field would be the price. We have listings coming in and out every day, so manually entering it would seem to be more work than it’s worth.

    I will look through this documentation and see if anything sticks out.

    Hello,

    If you’re using custom fields like ACF, you can fetch it by using the %customfield(field-name)% variable in the schema.

    If not, then you may need to register a new variable to fetch the custom field value and use it in the properties in the schema builder:
    https://rankmath.com/kb/variables-in-seo-title-description/#how-to-add-custom-variables

    Looking forward to helping you.

    I will try this method. We are using jet engine.

    Hello,

    Sure, let us know how this goes.

    Meanwhile, if you have any other concerns, please don’t hesitate to contact us anytime so we can assist you further.

    Looking forward to helping you.

    The %customfield(#####)% worked like a charm.
    Thank you so much!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Product Schema’ is closed to new replies.