Virtual product

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!


Viewing 1 reply thread
  • Author
    • #23135

      When a vendor adds a new product Virtual is ticked by default. The majority of the products are not virtual so how do I change it so it’s not ticked by default? Also, just before Virtual it stays Catalog. What is this tick box for?

    • #23136
      WCFM Forum

      Hi Dale,

      I understand your concern and thanks for get in touch with us for assistance.

      Actually, WC by default set “Virtual” option checked for add product page, so we just follow the same.
      But this can be altered, you just have to add this code to your site –

      function wcfm_product_manage_fields_general_custom_virtual( $general_fields, $product_id, $product_type ) {
      	if( isset( $general_fields['is_virtual'] ) && $product_id ) {
      		$general_fields['is_virtual']['dfvalue'] = '';
      	return $general_fields;
      add_filter( 'wcfm_product_manage_fields_general', 'wcfm_product_manage_fields_general_custom_virtual', 10, 3 );

      Catalog mode- you may get the idea from here

      If you still have any queries or require any assistance feel free to reach us anytime.

      Thank You

Viewing 1 reply thread
  • The topic ‘Virtual product’ is closed to new replies.