Home Forums Theme Support Dokan Remove Tabs in Product Dashboard

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sk 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18788

    Rachelle
    Member
    Post count: 54

    My shop will be selling all digital items and since items initially post as in stock and I have a plugin to make all products sold individually I really don't have a need for vendors to have access to the Inventory, Shipping, or Attributes tab. If possible, I'd like to remove them from the the front product dashboard for vendors, so as not to cause them unneeded confusion. Is this possible?

    Rachelle ๐Ÿ™‚

    #18795

    Sk
    Moderator
    Post count: 371

    hello rcwillia,

    if you want to do so you have to navigate to dokan/templates/product-edit.php file and commit line 108, 109 and 110.

    <li><a href="#product-inventory" data-toggle="tab"><?php _e( 'Inventory', 'dokan' ); ?></a></li>
    <li class="show_if_simple"><a href="#product-shipping" data-toggle="tab"><?php _e( 'Shipping', 'dokan' ); ?></a></li>
    <li><a href="#product-attributes" data-toggle="tab"><?php _e( 'Attributes', 'dokan' ); ?></a></li>

    we suggest you not to commit line 110. it is Attributes tab line. because when a seller need to add a variation product he must has to add attribute for the product.

    thank you.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Remove Tabs in Product Dashboard’ is closed to new replies.