document.write("
{ "success": 1, "data": { "total_count": 1, "start_offset": 0, "data": [ { "id": 1, "code": "shirt", "name": "Shirt", "sku": "", "image": "", "thumbnail": "", "disp_order": 1, "output_disp_order": 0, "dt_created": { "time_t": 1669936337, "year": 2022, "month": 12, "day": 1, "hour": 15, "minute": 12, "second": 17, "timezone": -8 }, "dt_updated": { "time_t": 1670625382, "year": 2022, "month": 12, "day": 9, "hour": 14, "minute": 36, "second": 22, "timezone": -8 }, "weight": 0.00, "taxable": true, "price": 20.00, "formatted_price": "$20.00", "retail": 25.00, "formatted_retail": "$25.00", "base_price": 25.00, "formatted_base_price": "$25.00", "quantity": 0, "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/merchant.mvc?Screen=PROD&Product_Code=shirt", "descrip": "This <span style=\\"background-color: rgb(199, 0, 0);\\">is the<\\/span> product<span style=\\"text-decoration-line: line-through;\\"> Description<\\/span>", "attributes": [ { "id": 1, "product_id": 1, "default_id": 0, "disp_order": 1, "code": "size", "type": "select", "attemp_id": 0, "prompt": "Select Size", "price": 0.00, "formatted_price": "$0.00", "weight": 0.00, "required": true, "inventory": true, "image": "", "options": [ { "id": 1, "product_id": 1, "attr_id": 1, "disp_order": 1, "code": "small", "prompt": "Small", "price": 0.00, "formatted_price": "$0.00", "weight": 0.00, "image": "" }, { "id": 2, "product_id": 1, "attr_id": 1, "disp_order": 2, "code": "medium", "prompt": "Medium", "price": 0.00, "formatted_price": "$0.00", "weight": 0.00, "image": "" }, { "id": 3, "product_id": 1, "attr_id": 1, "disp_order": 3, "code": "large", "prompt": "Large", "price": 5.00, "formatted_price": "$5.00", "weight": 0.00, "image": "" } ] } ], "sale_price": 20.00, "formatted_sale_price": "$20.00", "inv_active": false, "inv_level": "", "inv_available": 0, "inv_instock": 0, "inv_short": "", "inv_long": "", "page": { "id": 68, "code": "PROD", "title": "" }, "discounts": [ { "descrip": "20OFF", "discount": 5.00, "formatted_discount": "$5.00" } ], "subscriptionsettings": { "product_id": 1, "enabled": false, "mandatory": false, "can_cancel": true, "cncl_min": 0, "can_qty": true, "qty_min": 0, "can_term": true, "term_min": 0, "can_date": true, "date_min": 0 }, "subscriptionterms": [ ], "images": [ { "code": "main", "descrip": "Main", "sizes": { "original": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt.jpeg", "width": 225, "height": 225 }, "100x100": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt_100x100.jpeg", "width": 100, "height": 100 }, "50x50": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt_50x50.jpeg", "width": 50, "height": 50 } } }, { "code": "", "descrip": "", "sizes": { "original": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/image2.jpeg", "width": 440, "height": 440 }, "100x100": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/image2_100x100.jpeg", "width": 100, "height": 100 }, "50x50": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/image2_50x50.jpeg", "width": 50, "height": 50 } } }, { "code": "", "descrip": "", "sizes": { "original": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt.jpg", "width": 500, "height": 625 }, "100x100": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt_80x100.jpg", "width": 80, "height": 100 }, "50x50": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt_40x50.jpg", "width": 40, "height": 50 } } } ], "imagetypes": { "main": { "descrip": "Main", "sizes": { "original": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt.jpeg", "width": 225, "height": 225 }, "200x200": { "url": "https:\\/\\/local.coolcommerce.net\\/mm5\\/graphics\\/00000002\\/1\\/shirt_200x200.jpeg", "width": 200, "height": 200 } } } }, "CustomField_Values": { "cmp-mv-prodctgy-meta": { "keywords": "", "description": "" }, "customfields": { "Brand": "My Custom Brand" } } } ], "facets": { "Brand": { "type": "checkbox", "values": [ { "value": "My Custom Brand", "count": 1 } ] } } } }