WooCommerce / Pro Review Options

Hey Apex,

I’m currently using X Pro Child Theme with WooCommerce and I’d like to remove the requirement to include your name and email in order to post a review for a product.

I was informed by WooCommerce that the Reviews are through the Wordpress system, not WooCommerce. After that, I went into the “Discussion” tab on Wordpress settings and unchecked the boxes that say: “Users must be registered and logged in to comment” and “Comment author must fill out name and email”.

This still doesn’t work for people who are not logged in. They are still being required to provide a name and email to post a review. I’m wondering if this is some sort of conflict with the X Pro Child Theme. Is there a setting within X Pro that I need to change or possibly a custom coding I need to input?

Thank you very much for your time, I appreciate any help you can offer.

All the Best,

Adam

Hi Adam,

You may use filters to alter the comment form.

eg. Add this in your child theme’s functions.php file

function filter_woocommerce_product_review_comment_form_args( $comment_form ) { 
    $comment_form['fields']= '';
    return $comment_form; 
}; 
         
add_filter( 'woocommerce_product_review_comment_form_args', 'filter_woocommerce_product_review_comment_form_args', 10, 1 );

Make sure you have uncheck this

For more information kindly refer to the link below

http://hookr.io/filters/woocommerce_product_review_comment_form_args/

As this is all custom development, regretfully we wont be able to assist further. Custom development is outside the scope of our support. We are happy to provide advice and get you started in the right direction, but you would still be responsible for the implementation. If you are not comfortable making further changes and if you require more customization on your site, it would be best to get in touch with a developer.

Thank you for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.