hi,

I have been thinking on how to implement this...

We have default Line items and some extensions of it as Shippable items.
(I always though this was a bit confusion, because a shippable item is a
buyable item, but ok)

So we should create a new extension

class VariableLineItem( LineItem ):

I don't know what would be a nice aproach, but there are many ways to do
this.

We could have a ViariableItem object that stores multiple ShippingItems
inside it..(I always use shippable items, because hey are more complete
than Payable items and can have attributes like weight)

I see that Mikko's approach was to create a factory that create a
payable item and then modify it. The item gets a variation code, that is
used in the cart to identify it.

Or maybe we could have this item with a dictionary storing its
prices/colours/sizes/etc , then modify the portlet to deal with it...

Anyway, I think those line just show that I don't know very well getpaid
code. So one more time I cry for a getpaid ninja help...  Can we meet in
#getpaid irc to discuss how to and implement this? It sure is the most
needed feature now... And it should not be an add on product, instead
this should be out of the box...

Thanks,

rafael




 

-- 
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | 
http://code.google.com/p/getpaid (code and issue tracker)
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to getpaid-dev@googlegroups.com
To unsubscribe from this group, send email to 
getpaid-dev+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en

Reply via email to