Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bainternet

    (@bainternet)

    WooCommerce product pages have reviews and not comments.
    You can add comments using the comments_template function which will display the social comments on product pages.

    I did something for a client which add a product tab with the comments inside it, something like this:

    add_filter( 'woocommerce_product_tabs', 'add_social_comments_tab' );
    function add_social_comments_tab($tabs){
    
    	$tabs[ 'comments' ] = array(
    		'title'    => __( 'Comments' ),
    		'priority' => 25,
    		'callback' => 'get_social_comments'
    	);
    }
    
    function get_social_comments(){
    	global $withcomments;
    	$withcomments = 1;
    	comments_template();
    }

    Also you can use a special discussing and commenting plugin for WooCommerce Products called WooDiscuz. It’s created and designed especially for WooCommerce Products

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inclusion in the WooCommerce system’ is closed to new replies.