Home Forums Basel support forum Reviews Are Not Accessible

Reviews Are Not Accessible

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13978

    robertarrow
    Participant

    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?

    #13980

    Artem Temos
    Keymaster

    Hi,

    Could you please test how it works with default WordPress theme? Is it our theme issue?

    Thank you

    #13981

    robertarrow
    Participant

    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.
    #13998

    Artem Temos
    Keymaster

    It means that it is a WooCommerce problem or caused by some of the installed plugins. Try to disable them one by one.

    #14065

    robertarrow
    Participant

    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');
    }
    }
    #14068

    Artem Temos
    Keymaster

    Hi,

    Sorry, but we can’t know how this may conflict with the theme.

    Regards

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)