Reviews Are Not Accessible
-
For some reason, users can access the reviews tab on a product, but they can’t actually leave a review. Is there something that is set wrong on our products?
Hi,
Could you please test how it works with default WordPress theme? Is it our theme issue?
Thank you
I switched over to WordPress’s 2016 theme and I could still not see the review section.
Attachments:
You must be
logged in to view attached files.
It means that it is a WooCommerce problem or caused by some of the installed plugins. Try to disable them one by one.
I realized that it was a conflict with Disqus, the comment plugin for Blogs that overwrites WordPress’s default commenting system. I found a code that allows the reviews to be shown on products and Disqus on posts. Can you let me know if this will have any conflicts on the site?
add_action('the_post', 'sb_remove_woocommerce_disqus', 10, 2 );
remove_action('pre_comment_on_post', 'dsq_pre_comment_on_post');
function sb_remove_woocommerce_disqus( $post, $query ) {
global $post, $wp_query;
if ($query->is_main_query() && $post->post_type == 'product') {
remove_filter('comments_template', 'dsq_comments_template');
}
}
Hi,
Sorry, but we can’t know how this may conflict with the theme.
Regards