File uploadin in seller registration form



  • I want to add file uploading in registration form for seller. Where should I add 'enctype="multipart/form-data"' to enable form for file uploading.

    I have tried to add it on 'Webkul\Shop\src\Resources\views\customers\signup\index.blade.php ' but its not working.



  • Hi @ppstech

    First of all don't do changes in core file, override it, then you can use 'enctype="multipart/form-data"' on your overrides form. Provide path of your packages controller tho this view & do necessary action.

    If you face any problem, them add a screenshot for same.

    Thanks



  • Thanks.

    One more query, In product add, how can I make at least one image mandatory?



  • Hi @ppstech

    You just need to add required validation there after overriding product view file (for images).

    Thanks


Log in to reply