Change content of Registration tab in My Account section in HEADER

This topic has 2 replies, 2 voices, and was last updated 2 months, 1 weeks ago ago by Jack Richardson

  • Avatar: Crazystar
    Crazystar
    Participant
    September 26, 2025 at 14:25

    I need to change the content on the Registration tab in the header. By default, there is a field for entering an email address, and the password will be sent to the customer via email. We use B2B registration in our e-shop, and I would like to place only a button for the registration form on a separate subpage. Where can I change the content of this Registration tab? I am also sending a screenshot of what I want to change.

    In case it is not possible to change it directly in Theme Options, where I can find a code for this ?

    Thank you

    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 27, 2025 at 08:17

    Hello @Crazystar,

    You may try adding the following custom snippet in xstore-child/functions.php:

    add_action('woocommerce_register_form_start', function() { 
    	if ( did_action('etheme_header_end') ) return; ?>
    	<div class="full-width align-center custom-register-button-wrapper">
    		<a href="yourcustomurl.com" class="btn btn-active custom-register-button">Custom link</a>
    	</div>
    <?php }); ?> 
    

    https://prnt.sc/kNNQ6IeffXkp

    Additionally, please include the following custom CSS:

    .woocommerce-form-register .custom-register-button-wrapper ~ * {
        display: none;
    }

    https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    You can see the frontend result here: https://gyazo.com/aa74dfc99f8a7668ad94951d8fa34196

    Please note that we generally do not provide additional customization. However, as an exception, we have shared the code above.

    Best regards,
    Jack Richardson
    The 8Theme Team

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

You must be logged in to reply to this topic.Log in/Sign up

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