Vat number in registration form

This topic contains 8 reply and 4 voices, and was last updated by Nayem 9 years, 4 months ago
Viewing 8 Posts - 1 through 8 (of 8 total)
Author Posts
July 15, 2015 at 2:30 am 55799
Nayem Hi, 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? Best regards Marcin
July 15, 2015 at 1:51 pm 55853
Nayem Nayem

Hello

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_fileds function to insert filed for regisrtaion.

Thanks.

July 16, 2015 at 3:36 am 55946
Marcin Marcin

And this is the only thing to do? Nothing more?

July 16, 2015 at 12:11 pm 55977
Nayem Nayem

Hello,

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
Christopher Christopher

Hi,

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 ?

Thanks

July 19, 2015 at 3:09 pm 56288
Nayem Nayem

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
Marcin Marcin

Nayem

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.
Best regards
M.

July 20, 2015 at 2:16 am 56351
M. Michele Rodriguez M. Michele Rodriguez

Have you tried the VAT plugin? There is one for free on WordPress. I’ll try it and let you know

July 20, 2015 at 4:04 pm 56369
Nayem Nayem

Hello,

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.

Thanks.

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