Split: Rich snippet

#136259
  • Resolved vi va
    Rank Math free

    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)
  • Danial
    Rank Math business

    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.

    vi va
    Rank Math free

    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
    Thanks

    Hello,

    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

    vi va
    Rank Math free

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

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

You must be logged in to reply to this ticket.