plugins – Custom Product Data Tab

I’m testing adding SKU and Supplier Price for Woocommerce for single product there is no problem but how can i also include this data for child product


// For Supplier Only
add_filter('woocommerce_product_data_tabs', function($tabs) {
    $tabs('additional_info') = (
        'label' => __('Manufacture Info', 'txtdomain'),
        'target' => 'additional_product_data',
        'class' => ('hide_if_external'),
        'priority' => 25
    );
    return $tabs;
});

add_action('woocommerce_product_data_panels', function() {
    ?> '_sku_text_input',
        'label' => __('Manufacture SKU', 'txtdomain'),
        
    ));
    
    woocommerce_wp_text_input((
        'id' => '_manuprice_number_input',
        'label' => __('Manufacture Price', 'txtdomain'),
        'type' => 'number',
        'custom_attributes' => (
            'step' => '1',
            'min' => '0'
        )
    ));
 
    ?>update_meta_data('_sku_text_input', sanitize_text_field($_POST('_sku_text_input')));
 

    $product->update_meta_data('_manuprice_number_input', sanitize_text_field($_POST('_manuprice_number_input')));
    
    $product->save();
});