• Resolved Sancho

    (@snzhrski)


    Hi! How to make First Name and Last Name fields unrequired in seller registration form?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @snzhrski,

    If you want to remove required from the First Name and Last Name field of the Vendor Registration form, then you can add the following code snippet at the bottom of the child theme’s functions.php file.

    #-- Vendor Registration Required Fields --#
    function seller_registration_required_fields($required_fields){
      unset($required_fields['fname']);
      unset($required_fields['lname']);
      return $required_fields;
    }
    add_filter('dokan_seller_registration_required_fields', 'seller_registration_required_fields');

    Thank you,

    Thread Starter Sancho

    (@snzhrski)

    Thank you very much. It’s really helped me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Seller registration form’ is closed to new replies.