• Resolved chiko21

    (@chiko21)


    Manage to add a new vendor withdraw option for banks in Taiwan, however the field are not saved after pressing update setting button. Looked around the source code, but could not found where the input fields for the built-in bank withdraw option, i.e. store_settings[‘payment’][xxx], are saved, either.

    Thank you for in advance for helping.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Shafinoid

    (@shafinahmad01)

    Hi @chiko21

    You can check the below default function where you can perform modification on the default bank form but that file is not a template file that will be replaced with a plugin update.

    File Path: \wp-content\plugins\dokan-lite\includes\Withdraw\functions.php
    Function Name: dokan_withdraw_method_bank
    Line No: 167

    Though we don’t provide custom solutions as per our support policy, the correct format to define them is as below if you are modifying the existing bank form fields,

    store_settings['payment']['bank']['your_custom_field']

    However, you can create your own call back function and push your data via the below filter,

    apply_filters( 'dokan_withdraw_methods', $methods );

    I believe the above information will help you.

    Have a nice day!

    Shafinoid

    (@shafinahmad01)

    Hello,
    I believe you are doing well,

    As you haven’t replied for a long, I’m considering that you have got the solution and I’m also resolving this topic.

    But feel free to create another one anytime.

    Stay Safe ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘fields in a a customized vendor withdraw option are not saved’ is closed to new replies.