• Resolved alishb

    (@alishb)


    Hi,I added some extra fields in checkout page,
    and i want to know how to add this extra fields to “my acccount” page for users.
    to see and edit this extra fields in their account .
    I know this need some coding ! tnx for helping to handle this issue

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    The free version of our plugin doesn’t have a feature to create usermeta fields to show it on the My Account page to edit. However, you can use the prefix billing_ and shipping_ in the custom fields to save the fields as usermeta but still it won’t be displayed on the My Account page. You may need to do some custom coding.

    Thank you!

    Thread Starter alishb

    (@alishb)

    can you give me some refrencess to read to how i can add them manually by code
    into my account page?
    thnx alot

    Plugin Author ThemeHigh

    (@themehigh)

    We are not sure about any articles. However, you may refer the below hooks to show the custom fields on My Account page and save it in the database.

    //To display custom fields in “Account details form”
    do_action( ‘woocommerce_edit_account_form’ );

    //To save newly custom fields
    do_action( ‘woocommerce_save_account_details’, $user->ID );

    We hope this will help ??

    Dear alishb,

    I have the same problem you described.
    Can you please tell me if and how this do work?

    I am not good in coding, yet.
    But this seems to be the best plugin in my case (thanks to ThemaHigh). All I need now is to have the same fields I made for checkout to be shown in My Account page, as well.

    Thanks in advance

    Linda

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘add extra fields to “my account” page’ is closed to new replies.