[Wordpress] Need to add a plugin to another

Associate
Joined
17 Dec 2009
Posts
2,008
I'm currently working on a website for my dad for a buisness hes setting up and with age old html skills im rather struggling as i didnt delve much into php last time, only to edit php content within a forum or e107 which i used at the time.

The problem I have is that, uplon ordering I need to have a way to collecting the image they want us to print, and also link it to the cart. I currently had the idea of using nextgen public uploader and I have changed description to surname to somewhat manually collect the data.. but this causes problems such as multiple canvas orders, different sizes ect. I was thinking would they be a way to add a popup box(prefer no window due to popup blockers but will consider)having the browse function? Maybe even just adding a link to a new page popup with a form to browse file, give attributes to ask for ref and email it to me.

any help would be apreciated

After choosing item and adding to cart if should popup a browse to upload image and record item disc.
http://www.print-shed.co.uk/?product=canvas



Upload page
http://www.print-shed.co.uk/?page_id=150
 
What cart plugin are you using? It is a slightly complicated problem, not every thing in the cart will have the same image - so you can't have just the one upload really (you could, but can you rely on customers to fill out the text form correctly, like put this image on item 1). How does the competition do this?

There are different types of popup, for instance Javascript popups which just overlay over the page. Then reference the image uploaded there to the item in the cart individually.

Generally referencing by something not unique (surname) is a bad idea. Reference it by order number instead.
 
Im using woocommerce as my cart. Yeah i guess order number would be better, but was thinking what if people feel tey want to upload first before they pay? Ther irder number wouldnt exist.

What you mentioned about java sound about right. Popup page onscreen so they must submit, also referencing the image to the said purchased items. As for multiple items i think it would be simpler to limit add to cart to only One per click
 
If you wanted to upload before you paid then you could save it to the session and then once they have paid take the image reference from the session and put it into the order. There are ways around it.
 
Okay so I've had time to have a look at a few different things and have edited the public uploader to incorperate more fields into the image description.. now i need to find out how woocommerce hooks the product variences once you click the add to cart button and use the same info myself to fill out into the fields on the upload form. i would also have to add an action on add to cart to open a jquery iframe lightbox to the upload page so that its all done with one path to make it easyer for the customer.

http://www.print-shed.co.uk/?page_id=150

another problem that i beleive i will run into would be linking the image to the cart order automatically. Without said customer purchasing and woocommerce opening up an order number i have no way of tracking which picture would be linked to said order if that makes sense. Im unsure how woocommerce references the cart and how i would still be able to link said picture to order.

im struggling to achieve such a thing with litle to know knowledge of any tools. where is the best place to find help?
 
Last edited:
Back
Top Bottom