This function allows you to show the billing and delivery addresses of the page my account with a shortcode. That is, you can add the billing and shipping addresses of the client anywhere on the page my account, without the need to use the shortcode that WooCommerce has by default.
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º Scroll to the end, where you will find the button to save the settings
For a correct use of the function, 2 important factors must be taken 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.
2º Both the billing address and the shipping address have an advanced action (Edit addresses) which is accessed by clicking on the “EDIT” button that appears in each address. When you click on the “EDIT” button using this shortcode, a page refresh occurs and after the new load the address form will appear just below the client’s addresses. So that after clicking on the “EDIT” button and reloading the page, the user will continue to see the addresses and the address form, you will need the addon Woo Shortcodes Kit PRO, which offers a function to manage redirections for advanced actions. from the WooCommerce account.
You can see how this PRO function works from here.
If you want to expand the possibilities of your account page, you can do it with the following functions included in this section.