I added this code in the products classes file and it seems to be working
function set_default_product_types( $product_types ) {
$product_types = array(
‘simple’ => __( ‘Simple’, ‘dokan’ ),
‘variable’ => __( ‘Variable’, ‘dokan’ ),
//kmod
‘subscription’ => __( ‘Subscription’, ‘dokan’ ),
);