Custom Registration Fields in et-registration.php no longer adding to database

This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Eva Kemp

  • Avatar: sguilliard
    sguilliard
    Participant
    January 22, 2016 at 11:54

    Hi,

    I have hade previous problems with this (et-registration.php problems) but it seems that some further changes have been made in the later versions of IDStore (not sure which version this stopped working with as it wasn’t tested) which now mean that the custom fields no longer add the data to the database.

    Can you let me know what’s changed to stop the custom field data being added to the database please?

    Many thanks,

    Simon.

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 22, 2016 at 12:39

    Hello,

    You need also add custom fields to the file functions.php in line 537 the section “! Registration” in the directory wp-content/themes/idstore/code.

    Regards,
    Eva Kemp.

    Avatar: sguilliard
    sguilliard
    Participant
    January 22, 2016 at 13:07

    Ok, thanks. I think that the previous developer added this to the et-registration.php file which has since been overwritten with the updates. (it looks as though this moved from the et-registration.php file into the code/functions.php file?)

    I’m assuming that I just need to add the fields as before using ‘add_user_meta’ inside the ‘et_register_action’ function which I can declare again indside the functions.php file of the child theme?

    Avatar: sguilliard
    sguilliard
    Participant
    January 22, 2016 at 13:56

    My assumptions were correct, I’ve declared the function again in the child theme functions.php file and added the additional custom fields to the function there. All working again now, thanks! 🙂

    Avatar: Eva
    Eva Kemp
    Support staff
    January 22, 2016 at 16:40

    Hello,

    You are welcome.

    Regards,
    Eva Kemp.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Custom Registration Fields in et-registration.php no longer adding to database’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.