Create link in login template
-
In my site is a custom registration form. When a new customer is trying to checkout the customer is presented with a page stating that he/she must be logged in to proceed to checkout. They can click on the login link and getting the login page. (see screen)
When they are new they must register. In the image above is a text stated to proceed to the “Shipping and Billing” section. This is just text. See the code below.
<?php woocommerce_login_form( array('message' => __( 'If you have shopped with us before, please enter your details in the boxes below. If you are a new customer please proceed to the Billing & Shipping section.', 'woocommerce' ), 'redirect' => wc_get_page_permalink( 'checkout' ), 'hidden' => true ) ); ?>
This code is in the form-login.php template file.
I want to change the words “Shipping and Billing” into a link to my User Registration page. Somehow I’m not able to get it to work. Is it because it is in a message in an array? Any help is appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Create link in login template’ is closed to new replies.