Why not use categories as-is? It seems to me this is exactly what you need. A product can be present in several categories at once. Just create a category for every car manufacturer/model/year combination and add the product to the "matching" categories. Why doesn't this work for you?
Also, depending on the model-compatability diversity of your products, you might have one "universal" category of products that fit all models (instead of placing these universal products in every category separately). You can also create other semi-universal categories for products matching a wide range of manufacturer/models/years (e.g Toyota category for products that match all Toyota cars, regardless model and year). This solution might sound "messy" but if you think about it, the mess is inherent in the different compatabilities of your products to a large combination of manufacturer/model/year, not in it's translation to a shopping cart software. Any other solution would still require you to sort products into some groups/tags/categories etc. On Sat, Nov 21, 2009 at 10:46, pablo <[email protected]> wrote: > Hi, > > I'm building a store that sells car products. > A car has a manufacturer, model and year fields. > Each product can fit one, some or all cars. > > How do I implement this in Satchmo? > Do I create a new model with one-to-one relationship to the Product > model > and many-to relationship with the my Car model? > Or is it better to subclass the Product model? > > Users should be able to search by parts category and filter the search > by car manufacturer -> model -> year. > How do I implement the filtering by car? I guess the store knows how > to filter by category. > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=. > > > -- Samuel Goldwyn - "I'm willing to admit that I may not always be right, but I am never wrong." - http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
