Home Forums Theme Support Dokan I would like to make the registration form default to, "I want to buy and sell"

This topic is: resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24121

    Kevin
    Member
    Post count: 46

    I would like to make the registration form default to, “I want to buy and sell”.

    Can you tell me what to edit to do this?

    I would greatly appreciate it!
    Thanks,
    Kevin

    #24161

    Mahi
    Member
    Post count: 1555

    you mean you Don't want users to choose from customer/seller option at all? or just want to change “I am a seller” text to “I want to buy and sell” ?

    you can change that text by going to – wp-content/themes/dokan/includes/template-tags.php line 494

    you should change that on your wp-content/themes/dokan/languages/dokan.pot file as well (if using multi language) on line 1820

    please be note: if you update to new Dokan version you may loose your custom works. So, it always a good practice to do modifications on a child-theme.

    http://docs.wedevs.com/category/themes/dokan/developer-documentation-dokan/child-theme/

    #24240

    Kevin
    Member
    Post count: 46

    Hello,

    No. I am actually just wanting the option to be preselected. Does that make sense?

    Instead of “I want to buy” being automatically checked I want “I want to buy and sell” to be automatically checked.

    Thanks,
    Kevin

    #24641

    Sekander Badsha
    Member
    Post count: 2067

    Hello Kevin,
    Open template-tags.php which is located at ‘\wp-content\themes\dokan\includes\' go to line number 446 and 447, you'll see the fallback role is set to customer. Changing that to seller would work.

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

The topic ‘I would like to make the registration form default to, "I want to buy and sell"’ is closed to new replies.