Remove the virtual and downloadable product check boxes

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace Remove the virtual and downloadable product check boxes

Viewing 3 reply threads
  • Author
    • #109819


      Hi, everybody, I’m Sheila.

      I hope you’re all right. I was wondering if someone could please help me with the snippet code to hide the two check boxes I marked in the attached picture.

      The one in Virtual and Downloadable.

      Because it creates a lot of confusion in the users of the web.

      Thanks in advance.

      You must be logged in to view attached files.
    • #109843

      You can disable these two checkboxes(virtual, downloadable) from Admin dashboard >> Capability under Types disable Virtual and Downloadable option.
      Ref –

    • #110193

      Hi Sushobhan,
      I was also looking to disable these checkboxes however, those options do not show in my install. I have the latest FREE plugin version, is this function only available on the paid version?

    • #110220

      Hi Claire,
      Yes, its a part of our Ultimate plugin. Sorry I forget to mention that earlier. But, if you want to only hide virtual and downloadable options, you won’t need the ultimate plugin, use the following snippet for that-

      function disable_virtual_downloadable_support( $general_fields ) {
          if ( isset( $general_fields['is_virtual'] ) )
              unset( $general_fields['is_virtual'] );
          if ( isset( $general_fields['is_downloadable'] ) )
              unset( $general_fields['is_downloadable'] );
          return $general_fields;
      add_filter( 'wcfm_product_manage_fields_general', 'disable_virtual_downloadable_support' );

      Add this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin –

Viewing 3 reply threads
  • You must be logged in to reply to this topic.