Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can customers upload own image when ordering?


copy

Recommended Posts

Posted

I am preparing shop for selling printed t shirts and I would like that customers can choose how t-shirt

should be printed, but just before placing final I would need an option that customer would upload

own image (picture, .cdr, jpg.. file) to a server and we can than print t-shirt with that image.

Thanks a lot!

Miran

Posted
Do a search for ezUpload Pro - I use it on my website and it works great. Never had any problems. You could even put the ezUpload Pro folder in your catalog directory, create a new page for the upload box..

 

http://www.scriptscenter.com/ezupload/

 

Thanks... but script is not free.... I would like to integrate it into order form and I am a

programmer...

Posted
Thanks... but script is not free.... I would like to integrate it into order form and I am a

programmer...

 

Sorry Big mistake - I AM NOT a programmer!!!

Therefore any help or suggestions more than welcome!

Posted

osC does have a function that may help but it is in the admin folder page:

catalog/admin/includes/functions/html_output.php

function tep_draw_file_field($name, $required = false) {

 

This is the same function that creates the upload image box in your admin panel for product images, category images,,,

problem would be this function is not on the page:

catalog/includes/functions/html_output.php

 

So you would have to put it there if you want to use it in your online store. Copy the funtion to the above page and then call it and it would create an upload browse button for the customers pc and textbox. Same as you see in the admin panel. You would need to place this inside a form and include a submit button. When the user submits an image, the values could be received via post var, then you would need to specify a path to save the file in. Should work..

Lloyd

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...