Page 1 of 1

File Upload Button

Posted: Mon Aug 21, 2017 6:55 am
by ZPCAC
As a part of our custom product development we would like to offer a File Upload for artwork when entering custom product requirements. Is there any built in features i can use to do this ?

Ive found some HTML examples online that give me the upload button and the browse button but lack any functionality.

Is there any site or snippet of code anyone would suggest ?

Thanks !

Re: File Upload Button

Posted: Tue Aug 22, 2017 2:25 pm
by kwikstand
I might like this too. It might be nice if it was somehow attached to the order.

Re: File Upload Button

Posted: Wed Aug 23, 2017 4:58 am
by sweeperq
Completely understand the requirement, but be very careful when allowing uploads directly to your ecommerce server. It is an easy way to get hacked and lose control of your server when not done properly. You are going to want to filter which files can be uploaded on the client side and server side, plus have checking on the server side to make sure the content of the file matches the file type.

Re: File Upload Button

Posted: Wed Aug 23, 2017 6:04 am
by ZPCAC
sweeperq, thanks for the info !

Ive found an available plugin for a File Uploader, link here --> http://store.web2market.com/File-Uploader-p48.aspx

Has anyone used this product ? If so, could you provide a brief review of your experience ?

Re: File Upload Button

Posted: Wed Aug 23, 2017 8:16 am
by calvis
Hi ZPCAC,

While we have never purchased the plugin that you are inquiring about we have purchased several others from Web2Market which we have been very pleased with. I will note that you will most likely need to modify it to make it work according to your requirements, but that is expected. We find their plugins to be a great foundation to build up on.

Re: File Upload Button

Posted: Wed Aug 23, 2017 11:25 pm
by jmestep
I wrote the plugin several years ago. The description on the site is a little misleading because it had been customized differently for some sites and the default plugin does not do anything on the product page. After the customer places an order, he can upload the art files from the my order page and an order note is created about the upload also. Then there is an admin page that shows the uploads for all orders. It uses a component and features from http://ajaxuploader.com/ for the upload functionality, for which we purchased a license.

Re: File Upload Button

Posted: Fri Aug 25, 2017 2:25 am
by AbleMods
Definitely better to implement the upload somewhere after the checkout is complete. You don't want anonymous shoppers flooding your site/server with unwanted images.

Better to do it as Judy pointed out, on the My Order page.

You'll also want to consider some sort of periodic cleanup routine that purges old/completed images so your website disk space doesn't get gobbled up over time.