Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Add a upload option for a product
Author « Topic »  

Terry Paulhus
Ecommerce Template Expert

Canada
573 Posts

Posted - 03/09/2020 :  10:39:32  
I'd like to add a upload option on one of my products. This would enable the client to upload artwork.

Can you point me in the direction of how to do this?

Terry (Redsei)

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 03/09/2020 :  11:19:34  
Hi Terry,

Vinces post here will help:
[url]https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=112093[/url]

Order Image Uploader
You can now accept image uploads attached to an order if required. For instance, if you sell fabric you could allow a customer to upload an image of a design with the order. The image upload happens after payment to deter hackers from trying to circumvent security and the images can be safely stored outside the web root.
To enable the image upload, the first thing you will need to do is specify the upload directory on the admin main settings page. The path to the site root is given to help find the directory location, but for security reasons you should always specify a location outside the web root. Then on the admin products page, in the "Quick Entry..." choose "Image Upload" and check the products that allow an image upload.
Other parameters related with the image upload are...
uploaditemsperorder=1
$uploaditemsperorder=1;
Normally only one image is allowed per ordered item but you can increase that with this parameter.
uploadmaxfilesize=2*1024*1024
$uploadmaxfilesize=2*1024*1024;
uploadfiletypes=".bmp,.gif,.jpe,.jpeg,.jpg,.pdf,.tif,.tiff";
$uploadfiletypes=".bmp,.gif,.jpe,.jpeg,.jpg,.pdf,.tif,.tiff";
Specifies the filetypes of the images that can be uploaded.

Regards,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000