sabotage79 Posted October 1, 2002 Share Posted October 1, 2002 Im working on a page so that customers can enter in text, choose a font, color, etc,, and an image is generated on the fly. This 'image', or item will be created and sent to the customer exactly as it appears on the page. Ive got all that working, but I really have no clue as to how I could get this 'generated item' into OSC shopping cart. I guess since this item is 'made up', and doesn't really exist in the database as an 'item', i really have no clue where to go from here. I would really appreciate ANY input on this matter. Thank you! :) Link to comment Share on other sites More sharing options...
mattice Posted October 1, 2002 Share Posted October 1, 2002 You could possibly do it by saving your image and insert it as an existing product in your database after which you automatically inject it into the shopping cart... I would surely try to get it in the database as well, otherwise you cannot offer your clients stuff like "order history" etc. There is no standard solution to do this, you'll have to do serious hacking to implement it. Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
sabotage79 Posted October 1, 2002 Author Share Posted October 1, 2002 Thank you for your reply! What im mainly concered with is getting the item into the shopping cart, thats it. I need it so the item's price is in there to effect the total, and I need it in there for my reference. So if they choose RED/TIMESROMAN/'Text Here', it will show up in the order so we know what they requested. It doesn't have to be fancy, just get the item in the shopping cart with the price, and the customers 'selections'. Thanks again! Ryan Link to comment Share on other sites More sharing options...
mattice Posted October 1, 2002 Share Posted October 1, 2002 Depending on what you can and cannot do with the image this shouldn't be too hard to accomplish. If the scenario is that all images have the same price you could save the image somewhere as 012345.jpg and then force a 'product' called 01235.jpg in the cart with additional price. The tricky part is you'll want customers to pay before they get the image I guess? "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
sabotage79 Posted October 1, 2002 Author Share Posted October 1, 2002 I really appreciate your response! Basicly, the customer can create a 'customized' product, with there name on it for example. They enter in some text, pick a font from the list, choose a color and hit 'Submit'. The page reloads, now with a rendering of the selection. They can go ahead and order this item, also choosing a few other options as well, such as 'size', or they can change the configuration, and see a new rendering. Once they are happy with the output, they click 'buy' or what have you. Prior to the 'generating' of this 'product', it had not exsisted. Hope it all makes sence, and thank you again for your time! Take care, Ryan Link to comment Share on other sites More sharing options...
mattice Posted October 1, 2002 Share Posted October 1, 2002 Sort of like make your own t-shirt / coffee mug kinda thing? Let's say a t-shirt. You have a non-color t-shirt as a product with attributes as color and size. So your customer would choose a Red - Medium t-shirt (done through the existing technology) and put a Yellow -Verdana - 15px - "www.mysite.com" (done through your hack) on the front... am I right? And you show him the end result in a picture and need the $vars to be included in your order PLUS the result picture? sure it can be done :D but I cannot give you a "drop in" example code, it would take pretty heavy customization, specifically for your needs.... Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
mcbsolutions Posted August 4, 2003 Share Posted August 4, 2003 I really appreciate your response!Basicly, the customer can create a 'customized' product, with there name on it for example. They enter in some text, pick a font from the list, choose a color and hit 'Submit'. The page reloads, now with a rendering of the selection. They can go ahead and order this item, also choosing a few other options as well, such as 'size', or they can change the configuration, and see a new rendering. Once they are happy with the output, they click 'buy' or what have you. Prior to the 'generating' of this 'product', it had not exsisted. Hope it all makes sence, and thank you again for your time! Take care, Ryan Hi, I am looking for a way to do something very similar, like creating an online proof. I would like a customer to create a custom "label" by typing their name and address text, select fonts, sizes, etc, and have it generate the image on the fly. Did you do this using GD? If so, if you have any code to share or could help me out in any way, I would be most appreciative. Steve Link to comment Share on other sites More sharing options...
spayce_girl Posted June 1, 2006 Share Posted June 1, 2006 I'm trying to figure out if I can do something like this. All I want to do is have a link that already has an item in the shopping cart session and so when a person clicks on the link they will be on the osc check out page with this one item in the cart. Is this still something that would require heavy modification? I'm up for it but I wanted to hear from expert programmers to which direction I should go. Most of my clients are into very, very fast checkout procedures after they read a salesletter and are NOT interested in adding to a shopping cart etc. I could easily add a paypal button and be done with it but I need the download and inventory control of osc. Please help if you can. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.