This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » eCommerce question

eCommerce question

eCommerce question

Saturday 23 December 2006 3:08:56 am - 1 reply

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?

Saturday 23 December 2006 10: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.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from