I have added this input to the registration form.
Hi @Sara_apr ,
We cannot pass the URL using the input type file.
First we have to setup a middleware for the file upload and on file upload we will get the URL.
The URL then can be passed in the customer metafield as well as customer notes.
Let me know if you need any assistance.
Thank you
Hi
Thanks for your reply. Can you recommend me a middleware for shopify?
is there any tutorial about it? I am new in shopify
HI @Sara_apr ,
We do have to add the middleware in the server.
Do you have cpanel for it?
As I can’t find any tutorial but I can assist you with the code.
Thank you
No unfortunately my webhost doesn’t have cpanel
Hey @Sara_apr ! If you are still looking for a solution for this, one option would be something like the Helium Customer Fields app, which lets you create custom registration forms, including adding fields for file uploads. When a file is collected through the form, it will be saved to the app’s database, and a URL reference for the file will also be saved into a metafield on the customer’s account.