Interactive Product Selector

I am wanting to do something similar to this:
http://www.dimarzio.com/pickup-picker

My question involves the concept rather than any specific code on how to execute this.

For example, we are selling violins and we want the user to input info about their playing style, and give them the three best violins based on their entry.m This is the data I’ve been given:

[table=“width: 500, class: grid”]
[tr]
[td]Level:[/td]
[td]Beginner[/td]
[td]Intermediate[/td]
[td]Advanced[/td]
[/tr]
[tr]
[td][/td]
[td]Soil, Kreisler, Gibson[/td]
[td]Soil, Kreisler, Ysaye, Cremonese, Gibson[/td]
[td]Cannon, Soil, Ysaye, K.Joseph, Keifetz[/td]
[/tr]
[tr]
[td]Bowing Style:[/td]
[td]Soft[/td]
[td]Medium[/td]
[td]Hard[/td]
[/tr]
[tr]
[td][/td]
[td]Soil, Medici, Kreisler[/td]
[td]Soil, Medici, K.Joseph, Ysaye[/td]
[td]Cannon, Kreisler, Soil, Heifetz[/td]
[/tr]
[tr]
[td]Musical Style:[/td]
[td]Classical[/td]
[td]Fiddle[/td]
[td]Rock[/td]
[/tr]
[tr]
[td][/td]
[td]Ysaye, Soil, Provigny[/td]
[td]Medici, Ysaye, K.Joseph[/td]
[td]Kreisler, Diable, Vieuxtemps[/td]
[/tr]
[tr]
[td]Desired Tone:[/td]
[td]Bright[/td]
[td]Balanced[/td]
[td]Dark[/td]
[/tr]
[tr]
[td][/td]
[td]Soil, Medici, Provigny[/td]
[td]Kreisler, Soil, Ysaye[/td]
[td]Cannon, Diable, Plowden[/td]
[/tr]
[/table]

So if the user inputs Expert, Hard, Rock, and Dark I will data sets of violins consisting of: Cannon, Soil, Ysaye, K.Joseph, Heifetz // Cannon, Kreisler, Soil, Heifetz // Kreisler, Diable, Vieuxtemps // Cannon, Diable, Plowden

Out of those I need to output the user the three best choices for them. Cannon is listed in 3 out of the 4, so that has to be #1. Now there are three more violins that match two of the criteria. The Soil, Kriesler and Diable. In order to drill that down to two choices, I would think the questions would have to be ranked according to importance. For instance Tone is most important, followed by bowing style, musical genre, and skill level. Based on that ranking, the program should choose the Diable and Kreisler.

I am not entirely sure how to approach this. Since this data will not change frequently, should this even get the database involved? Should the info just be stored in a multi-dimensional array? Once the data is in an array, whether from the DB or not, how should I go about programming the logic to examine the arrays in order of importance and grab the violins that are most relevant?

Any help is much appreciated! I figured this was going to be easy, until I actually started thinking about it! :blush:

I would think your best option would be jQuery or JS. JMO