It depends on your store and how many items you have.
If you have multiple items with different colors, than you have to use two recordsets like my first example. I was starting to think your store had only one item so no recordset would be needed.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.