• Resolved cliqueradar

    (@cliqueradar)


    Hi,

    I’m playing around with Dokan to see if it’ll fit my needs… it’s pretty damn good, by the way… but, got a little problem I’m struggling with.

    I wanted an extra field on the seller registration form. I had little trouble customising this for the default form on the my-account page registration, and it works perfectly. However… if I use the Dokan shortcode for the vendor registration, so I can have a dedicated vendor sign up page… it doesn’t work.

    I see there’s a vendor-registration.php file in dokan-lite/templates/account/

    Is this the file I need to modify to get the same result as adding an extra field on the default registration form? And if so… would it need it’s own function added to functions.php or would the one I created for the my-account page work for this form, too?

    Many thanks,

    Del.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @cliqueradar,

    It seems like you are trying to modify the incorrect file. The registration form can be modified to add a custom field. Modification is required on the file :
    /wp-content/plugins/dokan-lite/templates/global/seller-registration-form.php

    You can use the mentioned Plugin that is custom-built for the purpose:

    I hope this will help you with the requirement you have. Let me know if you have further queries : )

    Best Regards.

    Thread Starter cliqueradar

    (@cliqueradar)

    Thanks for the reply.

    However… that is in fact the file I copied over to my child them and edited. And… it works like a charm, but only on the registration form on the ‘My Account’ page.

    If however, I use the Dokan shortcode to put a vendor registration form on another page… that form does not have the extra field I’ve added.

    Do you see what I mean?

    Does the shortcode use a different version of the form?

    That’s why I asked if maybe it was pulling from the vendor-registration.php file, in /wp-content/plugins/dokan-lite/templates/account/vendor-registration.php

    Although… I did go ahead and copy that file over to my child theme and edit it too, but… extra field still doesn’t show up when I use the shortcode version of the form.

    Hello @cliqueradar ,

    If I understand correctly, you are using this shortcode to show the registration form: [dokan-vendor-registration]. Is that right?

    This shortcode is pulling the lines from the template file that you have already found: /wp-content/plugins/dokan-lite/templates/account/vendor-registration.php

    Please confirm that you are overriding the file properly in your child theme. The file needs to be under your-theme/account folder with the exact same name.

    Let me know if you have further queries.

    Thank you ??

    Hi @cliqueradar,

    Since we haven’t got any further reply from you, so I mark this topic as resolved. If you’ve any further queries, feel free to create a new thread.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vendor registration shortcode+custom fields’ is closed to new replies.