How work this function?


This function allows you to display the form to log in to the my account page with a shortcode. That is, you can add the form for customers to log in and register in your store, anywhere on the my account page, without the need to use the shortcode that WooCommerce has by default. You can also adjust which page to redirect the user to after logging in or registering.

 

How to configure?


Once you have created the custom account page, just follow these steps:

1º Activate the function making the slider show in green
2º It displays the advanced options of the function
3º Copy the shortcode by clicking on the button
4º Configure redirection options
5º Scroll to the end, where you will find the button to save the settings

 

For a correct use of the function it is necessary to take into account:

1º This shortcode will only work if you are on an account page, so your new account page must be assigned as the WooCommerce account page. To assign it, you just have to go to the WooCommerce settings, access the Advanced tab and select the new page as my account page. Remember to save the changes.

 

 

If you want to expand the possibilities of your account page, you can do it with the following functions included in this section.