How to remove seller info?

This topic contains 6 reply and 2 voices, and was last updated by Nayem 9 years, 2 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
February 21, 2015 at 4:45 pm 37292
Nayem Where can I edit and remove the seller info or better yet, the box and the contents where it belongs? The link of a sample page is ->http://www.hockeycellar.com/product/bauer-supreme-one-2-gloves-junior/
February 22, 2015 at 3:03 am 37325
Cris Cunanan Cris Cunanan

Here is what I am trying to remove from the link above.

February 22, 2015 at 3:04 am 37326
Cris Cunanan Cris Cunanan

The image above is what I am trying to get rid from the link above. Where do I take it out?

February 22, 2015 at 12:03 pm 37335
Nayem Nayem

Hello Cris,

Please open your Dokan plugin folder/includes/wc-template.php and in this file you have find out this function- function dokan_product_seller_tab( $val ). In this function you will get the code for seller info tab. You have to comment out those code to get your needs.

Thank you 🙂

February 22, 2015 at 12:41 pm 37339
Cris Cunanan Cris Cunanan

Hi Nayem,

thank you for your help! Is there a way to remove the reviews as well?

Thanks! I think we are set after that!

February 22, 2015 at 12:44 pm 37340
Cris Cunanan Cris Cunanan

Got it!

February 23, 2015 at 12:30 pm 37395
Nayem Nayem

Hello Cris,

Review tab is coming from WooCommerce. You can try this code in your child theme function.php file-

add_filter( 'woocommerce_product_tabs', 'dokan_remove_review_tab' );
function dokan_remove_review_tab( $array ) {
    unset( $array['reviews'] );
    return $array;
}

Thank you 🙂

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