24 Oct
2001
24 Oct
'01
10:47 a.m.
But this doesn't work:
for item in memberfolder.objectValues('MMM Shop Shopping Cart'): shopping_cart = context.getId()
return shopping_cart
Now I expected to recieve a string containing 'Shopping Cart', but I recieved a string containing 'CD001' which is a product, not a shopping cart.
Doesn't objectValues() work in python scripts ?
if it's : for item in memberfolder.objectValues('MMM Shop Shopping Cart'): shopping_cart = item.getId() return shopping_cart then I can consider I'm no more a "newbie" ;-) context is not changed by the for in loop or is it ? If it doens't work, send me hate mail ;-) Philippe