Home Forums WoodMart support forum customizing login/registration navigation

customizing login/registration navigation

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #111036

    icecreme
    Participant

    Hi Xtemos,

    how can I change the default login/registration navigation Button Element on your Template?
    I want to add onclick=”window.ws_dialog_login_show();” into the Account button.
    could you pls tell me, what CSS code looks like in there?

    Best regards

    Attachments:
    You must be logged in to view attached files.
    #111064

    Artem Temos
    Keymaster

    Hello,

    You can customize the code for these links in the file header-elements/account.php.

    Regards

    #111659

    icecreme
    Participant

    Hi,

    How to replace it? After I replaced this link, although a new login window can appear, the default side login window still exists. Is there any way to embed the new login window into the default side window? Can you tell us how to find and how to replace it?

    I had found a solution from your old reply:
    “You can edit this section and add your content in the file inc/template-tags.php. Function with this code is called woodmart_sidebar_login_form. ”

    But I have not found the woodmart_sidebar_login_form function from the file.

    Attachments:
    You must be logged in to view attached files.
    #111679

    Artem Temos
    Keymaster

    Hello,

    This function is currently located in the file inc/integration/woocommerce/template-tags.php. You can try to customize it from there.

    Regards

    #111701

    icecreme
    Participant

    Hi Xtemos,

    thx so much, it works.
    by the way, how can I change the logout page?
    currently, if I click Logout then the user will be navigated to My Account page.
    how can I fix this Navigation? after “logout” navigates to the homepage?

    #111704

    icecreme
    Participant

    there has a link on the checkout page: Click here to login
    can we change this link? where is the php file for this?

    the tutorial from Internet: woocommerce/templates/checkout/form-login.php
    <div class=”woocommerce-form-login-toggle”>
    <?php wc_print_notice( apply_filters( ‘woocommerce_checkout_login_message’, __( ‘Returning customer?’, ‘woocommerce’ ) ) . ‘ ‘ . __( ‘Click here to login’, ‘woocommerce’ ) . ‘‘, ‘notice’ ); ?>
    </div>

    but I have not found any code like this.

    #111732

    Artem Temos
    Keymaster

    Both functions come with the WooCommerce plugin and not from our theme. You need to search in WooCommerce plugin files to customize this.

Viewing 7 posts - 1 through 7 (of 7 total)