I like legenda theme so much! just encounter some problem I can’t deal with.
I select “Automatically generate username from customer email” under woocommerce Registration Options. But don’t know how to change this part on custom registration page to match my need.
I’d like users to enter email(used as username)/password/re-enter password/capchta
Thank you in advance for your help.
You can edit custom registration form in \wp-content\themes\legenda\contacts.php file.
I didn’t get it. I don’t want to change the contact page. It’s the Custom Registration Page（et-registration.php）of legenda that’s not matching the woocommerce setting.
Could you please tell me a quick hint how to remove the username part of the registration.
Cause I’m using email as usernames on my site.
You need edit the file wp-content/themes/legenda/et-registration.php and delete the code in line 53
<p class="form-row form-row">
<label class=""><?php _e( "Enter your username", ETHEME_DOMAIN ) ?> <span class="required">*</span></label>
<input type="text" name="username" class="text input-text" value="" />
Also edit the file wp-content/themes/legenda/framework/theme-functions.php and remove the code in line 1193:
$username = esc_sql($_REQUEST['username']);
$return['status'] = 'error';
$return['msg'] = __( "User name should not be empty.", ETHEME_DOMAIN );
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.