Home Forums WC Vendors Pro Support How to remove 'General' and 'Attributes' tabs and leave 'Auction' tab alone?

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43736
    Louie
    Participant

    Hi there!
    Thanks for this great plugin. It works very well so far.
    But I have one question here. I’ve been trying to find a way to fix it my self but I still can’t find a way so far.

    I want to remove ‘General’ and ‘Attributes’ tab from the ‘Add Product’ form and only leave ‘Auction’ tab and set it as default tab. I want to do this because I will only provide Auction item on my website. Is it possible to do?
    I’ve already checked ‘Attributes’ from WC Vendor setting, but it seems doesn’t work.
    Please see the screenshot below :
    https://postimg.org/image/807zy8lgr/

    And this is what I want :
    https://postimg.org/image/foouqtz7b/

    Thanks!

    #43999
    Louie
    Participant

    Anyone?

    It’s been 2 days and still no response. 🙁
    I thought the ‘Pro Support’ will help faster.

    #44032
    Anna
    Member

    Louie,
    I do not know why checking Attributed to be hidden is not working… it is working on my dev site. Wp Admin > WooCommerce > WC Vendors > Product Form.. check attributes.. it hides it. ?

    This will visually remove the two tabs, general and attributes…

    a.tabs-tab.hide_if_grouped.general, a.tabs-tab.attributes {
    display: none !important;
    }

    As for the content, if that is still there, then you would need to alter the product-edit.php template to remove that which you need to be removed. However, I do not know if removing the general tab will have any negative affect on your site, please do test thoroughly to make sure it does not cause unwanted behavior.

    #44047
    Jamie
    Keymaster

    Hello,

    This code will remove the tabs. However if you want to make the product edit form an auction only form then it’s best to create a new template as per anna’s suggestion.

    https://gist.github.com/digitalchild/6b65c6e128c37898aa153b854875982a

    cheers,

    Jamie.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.