How to create separate log-in and registration pages in WooCommerce


Staff member
I want to seperate the login and registration page for woocommerce.
(there is a different solution that I don't get to work here:
<a href="">Separate registration page in WooCommerce website</a>)

I duplicated the form-login.php and renamed it to register.php
In the register.php template I deleted the login-content.

I want to add a page to wordpress and add the register.php template with a SHORTCODE to that page. How do I do this??

Then I could add a Register Link to the Login Page with

&lt;a href="&lt;?php echo get_permalink(put the ID of the registerpage here) ?&gt;"&gt;&lt;?php _e( ' Register' ); ?&gt;&lt;/a&gt;

and the new shortcode register page is loaded.

what do I have to add to the duplicated login /now register.php, that it can be loaded to any page with a SHORTCODE? that would be interesting.

Thanks for helping out!Best wishes, Mika