Home Forums Theme Support Dokan remove become a seller

This topic is: not resolved

This topic contains 11 replies, has 2 voices, and was last updated by  towhid 3 years, 11 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #46038

    obiora
    Member
    Post count: 57

    can i remove the become a seller from the registration and update form.
    even though the admin manually accepts sellers i dont want customers to feel its as easy as clicking become a seller
    thank you

    #46042

    obiora
    Member
    Post count: 57

    please it is very urgent

    #46087

    towhid
    Participant
    Post count: 4505

    Hello Obiora,

    Please try this following code in your theme's functions.php and let me know the result.
    remove_action( 'woocommerce_after_my_account', 'dokan_account_migration_button' );

    Thanks

    #51590

    obiora
    Member
    Post count: 57

    how do i remove the ‘i am a seller' in the registration form.

    #51592

    towhid
    Participant
    Post count: 4505

    Please navigate to plugins/dokan-plugin/includes/template-tags.php

    Find and comment out below lines of code.

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

    Thanks

    #51633

    obiora
    Member
    Post count: 57

    please your response to remove the become a seller button in account migration

    ‘Please try this following code in your theme’s functions.php and let me know the result.
    remove_action( ‘woocommerce_after_my_account', ‘dokan_account_migration_button' );

    there is no such command in theme functions.php

    #51658

    towhid
    Participant
    Post count: 4505

    Hello,

    I told you to insert the following code at the bottom in your theme's function.php then become a seller will be removed.

    remove_action( ‘woocommerce_after_my_account', ‘dokan_account_migration_button' );

    If you encounter any other complexity please let me know.

    Thanks

    #51692

    obiora
    Member
    Post count: 57

    i pasted it as the last line in the php script. it did not solve the problem
    what else can i do

    #51694

    towhid
    Participant
    Post count: 4505

    Please provide your login details(FTP also) by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

    Thank you 🙂

    #51835

    obiora
    Member
    Post count: 57

    I have done that

    #51920

    towhid
    Participant
    Post count: 4505

    Hello Obiora,

    I have tried to login your site but failed. Because the login details you have provided to me is not working. Can you please check yourself. Also send me FTP details as well.

    Thanks

    #51931

    towhid
    Participant
    Post count: 4505
    This reply has been marked as private.
Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘remove become a seller’ is closed to new replies.