Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    File uploadin in seller registration form

    General Discussion
    2
    4
    348
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      ppstech last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        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

        1 Reply Last reply Reply Quote 0
        • P
          ppstech last edited by

          Thanks.

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

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hi @ppstech

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

            Thanks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post