Home Forums Theme Support Dokan Remove Become Seller

This topic is: resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Nayem 4 years, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32003

    SEAN
    Participant
    Post count: 56

    Removing the become seller option? There were 2 selections for this.

    a – on sign-up
    b – my account upgrade

    Are there any other places that we should know of if we want to remove this option?

    Ideally it would be nice for an option in the Admin dashboard.

    #32027

    Nayem
    Moderator
    Post count: 6480

    Hello Sean,

    I am not clear about your question. Are you looking for to remove become a seller option?. Please describe me in more details.

    Thank you ๐Ÿ™‚

    #32059

    SEAN
    Participant
    Post count: 56

    I would like to remove all options for a customer or anyone to become a seller.

    #32070

    Nayem
    Moderator
    Post count: 6480

    Hello Sean,

    Please allow me some time. I have to discuss with our developer team about this. They will give me the right direction to remove this option. Please keep patience and i will be back to you soon with the right path.

    Thank you ๐Ÿ™‚

    #32142

    Nayem
    Moderator
    Post count: 6480

    Hello Sean,

    To remove become a seller option from your registration form you have to make a child theme. And paste this code remove_action( 'register_form', 'dokan_seller_reg_form_fields' ); in your child theme's function.php file and add this code in the same place to remove become a seller from account upgrade pageremove_action( 'woocommerce_after_my_account', 'dokan_account_migration_button' );

    Thank you ๐Ÿ™‚

    #36065

    SEAN
    Participant
    Post count: 56
    This reply has been marked as private.
    #36093

    Nayem
    Moderator
    Post count: 6480

    Hello Sean,

    I can direct you to the main file and where you have to work. Please open Dokan plugin/includes/template-tags.php and find those line 481-484 and comment out those line.

    <label class="radio">
                <input type="radio" name="role" value="seller"<?php checked( $role, 'seller' ); ?>>
                <?php _e( 'I am a seller', 'dokan' ); ?>
     </label>

    . If you want to keep this changes after update your plugin then you have to do this in your child theme.

    Thank you ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Remove Become Seller’ is closed to new replies.