Remove Tabs in Product Dashboard

This topic contains 1 reply and 2 voices, and was last updated by Sk 10 years, 7 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
April 15, 2014 at 7:56 am 18788
Sk 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 :)
April 15, 2014 at 11:43 am 18795
Sk Sk

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