Using combos and lists

Also combos and/or list can be bound to data. Values are updated automatically.

Prepare or load the jSON viewmodel...

var viewModel = {
    "colours": [
                { "id": 1, "description": "Red" }, 
                { "id": 2, "description": "Blue" }, 
                { "id": 3, "description": "White"}
               ],
    "options": [
                { "id": 1, "value": "skin" }, 
                { "id": 2, "value": "bottle" }, 
                { "id": 3, "value": "6 march"}
               ],
     "data": { 
        "sku": "109-106", 
        "description": "bycicle", 
        "options": [1, 3], 
        "colour": 3, 
        "available": true }
        };
                                            
Bind data first!

...Change data of the product...

You can use also the right box "Select Options Here" to select product optionals

SKU
DESCRIPTION
COLOUR
OPTIONS
AVAILABLE

...inspect the datasource