How to change vendor setup wizard text in Dokan Multivendor

For a new user, onboard instruction is really important. In that sense, Dokan Multivendor Plugin has onboard system for the vendor so that they can setup their store easily after registering as a vendor. Now, the setup wizard has some welcome text and it is not possible to change those default text. Do you want to know how you can change them?

From the my-account page when a vendor register, he redirects to the vendor setup wizard which looks like below –

Default setup-wizard text

Now all those texts are not appropriate for all the users. So, many of them are looking for a good way so that they can change the welcome text without any core modification.

How to change setup-wizard text?

You can easily change those text through your child theme’s functions.php file. If you do not have any child theme then you can read this guide to create a child theme. After installing the child theme kindly open the functions.php file through an editor like Sublime text or your notepad 🙂

On your functions.php file, just paste the below code –

On the above code, you can change those sentences as you need. I have changed my one Welcome to the Marketplace  to Welcome to NayemDevs Blog  and then save the file correctly.

After saving the file, I have checked the vendor setup wizard and found the changes I made –

After changing the code via child-theme

See! It is really easy to change without modifying the core file of Dokan plugin.

22 thoughts on “How to change vendor setup wizard text in Dokan Multivendor

      1. I have updated the code. Kindly check the new code where I just deleted the top two lines –

        if ( ! class_exists( ‘Dokan_Setup_Wizard’ ) ) {
        require_once DOKAN_INC_DIR . ‘/admin/setup-wizard.php’;
        }

        1. Hi
          not working i’ce got this msg:

          Your PHP code changes were rolled back due to an error on line 10 of file wp-content/themes/martfury-child/functions.php. Please fix and try saving again.

          syntax error, unexpected ‘<', expecting end of file

    1. Store setup field is available on a separate function- public function dokan_setup_store() You can add this function also on my mentioned code to modify. The process is same 🙂

  1. Hello, would you help me on setting custom fields on registration form for vendors, sellers etc, such as dropdown for area of operation, checkbox for categories to be selling and maybe a radio button?
    Thanks in advance.

        1. You can use WP User Frontend plugin to create a separate registration form for the vendor. It seems like your shared website used WP User Frontend of weDevs 🙂

  2. Hi,

    Thanks for this function. I can change the tekst so thats great. However some parts are not working.

    It’s completely optional and shouldn’t take longer than two minutes.‘, ‘dokan-lite’ ); ?>

    its not printed bold.. but printed like: It’s completely optional and shouldn’t take longer than two minutes.

    So the strong command is not working.. its showing as a tekst … how to solve this?

    1. hello,

      In my last reply i would tell you that the command in your function is not working… and that it shows in the tekst in the setup wizard instead of making the tekst bold.

      Lol, its very funny its making my tekst bold in the comment overhere.

      regards Jap

      1. Oh my.. ok the strong command between the code hooks is not working.. so funny i cannot explain it in the comments section because when I use the hooks it is removed.. so strong /strong is not working.

        i hope you will understand now.

  3. Hi Nayem, I need a little help overriding a class. I need to override the Dokan-commission class, in particular the public function “prepare_for_calculation”. Can you help me please? I don’t know very well the class overriding system, so I don’t understand what to write in initial string. This is my code:

    if ( ! class_exists( ‘Dokan_Commission’ ) ) {
    require_once DOKAN_INC_DIR . ‘/includes/class-commission.php’;
    }

    class Dokan_Commission_override extends “WHAT I HAVE TO WRITE HERE?” {
    /**
    * Introduction step.
    */
    public function prepare_for_calculation_override( $callable, $product_id = 0, $product_price = 0 ) {……etc.

  4. This only fixes part of the Dokan Setup Wizard… Let me explain the problem I’m having currently.

    If someone applies to be a Vendor from their CUSTOMER DASHBOARD, then it seems to work. This image shows me applying for a vendor account while I was on my test CUSTOMER ACCOUNT:

    https://imgur.com/J98VrMt

    https://imgur.com/hoPSuwj

    However, when someone applies for a VENDOR ACCOUNT through the registration page (https://imgur.com/ryCDEUz) and they go to their email and open the setup wizard, then it doesn’t work.

    These next photos show me verifying my email which then brings up the setup wizard, but it’s not the edited version I entered in the functions.php child theme section:

    https://imgur.com/lHkD55h

    https://imgur.com/Biv3qVb

    Can you please help me with this last problem as soon as possible? Could it possibly be an error in the code at

    $dashboard_url = dokan_get_navigation_url();

    As mentioned earlier, when I become a vendor through the customer dashboard, the setup wizard works fine. But when I go to the setup wizard from the verification email, the wizard doesn’t change.

  5. This produces critical error after the recent update.
    Error says:

    An error of type E_ERROR was caused in line 96 of the file /home/website.com/public_html/wp-content/themes/jupiterx-child/functions.php. Error message: Uncaught Error: Class ‘Dokan_Seller_Setup_Wizard’ not found in /home/website.com/public_html/wp-content/themes/jupiterx-child/functions.php:96
    Stack trace:
    #0 /home/website.com/public_html/wp-settings.php(514): include()
    #1 /home/website.com/public_html/wp-config.php(83): require_once(‘/home/website.com/…’)
    #2 /home/website.com/public_html/wp-load.php(37): require_once(‘/home/website.com/…’)
    #3 /home/website.com/public_html/wp-admin/admin.php(34): require_once(‘/home/website.com/…’)
    #4 /home/website.com/public_html/wp-admin/index.php(10): require_once(‘/home/website.com/…’)
    #5 {main}
    thrown

Leave a Reply

Your email address will not be published. Required fields are marked *