Home › Forums › Basel support forum › Registration: unwanted double content
Registration: unwanted double content
- This topic has 7 replies, 2 voices, and was last updated 6 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
April 11, 2018 at 2:55 am #51921
VegannaParticipantWhen I go on ‘Register’ in frontend, I am redirected to the registration form, which is totally correct. BUT underneath the registration form it again shows a “Register” section- which makes no sense. It basically displays “Register… or: register…” where instead it should display: “Register… or: log in…”:
https://www.useloom.com/share/0b1b502ef6374ba0a3cec574d22fe92f
How can this be fixed?
April 11, 2018 at 6:20 am #51934
Artem TemosKeymasterHello,
You need to go to Theme Settings -> Shop -> My account and specify different texts for Login and Registration sections to fix this https://gyazo.com/c6d682dd4d6dbb2605c317f829349724
Regards
April 16, 2018 at 6:44 pm #52813
VegannaParticipantMy text it not the issue- your weird configurtation is the problem! No matter what text I put in there it makes no sense! I need to have the doubling removed, like this it is a bug!
April 17, 2018 at 6:24 am #52851
Artem TemosKeymasterBut you didn’t follow our advice and didn’t specify separate text for the login. Please, do this and you will see that the title will be changed as well.
April 19, 2018 at 3:36 pm #53441
VegannaParticipantIt does not work this way! Go to mobile! Either I have this:
– New account form, below the “Registration” title below that the “If you already have an account then you can log in” below that the “Login” button
OR it shows:
– Log in form, below the “Login” title and the text “If you don’t have an account with us, then you can sign up here” and below that the “Registration” button
That means that the titles are wrong. You need to turn the “Login” title into the “Registration” title, respective the other way around. OR hide these words, but remove the spacing that will show then.
SEE ATTACHMENT TOO!
Attachments:
You must be logged in to view attached files.April 19, 2018 at 7:37 pm #53470
Artem TemosKeymasterYou can edit their texts in the file
basel/woocommerce/my-account/form-login.php
. Or hide them adding the following CSS to the custom CSS area.col-register-text h2 { visibility: hidden; }
April 25, 2018 at 11:28 pm #54660
VegannaParticipantPlease explain how this is supposed to work:
You can edit their texts in the file: basel/woocommerce/my-account/form-login.php
I translated the words already in Loco, so translation the words there does not change anything… I tried it never the less- and guess what happened, right: nothing.
‘Register’ is ‘Registrieren’ in German and ‘Login’ is ‘Einloggen’. And as explained before and as you can see in the attachement also: the second ‘Einloggen’ or ‘Registrieren’ as a double version of the above is wrong.
Now:
Einloggen (Login)
oder (or)
Einloggen (Login)Registrieren (Register)
oder (or)
Registrieren (Register)But it needs to be:
Einloggen (Login)
oder (or)
Registrieren (Register)Registrieren (Register)
oder (or)
Einloggen (Login)Attachments:
You must be logged in to view attached files.April 26, 2018 at 6:50 am #54701
Artem TemosKeymasterTry to edit the file we sent and replace the code
<?php if ( $login_text ): ?> <h2><?php esc_html_e( 'Login', 'woocommerce' ); ?></h2> <?php else: ?> <h2><?php esc_html_e( 'Register', 'woocommerce' ); ?></h2> <?php endif ?>
with this one
<?php if ( $login_text ): ?> <h2><?php esc_html_e( 'Register', 'woocommerce' ); ?></h2> <?php else: ?> <h2><?php esc_html_e( 'Login', 'woocommerce' ); ?></h2> <?php endif ?>
-
AuthorPosts
Tagged: registration
- You must be logged in to create new topics. Login / Register