From: Dylan J. <me...@dy...> - 2005-06-26 02:30:44
|
Hi, I've been thinking about it and here is my proposed solution. Please tell me if there is an easier way or if I will run into trouble. Overridding cartitem is the wrong way to go. What we need is a IMallItem that is created when addtocart.py is called which then redirects to the edit view of the item. This CustomisedItem has no price of its own but is linked to the original item. Its schema is the customizations allowed (this means it needs to hand coded each time. Is there a better way?). Its lifetime is that of the CartItem (I think that can be done by containment). Things I'm not sure about. -reediting the object will mean updating the cart skin so it links to the object. -What happens when you go 'save' on the item. It really should go to the cart or something. -Not sure how generalised this idea is. What if different customisations required different pricing? -Not sure about the lifetime of the order. Does the cart become the order? Dylan Jay Web Builder dy...@pr... --- www.pretaweb.com - Reliable & responsive CMS website development Ph:+61(0)421477460 ~ Y!+Skype:dylan_jay ~ ICQ:520341 ~ SIP:dj...@ba... > -----Original Message----- > From: col...@li... [mailto:collective- > com...@li...] On Behalf Of Dylan Jay > Sent: Sunday, 26 June 2005 11:54 AM > To: col...@li... > Subject: [Collective-commerce] CustomisableProduct > > Hi, > I'm new to PloneMall. > > I have an application that requires purchasable items that can be in 1 of > 4 > colours, have 1 of 22 icons on it and have any name of the users choice on > it. Obviously ItemVarient is not enough to enable this level of > customisation. My question is, how do I go about doing this? Has anyone > tried doing this in PloneMall before? > My initial investigation leads me to CartItem, either I need a custom cart > item or a personalised malitem to be created along with the cartitem. > Suggestions? > > Dylan Jay > Web Builder > dy...@pr... > --- > www.pretaweb.com - Reliable & responsive CMS website development > Ph:+61(0)421477460 ~ Y!+Skype:dylan_jay ~ ICQ:520341 ~ SIP:dj...@ba... > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Collective-commerce mailing list > Col...@li... > https://lists.sourceforge.net/lists/listinfo/collective-commerce |