I have these tables in my entity model
dbo.Options
[OptionsId] [OptionName]
1 Color
2 Size
3 Fit
dbo.ProductAttributes:
[ProdcutAttributeId] [SKU] [OptionId] [Value]
3001 Shirt_1001 1 Grey
3002 Shirt...
var mytestvalue="Fit:Regular,Color:Coyote (120)"; or
var mytestvalue="Color:Coyote (120),Fit:Regular";
var p = [
{
"index":0,
"title":"Foo1",
"skus":"Fit:Regular,Size:6,Color:Coyote (120)",
},
{
"index":1,
...