There are times when you need to send logged out customers to a Login page and unregistered customers to a distinct Register page.
As you know, the WooCommerce My Account page, which contains the [woocommerce_my_account] shortcode, has both Login and Registration forms when registration is enabled on the My Account settings.
This is not always a good idea, mostly when you use landing pages or sales pages with a specific goal e.g. user registration.
Clearly, when this happens, you don’t want to have a login form there as well. My solution provides two new shortcodes, one for the login form and one for the register form.
Please be aware that the Registration Page shortcode content is copied from WooCommerce template files – if WooCommerce releases an update or makes a change to these files, you may need to update the snippet as well.
Give it a go, feedback is much appreciated ๐
Continue reading WooCommerce: Separate Login and Registration Pages