• Resolved chiko21

    (@chiko21)


    Hi,

    I would like to add some extra fields in the vendor setup wizard on the Store step and have those fields shown up in the vendor setting page. I know how to add field in both section but having problem passing the values from the wizard to the setting page.

    Would like to know what files are involved in the carrying the value from wizard to the setting page. An example would be great!!

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @chiko21

    As per your statement, I believe you are already concerned about wp-content\plugins\dokan-lite\includes\Withdraw\functions.php this file in order to add more fields in the form.

    In this file all the information of every step are being saved using update_user_meta function. Using this function there are 3 arguments that are being passed. The store ID of the current object, the meta key which’s value will be updated (dokan_profile_settings), and the variable $dokan_settings.

    All you will need to do is to add the newly added value into the $dokan_settings variable and pass it using the update_user_meta function.

    I hope this will help you achieve your goal.

    Thank you!

    (Had similar problem) Thank you!! That solve it.

    Thread Starter chiko21

    (@chiko21)

    Thank you @jahidulhassan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add extra field in vendor setup wizard and have it shown in vendor setting page’ is closed to new replies.