I’ve obtained a Woocommerce set up and I am attempting to place each the billing and the transport types instantly on the “My Account > Addresses” web page (as a substitute of the plain textual content recaps), so a consumer can fill them out instantly on that web page, with out having to click on on Edit and go to the relative web page earlier than filling them out or edit some knowledge.
I truly managed to make the 2 types present up on the web page by overwriting the my-address template file and exchange the unique content material with two do_action calls:
echo do_action('woocommerce_account_edit-address_endpoint', 'billing') echo do_action('woocommerce_account_edit-address_endpoint', 'transport')
Issues come up when attempting to ship the shape. The web page reloads, however no knowledge is saved. I do not get any error (or optimistic suggestions for that matter).
What am I overlooking? Does the shape should be compulsorily on it is relative web page?