document.write("
{ "success": 1, "data": [ { "id": 9, "product_id": 1, "default_id": 0, "disp_order": 11, "code": "size", "type": "template", "attemp_id": 1, "prompt": "Size", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "required": false, "inventory": false, "image": "", "attributes": [ { "id": 1, "attemp_id": 1, "default_id": 2, "disp_order": 1, "code": "size", "type": "select", "prompt": "Size", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "required": false, "inventory": true, "image": "", "options": [ { "id": 1, "attemp_id": 1, "attmpat_id": 1, "disp_order": 1, "code": "SM", "prompt": "small", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "image": "" }, { "id": 2, "attemp_id": 1, "attmpat_id": 1, "disp_order": 2, "code": "MED", "prompt": "medium", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "image": "" }, { "id": 3, "attemp_id": 1, "attmpat_id": 1, "disp_order": 3, "code": "LG", "prompt": "large", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "image": "" }, { "id": 4, "attemp_id": 1, "attmpat_id": 1, "disp_order": 4, "code": "XL", "prompt": "x-large", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "image": "" } ] } ] }, { "id": 7, "product_id": 1, "default_id": 0, "disp_order": 16, "code": "color", "type": "template", "attemp_id": 2, "prompt": "Color", "price": 0.00, "formatted_price": "$0.00", "cost": 0.00, "formatted_cost": "$0.00", "weight": 0.00, "required": false, "inventory": false, "image": "", "attributes": [ { "id": 2, "attemp_id": 2, "default_id": 6, "disp_order": 2, "code": "shirt_color", "type": "radio", "prompt": "Shirt Color", "price": 10.00, "formatted_price": "$10.00", "cost": 20.00, "formatted_cost": "$20.00", "weight": 1.00, "required": false, "inventory": false, "image": "", "options": [ { "id": 6, "attemp_id": 2, "attmpat_id": 2, "disp_order": 18, "code": "green", "prompt": "Green", "price": 10.00, "formatted_price": "$10.00", "cost": 20.00, "formatted_cost": "$20.00", "weight": 1.00, "image": "" }, { "id": 5, "attemp_id": 2, "attmpat_id": 2, "disp_order": 19, "code": "blue", "prompt": "Blue", "price": 10.00, "formatted_price": "$10.00", "cost": 20.00, "formatted_cost": "$20.00", "weight": 1.00, "image": "" }, { "id": 8, "attemp_id": 2, "attmpat_id": 2, "disp_order": 20, "code": "white", "prompt": "White", "price": 5.00, "formatted_price": "$5.00", "cost": 10.00, "formatted_cost": "$10.00", "weight": 1.00, "image": "" }, { "id": 7, "attemp_id": 2, "attmpat_id": 2, "disp_order": 21, "code": "red", "prompt": "Red", "price": 10.00, "formatted_price": "$10.00", "cost": 20.00, "formatted_cost": "$20.00", "weight": 1.00, "image": "" } ] } ] } ] }