Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to add upload option for customers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-13-2012, 07:45 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default How to add upload option for customers

Hi,

I like customers to send me photos, is it possible to add to the contact us page "Upload file" option
or to do it on a static page?

Thanks,
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #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

The following user thanks totaltec for this useful post:
tam10 (02-13-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:43 AM.

   

 
X-Cart forums © 2001-2020