Support » Fixing WordPress » Woocommerce Product Vendors * Hide Product Type and Meta Data Fields

  • [ Moved to Fixing WordPress ]

    Hi WP community-

    I have searched for days to try and find a clean plugin that will edit the Woocommerce Product Vendors – Add New Product Section for the back-end Vendor Manager access provided to customers.

    Current setup is Listify + WP Job Manager/paid listings + Woo + Woo Product Vendors etc.

    For Vendors selling products I need to hide the “variable” and “listing package” under product type and was able to find the following code snippet:

    add_filter( ‘product_type_selector’, ‘remove_product_types’ );

    function remove_product_types( $types ){
    unset( $types[‘variable’] );
    unset( $types[‘job_package’] );

    return $types;

    I was also able to remove some of the ‘product data tabs’ that will need to be hidden/removed using the following code snippet I also found:

    * WooCommerce Product Data Tab Edit
    function remove_linked_products($tabs){







    add_filter(‘woocommerce_product_data_tabs’, ‘remove_linked_products’, 10, 1);


    So, I am only left with ‘simple product’ but the weird thing is some of the data fields under originally under Listing Package now appear under ‘simple product’.

    Regardless, I need to hide “customer confusing” meta data fields not used or shouldn’t be shown (resume posting limit, subscription type, commission etc.) and also specific ‘Product Type’ selection options.

    What should be used CSS or functions? Again, this is specific to the user role ‘vendor manager’ backend.

    Not sure if I just can’t find the right plugin or there really isn’t anything out there with this capability.

    I greatly appreciate any helpful thoughts/guidance…


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Product Vendors * Hide Product Type and Meta Data Fields’ is closed to new replies.