[Résolu] Add User custom fields to the My Account page
This support ticket is created Il y a 5 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Tell us what you are trying to do?
Overall, I'd like allow my WooCommerce customers to add/update their Date of Birth via their WordPress user profile.
1. I have added a group of custom fields to Users, and these correctly show up in the WordPress dashboard, Users
2. Now I'd like to add those custom fields to the standard 'My Account' page so they can be maintained there. The My Account page allows maintenance of core user profile details (email, name etc), also Order History and Shipping/Billing Address
Is there a similar example that we can see?
Not that I'm aware of. It should look like a standard WooCommerce My Account facility, but with some custom fields such as Date of Birth in the personal details section.
What is the link to your site? lien caché (under development)
Hello. Thank you for contacting the Toolset support.
I need to check how exactly your My Account page is setup. Can you please share My Account page URL and access details to of the user so that I can check the page.
You can assign a Content Template or a Layout to your Account Page but the content of WooCommerce account page will be rendered through the WooCommerce native ShortCode [woocommerce_my_account] and we do not offer any feature to customize the native my account page.