Hi
I just started using Woo-commerce on my site. Added one product for testing purpose but there is an issue.
http://top10wala.in/product/apple-iphone-6-specification-features-comparison/
When I click on review, it shows nothing instead of review option.
I have enabled comments in my wordpress setting.
I have enabled review by anyone in woocommerce setting
On my add product page as well, Review check box is slected.
Please look into the issue and tell me what is the issue.
Hi
I’ve tested the product review with the theme and work fine on my side: http://screencast.com/t/8qfOhYUPdV Try to deactivate the plugins, leave just Visual Composer and Woocommerce active, clear the cache and test again.
Let me know how it goes!
Thanks!
-
This reply was modified 10 years by
Andrei L..
add to public_html/wp-content/themes/Newsmag/functions.php
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’);
}
}
-
This reply was modified 10 years by
kaczy29.
amendment !
add_action('the_post', 'sb_remove_woocommerce_disqus');
remove_action('pre_comment_on_post', 'dsq_pre_comment_on_post');
function sb_remove_woocommerce_disqus() {
global $post, $wp_query;
if (get_post_type() == 'product') {
remove_filter('comments_template', 'dsq_comments_template');
}
}
