In the approved-vendor-account.php line 19, which is like this:
<?php printf( __( “Applicant Username: %s”, ‘dc-woocommerce-multi-vendor’ ), $user_login ); ?>
It appears that woocommerce will let user login with either their full email address(e.g. firstname.lastname@example.org) or their partial email address without the domain portion(e.g. uname). I definitely want to ask users to login with their full email address.
Therefore, in line 19, I want to change the $user_login to be the user email. But I am not sure what variable name to use. I tried $user_email and $ $email. Both invalid.
Hope to hear from you soon.
As we can understand, you want to add Vendor’s email in the “Approved Vendor account” email, for that please override the “approved-vendor-account.php” template file via dc-woocommerce-multi-vendor/templates/emails and replace this line :