Custom Registration Links On Woocommerce Checkout

custom-wocommerce-checkout-page-links

On the Checkout page, we can see the default login and registration links and it will open bases on the theme design. Sometimes we need to our custom registration link to add another role. I was working on one of the Woocommerce projects and the client requested to add two new registration links on the Woocommerce Checkout page.

It was new to me and I had searched on the google. While the searching for the solution, I got the below solution. It took too much time to find the solution so I have created this solution to get you the code.

Add below action in the functions.php file. You can add it also in child theme functions.php file or in the custom plugin functions file.

Please replace your custom registration page link with ‘custom_registration-page-link’.
By clicking on the URL page, it will be redirected to the custom registration page.

If you want to redirect it back to the checkout page then use below code

So, in this case, the checkout page will be redirected to the custom registration page and then after registration, it will be redirected to the checkout page




Author:

Hello friends, I have created unityblogger.com for the unique bloggers and readers. We’re accepting unique guest posts from real authors. If any blogger or author interested to post a blog on unityblogger.com then they are always welcome.

Leave a Reply

Your email address will not be published. Required fields are marked *

two × 3 =