Dokan vendor registration

How to set the “I am a vendor” checkbox enabled by default in Dokan?

If you are using Dokan multivendor plugin then you already know that this plugin allow your user to register as a vendor. On the my-account page Dokan adds two radio button –

  1. I am a customer
  2. I am a vendor
Dokan registration form

By default Dokan always set “I am a customer” and that might not be convenient for a few marketplace owner who want user to register as a vendor always or those who are focusing a single vendor registration.

How to set ” I am a vendor ” by default?

You do not have to worry about the process as I am here to help. Just follow my instruction. If you have a child-theme that is a plus but if not then you can use this plugin. This custom function plugin will allow you to add custom PHP code for your website.

Open your child-theme functions.php file or your wp-admin -> Settings -> PHP Inserter ( Only for this plugin user) and paste the below code –

After saving the code, you can reload the my-account page of your website. You will see the result –

Also, if you need to make a seperate registration form to avoid consuing between customer and vendor then feel free to check the video tutorial below –

Share This Post

Share on facebook
Share on twitter
Share on linkedin

Related Post

Be the first to reply

Leave a Reply

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

%d bloggers like this: