masster Posted March 23, 2004 Posted March 23, 2004 Hi! I am developing a new feature for OScommerce based on Matti Ressler's contribution (http://www.oscommerce.com/community/contributions,1681) which will allow visitors to build their desired 'Master product' by using 'Slave products' in Flash (see http://www.masster-productions.com/flash/classic.swf where 'Master product' = Kitchen furniture line and 'Slave products' are furniture modules - base, wall, tall cabinets) I am stucked because I don't figure out how can I send to shopping cart a list of products by clicking a SINGLE button. Any ideas, please?
Chris Dunning Posted March 24, 2004 Posted March 24, 2004 Hrm...here's something remotely similar that I did, maybe it will help. One of my clients sells artwork, also frames. She wanted to be able to add a painting and a frame to the cart at the same time. I found the add_to_cart function in application_top.php and amended it. I made it grab products_id and add that to the cart, then grab frame_id and add that also. So...this relates to you how? Perhaps you could make a loop...so that each product the customer added to his custom "master product" would have a unique product id (ie, products_id1, products_id2, products_id3). Then create a second loop in application_top to grab all of those different values and add them to the cart. I know this is rather vague, but I hope it's helpful! Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.