File Upload Button

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
ZPCAC
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 40
Joined: Wed Apr 16, 2014 11:08 am

File Upload Button

Post by ZPCAC » Mon Aug 21, 2017 6:55 am

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 !

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: File Upload Button

Post by kwikstand » Tue Aug 22, 2017 2:25 pm

I might like this too. It might be nice if it was somehow attached to the order.
Contractor's Solutions
www. contractors-solutions.net

sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Re: File Upload Button

Post by sweeperq » Wed Aug 23, 2017 4:58 am

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.

ZPCAC
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 40
Joined: Wed Apr 16, 2014 11:08 am

Re: File Upload Button

Post by ZPCAC » Wed Aug 23, 2017 6:04 am

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 ?

User avatar
calvis
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 710
Joined: Tue Jan 27, 2004 3:57 pm
Location: Redmond, WA

Re: File Upload Button

Post by calvis » Wed Aug 23, 2017 8:16 am

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.
Able Customer Since 1999 Currently Running on GOLD R12 SR1 and PCI Certified.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: File Upload Button

Post by jmestep » Wed Aug 23, 2017 11:25 pm

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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: File Upload Button

Post by AbleMods » Fri Aug 25, 2017 2:25 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply