Home › Forums › WoodMart support forum › customizing login/registration navigation
customizing login/registration navigation
- This topic has 6 replies, 2 voices, and was last updated 5 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
March 5, 2019 at 1:38 pm #111036
icecremeParticipantHi 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.March 5, 2019 at 3:59 pm #111064
Artem TemosKeymasterHello,
You can customize the code for these links in the file
header-elements/account.php
.Regards
March 7, 2019 at 12:43 pm #111659
icecremeParticipantHi,
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.March 7, 2019 at 2:10 pm #111679
Artem TemosKeymasterHello,
This function is currently located in the file
inc/integration/woocommerce/template-tags.php
. You can try to customize it from there.Regards
March 7, 2019 at 4:15 pm #111701
icecremeParticipantHi 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?March 7, 2019 at 5:10 pm #111704
icecremeParticipantthere 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.
March 7, 2019 at 7:50 pm #111732
Artem TemosKeymasterBoth functions come with the WooCommerce plugin and not from our theme. You need to search in WooCommerce plugin files to customize this.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register