Reputation: 26160
I am developing a cart (utilizing OpenCart). The cart allows people to order prints of images. Because the images will be high resolution and therefore large files, I need a method that allows the following:
It seems the key is to put the files into a queue, and for that queue to persist across page loads until completion of the order.
I'm familiar with PLupload and have found Uploadify, but do not see in their documentation how to accomplish what I'm after.
Can you get me pointed in the right direction? I'm sure this is doable, I'm just unsure how to get started and am unable to find any writeups/documentation around this specific issue.
Thanks!
Upvotes: 0
Views: 871
Reputation: 1062
If you're not using AJAX for all state changes, you can't "remember" a file upload input and repopulate it. (When using AJAX you could hide the forms). You can either let the user upload files right before checkout (not a good practice) or let the user upload in a popup and have the popup use AJAX so you can add forms on the fly as soon as new items are added to the cart.
Upvotes: 2