[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] help! looping through product options
I've just set up a product with matrix options, one widget:
Product Name:
Violin Strings, eg. Pistrastro Olive Label
Options:
Note (E, A, D, G)
Hardness (soft, med, hard)
Prices:
E=5.95
A=8.89
D=11.71
G=23.70
SET=50.25 (i.e. all E, A, D, G)
Each note can be soft, med or hard.
I would like to create a table of Violin Strings by using "prod_group=Violin
Strings" as rows in a table, and then using the Note options as columns.
...
<table>
<tr>
<td>Description</td>
<td>E</td>
<td>A</td>
<td>D</td>
<td>G</td>
<td>SET</td>
</tr>
[loop search="fi=products/se=Violin Strings/sf=prod_group"]
<tr>
<td>[loop-field description]</td>
[??? loop through options ???]
<td>
??? option price ???
</td>
[??? /loop ???]
</tr>
[/loop]
</table>
...
How do I loop through the notes product option?
Any help will be appreciated.
Thanks,
Chris