Home Forums Theme Support Dokan How to remove seller info?

This topic is: resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Nayem 4 years, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37292

    Cris Cunanan
    Member
    Post count: 16

    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/

    #37325

    Cris Cunanan
    Member
    Post count: 16

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

    #37326

    Cris Cunanan
    Member
    Post count: 16

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

    #37335

    Nayem
    Moderator
    Post count: 6480

    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 ๐Ÿ™‚

    #37339

    Cris Cunanan
    Member
    Post count: 16

    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!

    #37340

    Cris Cunanan
    Member
    Post count: 16

    Got it!

    #37395

    Nayem
    Moderator
    Post count: 6480

    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 7 posts - 1 through 7 (of 7 total)

The topic ‘How to remove seller info?’ is closed to new replies.