View Single Post
  #2  
Old 02-13-2012, 07:55 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to add upload option for customers

Sure it is possible, I've seen some nice upload scripts out there like this one: https://github.com/valums/file-uploader or you can investigate X-carts default file upload capabilites and see about incorporating that.

I think you may be setting yourself up for a potential security risk if you don't take proper precautions though. The file needs to be uploaded, then scanned, then moved to a safe directory. Ovious things like checking file formats, having a list of allowed formats, and limiting size are important.

BCSE also has a product image attacher, which I have used recently and it did the job. Attaches files to products though. (Is attacher even a word? I don't think so.) :_)

http://www.bcsengineering.com/store/x-cart-order_product-image-attacher.html
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote