Hello @levantoan
Thank you for your message.
The page on frontend will only show the comments which are approved. So it doesn’t make sense to add the comments data which are still in the review.
We use this code to add review data in the Product schema. User can change it by using the following filter:
https://rankmath.com/kb/filters-hooks-api-developer/#add-brand-name
Hope that helps.
I mean is type, not status
Because in addition to type review. I also added Q&A, example is tcomment, it is not review so it will be wrong when it is displayed outside the schema
Hello @levantoan
It seems like either you are using a 3rd party plugin or some custom code to manage the reviews on the Product post types.
Sorry to disappoint but we do not have a filter for such cases/
You can either use the code we provided to change the entire Schema generated by Rank Math or disable Rank Math’s Schema Markup module.
Hope that helps. Thank you.
Can you update in new version?
Hello @levantoan
We can not as this is not how the Schema is generated in the Rank Math plugin.
Agrregate Ratings are added when we can take the reviews from users/visitors, which is not the case.
Hope that clears the confusion. Thank you.