| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to add upload option for customers | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() 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. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|