Hi @gcsaudi
Thank you for reaching us.
#1. Make a copy of this file – dokan-lite/templates/global/seller-registration-form.php
Then remove line #28-33 and save the modified file in your-your_child_theme/dokan/global/ folder with exactly the same way.
That will remove the store URL but the URL will be detected automatically from the username.
#2. To set the vendor registration form by default you will need to add the below code on your child theme’s function.php file.
//Make seller registration form selected by default
remove_action( 'woocommerce_register_form', 'dokan_seller_reg_form_fields' );
add_action( 'woocommerce_register_form', 'dokan_seller_reg_form_fields_modified',11 );
function dokan_seller_reg_form_fields_modified() {
$postdata = wc_clean( $_POST );
$role = isset( $postdata['role'] ) ? $postdata['role'] : 'seller';
$role_style = ( $role == 'customer' ) ? 'display:none' : '';
dokan_get_template_part( 'global/seller-registration-form', '', array(
'postdata' => $postdata,
'role' => $role,
'role_style' => $role_style
) );
}
After that add the below custom CSS on the Admin Dashboard > Appearance > Customize > Additional CSS,
#register p.form-row.form-group.user-role.vendor-customer-registration {
display: none !important;
}
I believe the ablve information will help you.
Best Regards!