Hi There,
I want make Upload Button my product page.When Customer visit our store than they Upload her Design or File.I was try Wix code use.But i was failed.I need any help how to do step by step.Please any one help me.
Thank You
See the tutorial How to Use the Upload Button with Code .
Hi,
Thanks for response.I was already try this.But i am faild.
Hey,
First i need a database connect Upload button ?
As the article explains, you need an Upload button to choose a file, and a regular button to trigger the actual update.
The article explains in full detail what you need to do and how.
I want when customer order me than upload her Design.
You can add the components and the code as described in the article to your page. I tried it myself and it works.
Here’s the page with the added components:
After selecting an image to upload:
After selecting the image to be uploaded:
Here’s what it looks like after the upload is completed:
As you can see, I selected a picture, then clicked on Button, and a short while later the picture upload was completed. In my example I only displayed the picture on the screen. You might choose to save to a database collection.
Good luck,
Yisrael
Hey,
I was add the components see
And add the Code See
But it’s not work.Please help my problem.
Thank You
The errors indicate that you do not have a Text component to display the messages. You need to add a Text component with #text1 as the ID.
Yes,I was fix text but still not work.See
What doesn’t work? Are you getting errors in the Developers console?
I don’t know.Because i don’t have API Code Knowledge.Can you tell send me video first to late Please ?
We appreciate your interest in really getting the most out of Wix Code and how much you want to learn. Please understand that if you are going to work with code extensively in the product and not just the features in the user interface, you will need to familiarize yourself with basic coding concepts, and to learn the API to accomplish what you want. We are happy to get you pointed in the right direction and get you started with what the code should look like, but you’ll need to take it from there.
You may also want to check out the WixArena - it’s a hub where you can look for Wix Code (and other) experts for hire.
Thanks for your understanding.
Hey,
This time i don’t have expert hire position.I again do start work show you step by step.
Hey,
I was do.now it’s work.But can you tell me this upload file how to i find ?
@yisrael-wix is there any reason it isn’t possible to do the upload in the upload button’s .onChange event instead of using another button? I tried and get some errors I haven’t figured out yet, and I’m wondering whether this is something we can work around…
Hi YIsrael, Although it has been a long time since the post was written here, I came to it in an attempt to find a solution to the exact same problem. I want to add an image upload option to a specific product I have. I read the guide you attached and I succeed to add an option to upload an image to reviews or another form but I could not figure out how to add an image and link it to a product option so that I could figure out from a customer’s order which image he attached to his order. I would be very happy for guidance from you. Thanks!
Thanks for response.I was already try this