Hi @tubescreamer
You can use the Dokan Kits plugin to remove the ‘I am a vendor’ option, leaving only the customer registration option by default.
I hope this helps.
Thanks!
Thread Starter
Selah
(@tubescreamer)
Is this the only option? I’d rather not install an additional plugin that can do multiple things to only use one of those features.
Hello @tubescreamer,
You can follow this video tutorial to remove the I am a Vendor option from the My Account page.
I believe this information proves helpful.
Thanks!
Thread Starter
Selah
(@tubescreamer)
@fayeakuzzaman , this is the same video I linked in my first post in this thread..
Hi @tubescreamer
You can add the snippet provided below to the functions.php file of your child theme.
// Remove Dokan's custom registration form fields
remove_action('woocommerce_register_form', 'dokan_seller_reg_form_fields', 10);
// Remove Dokan's registration validation
remove_filter('woocommerce_process_registration_errors', [dokan()->registration, 'validate_registration'], 10);
remove_filter('woocommerce_registration_errors', [dokan()->registration, 'validate_registration'], 10);
I hope this helps!
Thanks!
Thread Starter
Selah
(@tubescreamer)
Thanks, I’ll try it. Will this still allow me to create a separate vendor sign up form? Or will it affect the “upgrade to vendor” functionality in any way?
Hello @tubescreamer,
This snippet will indeed assist you in creating a separate vendor registration form. However, please rest assured that it will not impact the “Upgrade to Vendor” functionality in any way. Both features can work independently without interfering with each other.
Thanks!
Hello @tubescreamer,
As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.
Thanks!
This problem has been raised by many people!
But the creators of the Dokan plugin are not interested in fixing this problem!