Hi,
Thanks for get in touch with us.
Well, first please go to WCFM Capability Setting as Admin login and disable other product types, except “Simple” – https://ibb.co/wgQrzfd
Now, you will see no product type drop-down at product manager.
Thank You
Thread Starter
DimaW
(@dimaw)
Hi,
thanks for the answer. Ich found that Option. Bitte there are still fields Like “unit” andere Themen vendor have time check the boxes for “virtual” and “downloadable”.
Ist ist possible top pre Check this boxes with one of your settings?
Hi,
Ist ist possible top pre Check this boxes with one of your settings?
Well, there is no setting for this, but you may add this code snippet to child theme’s functions.php and hence those will be always checked by default –
add_filter( 'wcfm_product_manage_fields_general', function( $general_fields, $product_id, $product_type ) {
if( isset( $general_fields['is_virtual'] ) ) {
$general_fields['is_virtual']['dfvalue'] = 'enable';
}
if( isset( $general_fields['is_downloadable'] ) ) {
$general_fields['is_downloadable']['dfvalue'] = 'enable';
}
return $general_fields;
}, 50, 3 );
Thank You
Thread Starter
DimaW
(@dimaw)
Thanks, thats great 🙂 Very usefull filters.