July 15, 2015 at 2:30 am #55799
The profile for a vendor lacks the possibility to input VAT number – it's a must-have.
Also could you be so kind and show/tell how to make a field obligatory to fill?
MarcinJuly 15, 2015 at 1:51 pm #55853
Right now we do not have this feature. If you want then you have to add some custom code in the registration option. Please open Dokan plugin folder/includes/template-tags.php file. In this file you will get
reg_form_filedsfunction to insert filed for regisrtaion.
Thanks.July 16, 2015 at 3:36 am #55946
And this is the only thing to do? Nothing more?July 16, 2015 at 12:11 pm #55977
You can do more by more customization. It depends on your query. To show this filed in the admin backend you have to add some code in the admin page.
please open this file plugins/dokan-plugin/classes/admin-user-profile.php. In this file, there is an action name
do_action( 'dokan_seller_meta_fields', $user );. You can extend the user profile through this action.
Thanks.July 19, 2015 at 12:21 am #56262
ChristopherMemberPost count: 16
I insert “reg_form_fileds” and the field is showing good on my dokan dashboard with the “do_action( ‘dokan_seller_meta_fields', $user );” but the field is empty(after a seller registration) how can I do to save and show the vat number of a seller ?
ThanksJuly 19, 2015 at 3:09 pm #56288
I have told you the way to insert and save the data for the seller. Now if you want more customization then please hire a developer. Because we do not provide support for customization.
Thanks.July 20, 2015 at 1:45 am #56349
of course I do not mean to offend you, but lack of the possibility to enter the VAT number is serious.
We don't buy your software to be forced in the next step to hire extra devs to make DOKAN usable.
It is supposed to be some kind of a business platform, and in this case we need it to be usefull for entrepreneurs. Without this it hard to process invoices etc.
So please release a patch, or a simple instruction how to add the VAT no field in the form, so that it's accessible just like all the other information.
Hope you understand our position.
M.July 20, 2015 at 2:16 am #56351
M. Michele RodriguezMemberPost count: 27
Have you tried the VAT plugin? There is one for free on WordPress. I'll try it and let you knowJuly 20, 2015 at 4:04 pm #56369
We did not test this plugin yet.
I have told in my previous reply that which file and which function you have to use to create a input filed. Then to show that data of the filed in seller profile you have to add code in another page. Please check-#55853 and #55977.
Now please open those file I have mentioned. First open template-tags.php and find that function
seller_reg_form_field. In this function you will see the code for registration form. Create a field to insert vat number.
Then you have to call the filed into the admin-user-profile. If you want to show the vat number in the store page of the seller then you have to call the vat number function in store-header.php file of Dokan plugin.
The topic ‘Vat number in registration form’ is closed to new replies.