Forums / Setup & design / eCommerce question
Michele Toscan
Friday 22 December 2006 6:08:56 pm
I have a record distribution, but I also deal with some dvd movies as well and i'd like to add a few more titles in the future. I was wondering if it's possible to attach a certain number of attributes to a certain item to make cross reference researches. In other words, I'd like to display format/year/label for my cds, format/year/label/conditions for my vinyl records, director/year/actors for my dvds etc. When I move to the detail of a DVD movie, I would like to just click the director name and have a list of all the DVDs from that certain director. Is it possible?
Ulrich L.
Saturday 23 December 2006 1:29:04 pm
I am building a very similar application (CD catalogue) and I use object relations in order to achieve this. In your case: You create suitable classes. You create an object for the director. Then you can create an object relation to the director in your DVD objects. Using the "reverse related object" fetch command it is easy to show all DVDs related with a certain director. This will work similarly with other attributes as well, of course.