customizing login/registration navigation
-
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.
Hello,
You can customize the code for these links in the file header-elements/account.php
.
Regards
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.
Hello,
This function is currently located in the file inc/integration/woocommerce/template-tags.php
. You can try to customize it from there.
Regards
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?
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.
Both functions come with the WooCommerce plugin and not from our theme. You need to search in WooCommerce plugin files to customize this.