I created a customized step in the checkout and within this step I created a form with an input type="file". I wish that when I click to confirm the order I could take the value of the input file and save it in my directory that i indicate.

I tried with $ _FILES['file_upload']['name'] inserting it in the function saveOrder() but it doesn't work and doesn't take the value.

Any help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.