document.write("
{ "success": 1, "data": { "original_orderitem": { "order_id": 1000, "line_id": 6, "status": 0, "subscrp_id": 0, "subterm_id": 0, "shpmnt_id": 0, "rma_id": 0, "product_id": 1, "dt_instock": 0, "code": "shirt", "name": "Shirt", "sku": "", "retail": 25.00, "base_price": 25.00, "price": 20.00, "weight": 0.00, "taxable": true, "tax": 0.00, "formatted_tax": "$0.00", "upsold": false, "quantity": 2, "discounts": [ { "order_id": 1000, "line_id": 6, "pgrp_id": 1, "display": true, "descrip": "20OFF", "discount": 5.00 } ], "options": [ { "id": 7, "order_id": 1000, "line_id": 6, "attr_id": 1, "attr_code": "size", "attmpat_id": 0, "option_id": 1, "opt_code": "small", "retail": 0.00, "base_price": 0.00, "price": 0.00, "weight": 0.00, "data": "", "data_long": "", "attr_prompt": "Select Size", "opt_prompt": "Small", "attribute": "size", "value": "small" } ], "total": 40.00 }, "split_orderitem": { "order_id": 1000, "line_id": 10, "status": 0, "subscrp_id": 0, "subterm_id": 0, "shpmnt_id": 0, "rma_id": 0, "product_id": 1, "dt_instock": 0, "code": "shirt", "name": "Shirt", "sku": "", "retail": 25.00, "base_price": 25.00, "price": 20.00, "weight": 0.00, "taxable": true, "tax": 0.00, "formatted_tax": "$0.00", "upsold": false, "quantity": 4, "discounts": [ { "order_id": 1000, "line_id": 10, "pgrp_id": 1, "display": true, "descrip": "20OFF", "discount": 5.00 } ], "options": [ { "id": 9, "order_id": 1000, "line_id": 10, "attr_id": 1, "attr_code": "size", "attmpat_id": 0, "option_id": 1, "opt_code": "small", "retail": 0.00, "base_price": 0.00, "price": 0.00, "weight": 0.00, "data": "", "data_long": "", "attr_prompt": "Select Size", "opt_prompt": "Small", "attribute": "size", "value": "small" } ], "total": 80.00 } } }