{"id":33,"date":"2018-08-02T18:21:43","date_gmt":"2018-08-02T18:21:43","guid":{"rendered":"http:\/\/www.jagdwein.de\/?page_id=33"},"modified":"2022-11-19T19:11:56","modified_gmt":"2022-11-19T19:11:56","slug":"bestellung","status":"publish","type":"page","link":"https:\/\/www.jagdwein.de\/?page_id=33","title":{"rendered":"Bestellung"},"content":{"rendered":"<div id=\"pl-33\"  class=\"panel-layout\" ><div id=\"pg-33-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-33-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-33-0-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"0\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-33-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-33-1-0\"  class=\"panel-grid-cell panel-grid-cell-mobile-last\" ><div id=\"panel-33-1-0-0\" class=\"widget_text so-panel widget widget_custom_html panel-first-child panel-last-child\" data-index=\"1\" ><div class=\"textwidget custom-html-widget\"><script>\n\t\t\tfunction updateCart(){\n\t\t\tvar rot_str = document.getElementById(\"wpforms-441-field_13\").value;\n\t\t\tvar rose_str = document.getElementById(\"wpforms-441-field_14\").value;\n\t\t\tvar weiss_str = document.getElementById(\"wpforms-441-field_15\").value;\n\t\t\tvar sekt_str = document.getElementById(\"wpforms-441-field_16\").value;\n\t\t\tvar paket_str = document.getElementById(\"wpforms-441-field_18\").value;\n\t\t\t\t\n\t\t\tvar rot = parseInt(rot_str) || 0;\t\n\t\t\t\t\t\t\tvar rose = parseInt(rose_str) || 0;\n\t\t\t\t\t\t\tvar weiss = parseInt(weiss_str) || 0;\n\t\t\t\t\t\t\tvar sekt = parseInt(sekt_str) || 0;\n\t\t\t\t\t\t\tvar paket = parseInt(paket_str) || 0;\n\t\t\t\t\n\t\t\t\t\n\t\t\tif (rot < 0){rot = 0;}\n\t\t\t\t\t\t\tif (rose < 0){rose = 0;}\n\t\t\t\t\t\tif (weiss < 0){weiss = 0;}\n\t\t\t\t\t\t\tif (sekt < 0){sekt = 0;}\n\t\t\t\t\t\t\tif (paket < 0){paket = 0;}\n\t\t\t\t\t\t\tvar anzahl = rot + rose + weiss + sekt;\n\t\t\tvar gesamt = parseFloat(Math.round(rot * 790 + rose * 690 + weiss * 590 + sekt * 990 + paket * 8500) \/ 100).toFixed(2);\n\t\t\tconsole.log(anzahl);\n\t\t\t\t\t\t\tconsole.log(paket);\n\t\t\tif ((anzahl < 12) && (paket < 1)){\ndocument.getElementById(\"fracht\").style.display = \"block\";\n\t\t\t\t\tdocument.getElementById(\"wpforms-441-field_21\").value = gesamt + \"\u20ac zzgl. 7\u20ac Fracht\";\n\t\t\t\t\tdocument.getElementById(\"gesamtpreis\").innerHTML =\"Gesamtpreis: \" + gesamt + \"\u20ac zzgl. 7\u20ac Fracht\";\n\t\t\t} else {\n\t\t\t\tdocument.getElementById(\"fracht\").style.display = \"none\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"wpforms-441-field_21\").value = gesamt + \"\u20ac\";\n\t\t\t\t\tdocument.getElementById(\"gesamtpreis\").innerHTML =\"Gesamtpreis: \" + gesamt + \"\u20ac\";\n\t\t\t}\n\n\n\t\t};\n\t\n\t        function initialize() {\n         \tvar object = document.getElementById(\"button\");\n\t\t\t\t\tupdateCart();\n        }\n        window.onload = initialize;\n\n<\/script>\n<\/div><\/div><\/div><div id=\"pgc-33-1-1\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-33-2\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-33-2-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><div id=\"pgc-33-2-1\"  class=\"panel-grid-cell\" ><div id=\"panel-33-2-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"2\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"wpforms-container wpforms-container-full\" id=\"wpforms-441\"><form id=\"wpforms-form-441\" class=\"wpforms-validate wpforms-form\" data-formid=\"441\" method=\"post\" enctype=\"multipart\/form-data\" action=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F33\" data-token=\"879f16421e394b7d41eb6650c395ca95\" data-token-time=\"1791935443\"><noscript class=\"wpforms-error-noscript\">Bitte aktiviere JavaScript in deinem Browser, um dieses Formular fertigzustellen.<\/noscript><div class=\"wpforms-field-container\"><div id=\"wpforms-441-field_13-container\" class=\"wpforms-field wpforms-field-number\" data-field-id=\"13\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_13\">Waldmanns Dank-Rotwein <\/label><input type=\"number\" id=\"wpforms-441-field_13\" class=\"wpforms-field-small\" name=\"wpforms[fields][13]\" step=\"any\" ><div class=\"wpforms-field-description\">Bitte tragen Sie ihre Bestellmenge ein. Rotwein 9,90 Euro pro Flasche.  <\/div><\/div><div id=\"wpforms-441-field_14-container\" class=\"wpforms-field wpforms-field-number\" data-field-id=\"14\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_14\">Waldmanns Dank-Ros\u00e9<\/label><input type=\"number\" id=\"wpforms-441-field_14\" class=\"wpforms-field-small\" name=\"wpforms[fields][14]\" step=\"any\" ><div class=\"wpforms-field-description\">Bitte tragen Sie ihre Bestellmenge ein. Ros\u00e9 9,90 Euro pro Flasche.  <\/div><\/div><div id=\"wpforms-441-field_15-container\" class=\"wpforms-field wpforms-field-number\" data-field-id=\"15\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_15\">Waldmanns Dank-Wei\u00dfwein<\/label><input type=\"number\" id=\"wpforms-441-field_15\" class=\"wpforms-field-small\" name=\"wpforms[fields][15]\" step=\"any\" ><div class=\"wpforms-field-description\">Bitte tragen Sie ihre Bestellmenge ein. Wei\u00dfwein 9,90 Euro pro Flasche.   <\/div><\/div><div id=\"wpforms-441-field_18-container\" class=\"wpforms-field wpforms-field-number\" data-field-id=\"18\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_18\">Probierpaket <\/label><input type=\"number\" id=\"wpforms-441-field_18\" class=\"wpforms-field-medium\" name=\"wpforms[fields][18]\" step=\"any\" ><div class=\"wpforms-field-description\">110 Euro. Beinhaltet: 4 Flaschen Waidmanns Dank Wei\u00dfwein, 4 Flaschen Waidmanns Dank Ros\u00e9wein, 4 Flaschen Waidmanns Dank Rotwein\r\n| Angebot - maximal eine Bestellung m\u00f6glich<\/div><\/div><div id=\"wpforms-441-field_2-container\" class=\"wpforms-field wpforms-field-name\" data-field-id=\"2\"><label class=\"wpforms-field-label\">Name <span class=\"wpforms-required-label\">*<\/span><\/label><div class=\"wpforms-field-row wpforms-field-medium\"><div class=\"wpforms-field-row-block wpforms-first wpforms-one-half\"><input type=\"text\" id=\"wpforms-441-field_2\" class=\"wpforms-field-name-first wpforms-field-required\" name=\"wpforms[fields][2][first]\" required><label for=\"wpforms-441-field_2\" class=\"wpforms-field-sublabel after\">Vorname<\/label><\/div><div class=\"wpforms-field-row-block wpforms-one-half\"><input type=\"text\" id=\"wpforms-441-field_2-last\" class=\"wpforms-field-name-last wpforms-field-required\" name=\"wpforms[fields][2][last]\" required><label for=\"wpforms-441-field_2-last\" class=\"wpforms-field-sublabel after\">Nachname<\/label><\/div><\/div><\/div><div id=\"wpforms-441-field_17-container\" class=\"wpforms-field wpforms-field-text\" data-field-id=\"17\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_17\">Adresse <span class=\"wpforms-required-label\">*<\/span><\/label><input type=\"text\" id=\"wpforms-441-field_17\" class=\"wpforms-field-medium wpforms-field-required\" name=\"wpforms[fields][17]\" required><div class=\"wpforms-field-description\">Stra\u00dfe, Postleitzahl, Wohnort<\/div><\/div><div id=\"wpforms-441-field_3-container\" class=\"wpforms-field wpforms-field-email\" data-field-id=\"3\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_3\">E-Mail <span class=\"wpforms-required-label\">*<\/span><\/label><input type=\"email\" id=\"wpforms-441-field_3\" class=\"wpforms-field-medium wpforms-field-required\" name=\"wpforms[fields][3]\" spellcheck=\"false\" required><\/div><div id=\"wpforms-441-field_24-container\" class=\"wpforms-field wpforms-field-text\" data-field-id=\"24\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_24\">Telefonnummer<\/label><input type=\"text\" id=\"wpforms-441-field_24\" class=\"wpforms-field-medium\" name=\"wpforms[fields][24]\" ><\/div><div id=\"wpforms-441-field_25-container\" class=\"wpforms-field wpforms-field-text\" data-field-id=\"25\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_25\">Gutscheincode<\/label><input type=\"text\" id=\"wpforms-441-field_25\" class=\"wpforms-field-medium\" name=\"wpforms[fields][25]\" ><\/div><div id=\"wpforms-441-field_12-container\" class=\"wpforms-field wpforms-field-textarea\" data-field-id=\"12\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_12\">Haben sie Fragen? <\/label><textarea id=\"wpforms-441-field_12\" class=\"wpforms-field-medium\" name=\"wpforms[fields][12]\" placeholder=\"Diese beantworten wir gerne \" ><\/textarea><\/div><div id=\"wpforms-441-field_10-container\" class=\"wpforms-field wpforms-field-checkbox\" data-field-id=\"10\"><label class=\"wpforms-field-label\">Dateschschutzerkl\u00e4rung\/AGBs  <span class=\"wpforms-required-label\">*<\/span><\/label><ul id=\"wpforms-441-field_10\" class=\"wpforms-field-required\"><li class=\"choice-1 depth-1\"><input type=\"checkbox\" id=\"wpforms-441-field_10_1\" name=\"wpforms[fields][10][]\" value=\"Ich habe die &lt;a href=&quot;http:\/\/www.jagdwein.de\/datenschutzerklaerung\/&quot;&gt;Dateschutzerkl\u00e4rung&lt;\/a&gt; gelesen und bin mit dieser Einverstanden \" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-441-field_10_1\">Ich habe die <a href=\"http:\/\/www.jagdwein.de\/datenschutzerklaerung\/\">Dateschutzerkl\u00e4rung<\/a> gelesen und bin mit dieser Einverstanden<\/label><\/li><li class=\"choice-2 depth-1\"><input type=\"checkbox\" id=\"wpforms-441-field_10_2\" name=\"wpforms[fields][10][]\" value=\"Ich habe die &lt;a href=&quot;http:\/\/www.jagdwein.de\/agbs\/&quot;&gt;AGBs&lt;\/a&gt;  gelesen  \" required ><label class=\"wpforms-field-label-inline\" for=\"wpforms-441-field_10_2\">Ich habe die <a href=\"http:\/\/www.jagdwein.de\/agbs\/\">AGBs<\/a>  gelesen<\/label><\/li><\/ul><\/div><div id=\"wpforms-441-field_21-container\" class=\"wpforms-field wpforms-field-text\" data-field-id=\"21\"><label class=\"wpforms-field-label\" for=\"wpforms-441-field_21\">Gesamtpreis<\/label><input type=\"text\" id=\"wpforms-441-field_21\" class=\"wpforms-field-medium\" name=\"wpforms[fields][21]\" ><\/div><\/div><!-- .wpforms-field-container --><div class=\"wpforms-field wpforms-field-hp\"><label for=\"wpforms-441-field-hp\" class=\"wpforms-field-label\">Website<\/label><input type=\"text\" name=\"wpforms[hp]\" id=\"wpforms-441-field-hp\" class=\"wpforms-field-medium\"><\/div><div class=\"wpforms-recaptcha-container wpforms-is-recaptcha wpforms-is-recaptcha-type-v2\" ><div class=\"g-recaptcha\" data-sitekey=\"6Ler1tMUAAAAABFY6n6NE5enDpOtD10dItAI-xcc\"><\/div><input type=\"text\" name=\"g-recaptcha-hidden\" class=\"wpforms-recaptcha-hidden\" style=\"position:absolute!important;clip:rect(0,0,0,0)!important;height:1px!important;width:1px!important;border:0!important;overflow:hidden!important;padding:0!important;margin:0!important;\" data-rule-recaptcha=\"1\"><\/div><div class=\"wpforms-submit-container\" ><input type=\"hidden\" name=\"wpforms[id]\" value=\"441\"><input type=\"hidden\" name=\"page_title\" value=\"\"><input type=\"hidden\" name=\"page_url\" value=\"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/pages\/33\"><input type=\"hidden\" name=\"url_referer\" value=\"\"><button type=\"submit\" name=\"wpforms[submit]\" id=\"wpforms-submit-441\" class=\"wpforms-submit\" data-alt-text=\"Sende...\" data-submit-text=\"Bestellen \" aria-live=\"assertive\" value=\"wpforms-submit\">Bestellen <\/button><\/div><\/form><\/div>  <!-- .wpforms-container -->\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Bitte aktiviere JavaScript in deinem Browser, um dieses Formular fertigzustellen.Waldmanns Dank-Rotwein Bitte tragen Sie ihre Bestellmenge ein. Rotwein 9,90 Euro pro Flasche. Waldmanns Dank-Ros\u00e9Bitte tragen Sie ihre Bestellmenge ein. Ros\u00e9 9,90 Euro pro Flasche. Waldmanns Dank-Wei\u00dfweinBitte tragen Sie ihre Bestellmenge ein. Wei\u00dfwein 9,90 Euro pro Flasche. Probierpaket 110 Euro. Beinhaltet: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-33","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/pages\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33"}],"version-history":[{"count":278,"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions"}],"predecessor-version":[{"id":984,"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=\/wp\/v2\/pages\/33\/revisions\/984"}],"wp:attachment":[{"href":"https:\/\/www.jagdwein.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}