Monday 16 August 2004 7:03:22 am
No no, when I add an product object to the object relation list. It works. But the problem is, each store have it own price for a product so I can't have the price tag along with the product, the price have to be tag with the product only when added to the list. That's the problem... I don't know if you understand me, so this is the example:
There're two products, Monitor and Mouse. There're two store, Store1 and Store2, both of them have Monitor and Mouse in their product list. But Store1 sell Monitor for $100 while Store2 sell the Monitor for $200. And so on with the Mouse. So you see that I can't have a price attribute in the product class, but I don't want to creat two instances of same product to specify prices for them. Also, there's role permission here, store owner have the right to change the price of the product, but they can't edit the product, such as specifications... etc... I see there's Order field along with each object in the product list, hehehehe, maybe I'll utilize it :D
|