{ "html": "\n\u003cdiv class=\"minicart\"\u003e\n \u003cdiv class=\"minicart__entries fancy-scroll\"\u003e\n \n \n \u003cdiv style=\"display:flex;position:relative\"\u003e\n \u003ch2 class=\"warenkorb-title\"\u003eWarenkorb\u003c\/h2\u003e\n \u003clabel for=\"minicart__button--header--default-mobile\" class=\"minicart__close\"\u003e\n \u003ci class=\"uil uil-multiply\"\u003e\u003c\/i\u003e\n \u003c\/label\u003e\n \u003c\/div\u003e\n \n\n \n \n \n \u003cdiv style=\"text-align: center;\"\u003e\n \u003ca href=\"\/collections\/all\" class=\"empty__cart--icon\" aria-label=\"icon cart\"\u003e\u003ci class=\"uil uil-shopping-bag\"\u003e\u003c\/i\u003e\u003c\/a\u003e\n \u003cdiv class=\"empty__cart--title\"\u003eDein Warenkorb ist leer\u003c\/div\u003e\n \n \n\n \u003ca\n \n class=\"button button--secondary button--filled button--secondary__filled \"\n \n \n href=\"\/collections\/all\"\u003eJetzt einkaufen\u003c\/a\u003e\n\n \u003c\/div\u003e\n \n\n \n \n \n \u003c\/div\u003e\n \n \n\u003c\/div\u003e\n \u003cscript\u003e\n setTimeout(()=\u003e{ \n \n fetch('\/cart.js').then(data=\u003edata.json()).then(data=\u003e{\n console.log(typeof data.items_subtotal_price)\n if( data.items_subtotal_price \u003e 9000 ){\n var formOBJ = {\n\t quantity: 1,\n\t id: 45784563024136\n\t};\n $.ajax({\n type: 'POST',\n url: '\/cart\/add.js',\n data: formOBJ,\n dataType: 'json',\n success: function(data) {\n console.log(data)\n \/\/ Do something on success (e.g. show a success message)\n },\n error: function(e) {\n console.log(e)\n }\n });\n \n\t\n }\n \n})\n \n },2000) \n \u003c\/script\u003e\n", "item_count": 0, "items": "\n {}\n", "total": "€0,00", "total_raw": 0 }