JoeyJoystick
Registered User.
- Local time
- Today, 14:14
- Joined
- Jul 23, 2015
- Messages
- 15
Hi All,
I am wondering if someone can get some light on the following.
What is best practice for the following.
When you make a database with manufacturers and products and want to add tags to these products. Tags to identify and help searching the products. example for cars. You want to add tags that identify whether the car is diesel, electric or petrol. You also want to add a tag to show whether it is a sedan, hatchback, SUV, pickup. and of course you want to say something about the power. 50-100hp, 100-200hp, 200-300hp, 300-500hp and 500+hp.
For what I am doing I can easily think of 20 main categories of tags that I need to select from and in many case multiple tags would need to be added. In addition to this these tags would have even more subcategories and these may have subcategories as well.
I do think it would make sense to add main categories to manufacturers to identify in which field(s) they are active, but I guess you would ultimately want to identify each product individually with tags. These are, of course, 2 different tables.
Doing this with multiple values in a field just doesn't sound right to me. Adding 20 fields somehow doesn't sound right either. All doable, but just sounds like it will cause a lot of trouble in the long run.
You can clearly see something similar in the way Amazon does this on their website with there product categories. what you see here is that you can get the same products in your search results even though you have selected (searched for) different criteria (tags).
Any thoughts on the scenario?
Joost (Joey)
I am wondering if someone can get some light on the following.
What is best practice for the following.
When you make a database with manufacturers and products and want to add tags to these products. Tags to identify and help searching the products. example for cars. You want to add tags that identify whether the car is diesel, electric or petrol. You also want to add a tag to show whether it is a sedan, hatchback, SUV, pickup. and of course you want to say something about the power. 50-100hp, 100-200hp, 200-300hp, 300-500hp and 500+hp.
For what I am doing I can easily think of 20 main categories of tags that I need to select from and in many case multiple tags would need to be added. In addition to this these tags would have even more subcategories and these may have subcategories as well.
I do think it would make sense to add main categories to manufacturers to identify in which field(s) they are active, but I guess you would ultimately want to identify each product individually with tags. These are, of course, 2 different tables.
Doing this with multiple values in a field just doesn't sound right to me. Adding 20 fields somehow doesn't sound right either. All doable, but just sounds like it will cause a lot of trouble in the long run.
You can clearly see something similar in the way Amazon does this on their website with there product categories. what you see here is that you can get the same products in your search results even though you have selected (searched for) different criteria (tags).
Any thoughts on the scenario?
Joost (Joey)