• Resolved thedrap

    (@thedrap)


    For some reason now this warning started to show up for the page above (product) and its translation ([ redundant link removed ])

    Nothing changed from my side so I guess it’s Google being Google?

    I have enabled the WPML and RankMath integration too long time ago.

    Looking forward to hearing from you soon.

    • This topic was modified 2 years, 3 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    It looks like this is happening because one of your reviews was submitted without a name. Is your name field in the form set to required?

    If you are not requiring names to be submitted in your review form, then you will probably need to disable the schema option on the Latest Reviews widget/block/shortcode and instead enable it on the Rating Summary widget/block/shortcode.

    The schema generated by the summary will include the AggregateRating, but not the Review snippets.

    Thread Starter thedrap

    (@thedrap)

    Hey,
    I checked all the comments for the flagged product and they all have names.

    I checked the form and email and name are optional so it’s possible still that some customers don’t fill those out.

    Regarding your suggestion I am not sure I understand what to do exactly.

    Do you mean that I should add the schema = “true” parameter to the Summary shortcode setting or that I should use the summary shortcode instead for my product page?

    See config: https://snipboard.io/1L2b0R.jpg

    Will it be easier to make the name/email fields mandatory? If yes, how can I set that up?

    Thanks.

    PS. I have pagination = “false” but still I see the “Load More” button and the same reviews twice but the second time without title. I couldn’t find any way to disable that bad behavior. (see: https://us.mydrap.com/fr/product/grey-cotton-cocktail-napkins-50-units/)

    Plugin Author Gemini Labs

    (@geminilabs)

    1. This review has no name:

    You may want to make sure the name field is required. You can do this in the Site Reviews settings (click the “Forms” tab and tick the name field).

    If you ensure that all reviews have names, then you can keep things as they are.

    2. You have the [site_reviews] shortcode on your page twice. Remove the second one.

    Thread Starter thedrap

    (@thedrap)

    Thank you. Interestingly enough all the fields are mandatory

    https://snipboard.io/iQyDKG.jpg

    It’s just that the form itself doesn’t show which field is mandatory e.g. “with a *”

    And if you look at the reviews they all have names so I don’t know then.

    Regarding 2) I really need to find out why 2 shortcodes are inserted in the page. That said I have a question.. when I have shortcodes configured under the Addons tab (https://snipboard.io/vcUGfC.jpg) will those shortcodes override the ones I have in my product pages? https://snipboard.io/5xApgF.jpg

    Thanks!

    Plugin Author Gemini Labs

    (@geminilabs)

    1) You probably imported a review without a name.

    2) Site Reviews uses both client-side and server-side validation. Client-side means the validation is instant when you click the submit button, or when you change focus from a field that is invalid.

    If displaying an asterisk is important to you, you can either add it to the labels in in the Strings settings page, or do this:

    .glsr-required label > span::after {
      content: '*';
    }

    3) The shortcodes in the WooCommerce Reviews settings are used to replace the built-in review sections on your WooCommerce Product page templates. So remove the shortcodes you added to your product pages.

    Thread Starter thedrap

    (@thedrap)

    Hi there,

    3) Great catch. It seems that the developers of the web were not aware of the integration with woocommerce and the no need of adding a shortcode in each page. Great catch. Now I need to find a quick way of removing it from each page. I guess I will have to do an import.

    1) I checked all the reviews from the reviews page in the backend and there’s no single one without a name. Also, if there was a review without name, can’t the plugin insert a literal like ‘antonymous’ or the like? Google console is complaining about missing field not missing value so I assume that if you bring this up is because when no value the plugin won’t add the field?

    2) The star is not important, it’s just to avoid frustration for users not completing it and getting error messages for missing values. Thanks so much for the CSS

    Thanks and have a super day.

    Plugin Author Gemini Labs

    (@geminilabs)

    I previously showed you the review that doesn’t have a name, Site Reviews visually displays “Anonymous” in those cases on your website, but the review still has an empty name.

    Thread Starter thedrap

    (@thedrap)

    Hi there. I got that. My question is if the plugin displays the ‘anonymous’ literal, why can’t that be filled up in the schema so that Google does not complain about it.

    Can you please confirm that if the value is empty the plugin will not add the field altogether? Because the error is about a missing field and not a missing value.

    Thanks for clarifying and have a great day

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Missing field “name” (in “review.author”)’ is closed to new replies.