Have field for customer to upload file attached to product in cart

Posts: 59
Joined: 08/08/2007
Early adopter... addicted to alphas.Getting busy with the Ubercode.

This is G o o g l e's cache of http://www.ubercart.org/forum/support/1602/have_field_customer_upload_fi... as retrieved on 2 Aug 2007 22:10:45 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:mlK-VZrX0PEJ:www.ubercart.org/forum...

Google is neither affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: have field customer upload file attached product cart
Ubercart

* Home
* Documentation
* Forums
* Issues
* Livetest

Home » Forums » Ubercart » Support
Have field for customer to upload file attached to product in cart
Submitted by ssherriff on Sun, 07/29/2007 - 22:56
ssherriff
Posts: 21
Joined: 05/04/2007
Getting busy with the Ubercode.

Ok, I'm posting this in Support hoping I can do this without much trouble. I'm guessing it is going to turn into development.

I am doing a site where corporations can order Christmas cards that are personalised. I was able to do most attributes as dropdown boxes or user entered text fields, but I need them to be able to upload a logo. I have no idea how to accomplish this.

1. Can this be done in the current system with some creative thinking?

2. If it can't, what does everything think the best way to add this functionality in would be? At first I thought it would be good for them to be able to add it as an attribute when they are adding the card to the cart, but maybe it would be better as a cart pane so they can choose to upload only one logo for possibly many types of cards. But then of course how do you cover for the situation that one person wants a different logo on different sets of cards?

Anyway, any thoughts?

Cheers,
Steph

* Add new comment

permalinkMon, 07/30/2007 - 08:39
Ryan

Posts: 1685
Joined: 09/26/2006
AdministratorCode Monkey Head - I eat bugs.

Hmm... that's tough. I think some other folks have confronted this problem and ended up just asking for people to e-mail them the file. Sticking out tongue

One way that I could see it working out is you can require folks to login before putting products in their cart. Then, on the add to cart form, include your file upload. On future pages, you can have the file upload box include a drop down for previously uploaded files attached to that user ID. So the file would be uploaded to your site, and the product would just end up storing the filename.

This would take some work on your part, b/c I don't know of any generic file APIs like this. I believe in you, though. Eye-wink

(You could do it without requiring login, of course, it would just facilitate the prepopulated select box more. The checkout pane doesn't sound like a bad idea, but at the same time... I don't know if I'd want to get folks to checkout and then risk an upload timeout error and them running off to some other site.)

This would be a useful contribution for many folks, I'm sure.

* reply

permalinkMon, 07/30/2007 - 20:33
ssherriff
Posts: 21
Joined: 05/04/2007
Getting busy with the Ubercode.

Hmm, ok, well the store may have to start with them just emailing the file, and I'll think about this a bit more and see if I can work something out.

* reply