This topic contains 3 reply and 3 voices, and was last updated by Sekander Badsha 5 years, 2 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
July 25, 2014 at 10:22 pm 24121
Sekander Badsha 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
July 27, 2014 at 9:16 am 24161
Mahi Mahi

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/

July 28, 2014 at 8:56 pm 24240
Kevin Kevin

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

August 6, 2014 at 1:43 pm 24641
Sekander Badsha Sekander Badsha

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