[Zope] Programmatically adding my product

Tim Hicks tim@sitefusion.co.uk
Thu, 22 Aug 2002 13:24:22 +0100


> I have the same problem as Damon. I have a product based on a ZClass.
> I have followed the example of the cookbook, and can easily get OFS 
> products to add because they seem to have a   
> manage_addXXXXXX(id='yyyy') attribute.
> 
> However, my product based on the ZClass has no such attribute, hence the 
> attribute error. The only attributes it appears to have are '_product' 
> and '_d' and none of those appear to have an attributed 
> 'manage_addXXXXXX(id='yyyy').
> 
> Any further help greatly appreciated.

Did Oliver's link not help??

tim

> > please see
> > http://www.zopelabs.com/cookbook/1012279676
> >
> > for an explanation how to do that.
> >
> >
> > cheers,
> > oliver