Split: Rich snippet

  • Resolved vi va

    I am using the Schema templates function to create schema product, but the “price” field doesn’t know what to enter? I want it to apply to all of our products.
    please help! Thank you.

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

    Thank you for contacting Rank Math and sorry for the inconvenience caused by this.

    I have split your inquiry into a new ticket.

    You should be able to enter the price in the price field. Are you not able to enter a price?

    Please provide us with more information. You can use tools like http://ibb.co/ to take a screenshot to show us your issues and share them with us here.

    Looking forward to helping you.

    I mean, what do I have to enter “price” so that they can be applied to the entire product, automatically filling in the product’s price without having to manually enter each product


    Are you using WooCommerce to create you products ? If so, all you need is to enable the WooCommerce Product schema for all your Products with which Rank math will automatically get all the schema data from the product settings including Price.

    If you wish to use only the Product schema instead of the WooCommerce schema, you can use the variable %wc_price% which gets the WooCommerce Product price.

    In case you are not using WooCommerce, you may have to create custom variable to get the Price using this filter: https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-variables then use this to assign your price variable to your schema.

    Another work around would be to create an ACF plugin to create custom price fields on your product pages then use the custom field variable to get this field data.

    Let us know if this helps you. Thank you

    Thank you so much.That’s exactly what I need.


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

You must be logged in to reply to this ticket.