Remove Become Seller

This topic contains 6 reply and 2 voices, and was last updated by Nayem 9 years, 1 month ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
December 8, 2014 at 8:50 pm 32003
Nayem 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.
December 9, 2014 at 12:49 pm 32027
Nayem Nayem

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 🙂

December 9, 2014 at 10:20 pm 32059
SEAN SEAN

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

December 10, 2014 at 10:28 am 32070
Nayem Nayem

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 🙂

December 11, 2014 at 2:30 pm 32142
Nayem Nayem

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 🙂

February 7, 2015 at 7:18 pm 36065
SEAN SEAN This reply has been marked as private.
February 8, 2015 at 10:29 am 36093
Nayem Nayem

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 6 Posts - 1 through 6 (of 6 total)