Dokan Add terms and condition field in registration form

This topic contains 5 reply and 3 voices, and was last updated by Nayem 9 years ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
March 26, 2015 at 2:26 pm 40043
Nayem I tried adding this http://docs.wedevs.com/add-more-fields-dokan-registration-form/ but after I uploaded to my site I am getting this error. Parse error: syntax error, unexpected '<' in /home/content/17/11771017/html/wp-content/plugins/dokan/includes/template-tags.php on line 385 Also how can I set the seller address and phone number as non required fields?
March 26, 2015 at 2:52 pm 40046
Kris Kris

I figured it out was pasting it on line 385, but it was on line 477 for me… just pasted it below the last required field. Also removed required fields for address and phone number.

March 26, 2015 at 3:09 pm 40048
Kris Kris

well when I removed the required fields it was still giving Error: Please enter your address. I tried deleting all the address and phone code. It would not display on the form which was good, but I would still get Error: Please enter your address. Even when the code was gone?

How would you set the Address and Phone as non required or even optional? It seems pointless to have when the user can just go to settings after and delete the information after signing up. Plus most people don’t want their personal information available.

March 26, 2015 at 9:54 pm 40073
Nayem Nayem

Hello Kirs,

I have to discuss with our developer about this. It is now holiday here and they will be available from sunday. Please knock me here at Sunday. I will help you to do this.

Thank you 🙂

March 28, 2015 at 7:27 am 40138
Brenda Brenda

If it is a seller (not buyer) getting their contact info is prudent for you to do. Unless perhaps you are setting up a trade site (free) that doesn’t require transfer of money.

March 29, 2015 at 11:48 am 40229
Nayem Nayem

Hello Kris,

If you want to make a field non required then from the filed you have to remove the required class. Like as- <label for="seller-address"><?php _e( 'Address', 'dokan' ); ?><span class="required">*</span></label> you have to write this code as –<label for="seller-address"><?php _e( 'Address', 'dokan' ); ?>*</span></label>

Thank you 🙂

Viewing 5 Posts - 1 through 5 (of 5 total)