Home Forums Theme Support Dokan Vat number in registration form

This topic is: not resolved

This topic contains 8 replies, has 4 voices, and was last updated by  Nayem 3 years, 9 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #55799

    Marcin
    Member
    Post count: 18

    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

    #55853

    Nayem
    Moderator
    Post count: 6480

    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.

    #55946

    Marcin
    Member
    Post count: 18

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

    #55977

    Nayem
    Moderator
    Post count: 6480

    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.

    #56262

    Christopher
    Member
    Post count: 16

    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

    #56288

    Nayem
    Moderator
    Post count: 6480

    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.

    #56349

    Marcin
    Member
    Post count: 18

    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.

    #56351

    M. Michele Rodriguez
    Member
    Post count: 27

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

    #56369

    Nayem
    Moderator
    Post count: 6480

    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 9 posts - 1 through 9 (of 9 total)

The topic ‘Vat number in registration form’ is closed to new replies.