product classification

Posts: 8
Joined: 09/29/2008

Hi, I need product classification based on attributes.
What I want to achieve is to describe products from some category/type
(cars, houses, motorcycles) with some predefined attributes.
When a new product is added the user has to pick/enter the values of
the predefined attributes, add a picture and some free text.

An example of classification of cars and houses:

Cars:
Manufacturer: Mercedes, Peugeot, Opel, Chrysler, Mazda, Toyota.....
Year of production year: number
Fuel type: Diesel, Petrol
Year of first registration

Houses:
Area:
Number of rooms:
Yard area:
City:

I would also like to be able to search the products based on these attributes.

Any ideas how to do this?

Posts: 1300
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Categories, aka Taxonomy, in Drupal Core.

http://drupal.org/node/176839

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 8
Joined: 09/29/2008

Taxonomy gives opportunity only to categorize content so I only could select values (categories and subcategories) which was not what I needed. I wanted to be able to add free text fields, checkboxes, dropdowns...

I've done it by adding product classes and attaching additional fields to them.
1. I've a product class: Administer › Store administration › Products › Manage classes (this generates new content type)
2. Added fields in Administer › Content management › Content types › Cars

Now I need the following:
1. Provide a tabular view of the products with their attributes
For example:
Manufacturer | Year of production | Fuel type | Year of first registration | Price | Node
Mercedes | 2007 | Diesel | 2008 | $150000 | Link to the node with product

I was thinking to do this by adding a view and attaching it to the catalog category pages. For every product class I would have different view which will be shown depending on the selected product class. Is this good way do accomplish this?

2. Provide a product search based on the attribute values

The user should be able to choose values for each parameter and the search SQL statement will be generated based on the
selected values. For integer field I want to add dropdown with "less than or equal to"(<=), "greater than or equal to"(>=), "equal to" (=). The search should be based on product class selected.

Any help will be appreciated Eye-wink

BR, Jovan