How to customize login\registration in my-account

This topic has 8 replies, 4 voices, and was last updated 1 month ago ago by Tony Rodriguez

  • Avatar: anoop
    anoop
    Participant
    December 26, 2025 at 01:49

    Hi Team,

    Is it possible to use a different login/registration form instead of the one currently displayed on the My Account page? I’d like to modernize its design.

    I’ve tried using third-party plugins, which provide a form ID to replace the default form, but I don’t see an option to swap out the existing login form. Could you advise on how this can be done?

    7 Answers
    Avatar: Samir Malik
    Samir Malik
    Support staff
    December 26, 2025 at 05:47

    Hello,

    Default Behavior:
    When you install third-party plugins, they create their own login and registration pages. WooCommerce continues to use its default forms on the “My Account” page, resulting in two separate login systems operating simultaneously.

    How to Replace WooCommerce Forms:

    – Option 1: Use Plugin Shortcodes (Manual Method)
    1. Install the desired plugin (for example, Ultimate Member or ProfilePress).
    2. Create your custom forms within the plugin.
    3. Edit your “My Account” page.
    4. Remove the WooCommerce content and insert the plugin’s shortcode.

    – Option 2: Use a Compatibility Plugin
    Some plugins, such as Ultimate Member, offer WooCommerce integration add-ons that manage this process automatically.

    – Option 3: Use Custom Code
    Add the following code to your theme’s functions.php file:

    
    // Remove WooCommerce login form
    remove_action('woocommerce_before_customer_login_form', 'woocommerce_output_all_notices', 10);
    
    // Add your plugin shortcode
    add_action('woocommerce_before_customer_login_form', function() {
        echo do_shortcode('[your_plugin_login_form]');
    }, 5);
    

    Recommended Solution:
    The Ultimate Member plugin, together with its WooCommerce extension, provides the most seamless integration. It can automatically replace WooCommerce forms with minimal configuration.

    Best regards,
    8Theme Team

    Avatar: anoop
    anoop
    Participant
    December 26, 2025 at 06:46

    Hi,
    Thanks for the details.

    Regarding steps 3 and 4:
    When editing the My Account page, you mentioned removing the WooCommerce content and inserting the plugin’s shortcode.

    The My Account page currently displays options for logged-in users. Should these be removed? Also, could you please explain how to make this change correctly?

    https://prnt.sc/5GPnNjx-_aTX

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 26, 2025 at 07:29

    Hello @anoop,

    If you would like to completely replace the content of the default WooCommerce shortcode with a custom one from a third-party plugin, please note that the content currently displayed for logged-in customers will also be removed.

    Alternatively, if you wish to display specific content for logged-in customers while showing a different shortcode for non-logged-in users, you can use the XStore Conditions feature. Please refer to the following links for guidance:
    – For the original shortcode: https://prnt.sc/owVwjwO0J-Im
    – To add another shortcode: https://prnt.sc/it_dWF-uvyX9

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: anoop
    anoop
    Participant
    December 26, 2025 at 07:35

    Hello Jack,

    My requirement is to create separate custom forms for login and registration, replacing the default WooCommerce login/registration forms that currently appear on the My Account page before a user logs in.

    After the user logs in, I would like to continue using the existing WooCommerce My Account page and all its default features.

    In short, only the login and registration forms should be customized; everything else in the default My Account functionality should remain unchanged.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 26, 2025 at 12:24

    Hello @anoop,

    We have provided one of the possible solutions above:

    Alternatively, if you wish to display specific content for logged-in customers while showing a different shortcode for non-logged-in users, you can use the XStore Conditions feature. Please refer to the following links for guidance:
    – For the original shortcode: https://prnt.sc/owVwjwO0J-Im
    – To add another shortcode: https://prnt.sc/it_dWF-uvyX9

    Have you tried implementing this solution?

    If you wish to modify the login or registration form manually in the code, you can copy the file “xstore/woocommerce/myaccount/form-login.php” to “child-theme/woocommerce/myaccount/form-login.php” and apply your customizations there.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: anoop
    anoop
    Participant
    December 26, 2025 at 14:01

    Thanks for the support! My topic “How to customize loginregistration in my-account” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 26, 2025 at 14:01

    Dear anoop,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘How to customize login\registration in my-account’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.