Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1010608

    normally reviw is down of the detailed page. but it is hard to look it up by customer. so I want to creat new review tab in every product page. could you help me to do that? thanks.

    #1010613

    Hey ngavy,

    I haven’t tested it but this post: https://teamtreehouse.com/community/woocommerce-reviews-move-out-of-tabs-and-to-bottom-of-the-product-page suggests following code to move the reviews to the product description:

    
    
    add_filter( 'woocommerce_product_tabs', 'avia_woo_remove_product_tabs', 98 );
    function avia_woo_remove_product_tabs( $tabs ) {
        unset( $tabs['reviews'] );  // Removes the reviews tab
        return $tabs;
    }
    
    add_action( 'woocommerce_after_single_product_summary', 'comments_template', 50 );
    

    Best regards,
    Peter

    #1014763

    which file should i change? which file should I edit with your answer?

    #1014780

    I put this function.php. but it didn’t work out. it shows the wrong place. the review appeared in the related product place. so I deleted the lines you gave me.
    Now. this only one product is right. but other products not showing the review. could you teach me how to make all products have the review in the review tab next to the description tab?

    right page : http://ngavy.com/product/colombia-dripbag/
    wrong page : http://ngavy.com/product/ethiopia-dripbag/

    and all product pages

    • This reply was modified 6 years, 2 months ago by ngavy.
    #1015142

    Hi,

    To be honest I don’t understand the issue – both product pages http://ngavy.com/product/colombia-dripbag/ and http://ngavy.com/product/ethiopia-dripbag/ look similiar to me. There’re three tabs on both pages in the same order. The headlines are 설명, 배송정보 and 상품평 (probably the reviews tab because it shows the reviews and the number of reviews next to the headline). So I’m not sure why the one page is “right” and the other “wrong”. Maybe it’s a browser cache issue and you see a different version of the page(s)?

    Best regards,
    Peter

    #1015307

    Yes. It has solved by clicking activate reviews in each product. so now it is clear. thanks for your help.!

    But I have two more question. I want to remove profile picture in front of Name in reviews.

    also, we want to make review’s order (the latest review top of it)

    please check it out.

    thanks.

    #1015328

    Hi,

    1) WooCommerce reviews use the WordPress comment system to hook into WP. This means that the WooCommerce reviews will (by default) display in the same order that WordPress comments display. And this is something that can easily be configured via your WordPress settings, at the following location:

    WP Admin > Settings > Discussion

    Here there is a line which reads “Comments should be displayed with the [Older] comments at the top of each page” – change the [Older] to [Newer] and hit “Save Changes” at the bottom of this settings page and you’ll have just reversed the order of your comments.

    2) You can hide the avatars with following code:

    
    #top div #reviews #comments ol.commentlist li .avatar {
        display: none;
    }
    

    Best regards,
    Peter

    #1015577

    I understood all you said. and now clearly solved. but something came up here.

    see this pic : https://drive.google.com/open?id=175DuGvk3T-OP-wA-Vnp77QB-7xvq2qaP

    it shows reviews but to see the older one I need to click to next page no. but the order of nest page no goes next line and next line. it is abnormal.

    could you tell me how to fix it?

    thanks. always dear!

    #1015658

    Hi,

    I added this code to the quick css field to fix the style

    
    
    #top .woocommerce-pagination .page-numbers li, #top  .woocommerce-pagination .page-numbers li a, #top  .woocommerce-pagination .page-numbers li span{
    display: inline;
    width: auto;
    margin-right: 10px;
    font-size: 18px;
    }
    

    Best regards,
    Peter

    #1015981

    thanks. it worked. best!!!

    #1015984

    Hey!
    Glad I could help you!

    Cheers!
    Peter

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.