Welcome Guest, Not a member yet? Register   Sign In
Dynamic attributes?
#1

[eluser]visua[/eluser]
Often in many shopping cart system, you have the ability to add attributes to products.

Some systems allow you the option to set the type of attribute, such as input text, radial button, drop down, or checklist.

I don't know how exactly one would go about designing this. Is it more of creating a seperate database table called 'attributes' and then storing the name and 'type', then depending on the type, offering up the correct html form?

Thanks

Mike
#2

[eluser]Colin Williams[/eluser]
Sounds like what I would do.
#3

[eluser]visua[/eluser]
[quote author="Colin Williams" date="1248412097"]Sounds like what I would do.[/quote]

Cool. I'm not sure I always have the best method to my madness. But hopefully this works Smile




Theme © iAndrew 2016 - Forum software by © MyBB