• Resolved matteodb

    (@matteodb)


    Hello i am using elementor and i used the shortcode [woocommerce_my_account] in a tab to custom my login/registration page. I also added some fields in functions.php but the problem is that if i insert a username already used the error wont show up. I tried with a custom error with the double check validation password adding $errors->add(‘pass_secure’, ‘Attention, passwords are not the same!’);

    May you help me please?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @matteodb,

    I’ve performed some cross-testing for us today on several of my sites which have the latest versions of WordPress, WooCommerce and our free Storefront theme as the only enabled software. When doing so I’ve not been able to replicate the behaviour which you describe with the username already taken message not displaying when registering users.

    On my test installations on the My Account page which uses the shortcode of [woocommerce_my_account] when I try to register a user with an already registered username this message below always displays.

    Image Link: https://cloudup.com/ck3cTZVpRrX

    It could be the fields you’ve added, how the form was added in Elementor or code from another plugin or your theme causing some issues on your particular installation.

    To see if that is the case we’d suggest carrying out a conflict test on your site by disabling all other plugins aside from WooCommerce along with switching to a theme like Storefront. This will help with trying to and locate what software you have installed which could possibly be causing this behaviour? You could use a free plugin called Health Check and Troubleshooting to carry out such testing.

    When in Troubleshooting mode all plugins will be deactivated and only the admin of the site carrying out the troubleshooting would see those changes. Any customers visiting the site would see no changes at all.

    Once you have disabled all other plugins and switched theme if the behaviour is resolved you can then enabled your theme and sites plugins testing after each one is enabled until the behaviour returns to locate the culprit.

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thread Starter matteodb

    (@matteodb)

    yes, it is elementor tab, cause if use the shortcode on a blank page it works, is there a way to make it work like i did in the page i linked before?

    Thread Starter matteodb

    (@matteodb)

    Ok i solved it, it was some sort of bug, thanks anyway!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘errors not showing after registration’ is closed to new replies.