{"id":29202,"date":"2025-04-29T08:48:15","date_gmt":"2025-04-29T08:48:15","guid":{"rendered":"https:\/\/domybeach.com\/?page_id=29202"},"modified":"2025-04-29T08:48:16","modified_gmt":"2025-04-29T08:48:16","slug":"designer-di-magliette-da-pesca-online","status":"publish","type":"page","link":"https:\/\/domybeach.com\/it\/designer-di-magliette-da-pesca-online\/","title":{"rendered":"designer di magliette da pesca online"},"content":{"rendered":"<h1 class=\"wp-block-heading has-text-align-center\">Designer di magliette da pesca online<\/h1>\t\t\t\t<div class=\"fpd-product-designer-wrapper\">\n\t\t\t\t\t<div id=\"fancy-product-designer-29202\" class=\"fpd-container fpd-shadow-1 fpd-wrapper fpd-sidebar fpd-views-inside-right fpd-toolbar-sidebar fpd-module-visible\"><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t    <form name=\"fpd_shortcode_form\" class=\"fpd-custom-form\" action=\"\"> \n        <!-- Hidden Price Section -->\n        <div style=\"display:none;\">\n            <span class=\"fpd-shortcode-price\" data-priceformat=\"$%d\"><\/span>\n        <\/div>\n\n        <!-- Base Fields -->\n        <label>Il tuo nome\n            <input type=\"text\" name=\"fpd_shortcode_form_name\" placeholder=\"Il tuo nome\" required \/>\n        <\/label>\n        <label>La tua email\n            <input type=\"email\" name=\"fpd_shortcode_form_email\" placeholder=\"La tua email\" required \/>\n        <\/label>\n\n        <!-- Custom Fields -->\n        <label>Numero di telefono\n            <input type=\"text\" name=\"fpd_shortcode_form_phone\" placeholder=\"Inserisci il tuo numero di telefono\" required \/>\n        <\/label>\n        <label>Quantit\u00e0 necessaria\n            <input type=\"number\" name=\"fpd_shortcode_form_quantity\" min=\"50\" placeholder=\"Inserisci la quantit\u00e0 richiesta (minimo 50 pezzi)\" required \/>\n        <\/label>\n        <label>Indirizzo di spedizione\n            <input type=\"text\" name=\"fpd_shortcode_form_address\" placeholder=\"Inserisci il tuo indirizzo di consegna\" required \/>\n        <\/label>\n\n        <label for=\"fpd_shortcode_form_deadline\">Ultimo orario di arrivo<\/label>\n            <input type=\"date\" id=\"fpd_shortcode_form_deadline\" name=\"fpd_shortcode_form_deadline\" placeholder=\"Termine di consegna\" required \/>\n        <\/label>\n\n\n        <label>Altri dettagli dell&#039;ordine (facoltativo)\n            <textarea name=\"fpd_shortcode_form_details\" placeholder=\"Altri dettagli dell&#039;ordine (facoltativo)\" rows=\"5\"><\/textarea>\n        <\/label>\n\n        <input type=\"hidden\" name=\"fpd_product\" \/>\n        <button type=\"submit\">Invia richiesta<\/button>\n    <input type=\"hidden\" name=\"trp-form-language\" value=\"it\"\/><\/form>\n\n    <script>\n    document.addEventListener('DOMContentLoaded', function () {\n        const form = document.querySelector('form[name=\"fpd_shortcode_form\"]');\n        const submitBtn = form.querySelector('button[type=\"submit\"]');\n\n        submitBtn.addEventListener('click', function (e) {\n    e.preventDefault(); \/\/ \u2705 \u963b\u6b62\u8868\u5355\u8df3\u8f6c\u6216\u5237\u65b0\u884c\u4e3a\n\n    const formData = new FormData(form);\n    formData.append('action', 'send_fpd_notification_email');\n\n    fetch('https:\/\/domybeach.com\/wp-admin\/admin-ajax.php', {\n        method: 'POST',\n        body: formData\n    })\n    .then(res => res.json())\n    .then(data => {\n        console.log(data);\n        alert('Your request has been sent. We will contact you within 24 hours.');\n\n        \/\/ \u2705 GTM Data Layer Push (\u6240\u6709\u503c\u90fd\u5df2\u786e\u8ba4\u83b7\u53d6)\n       \/\/ GTM Data Layer Push\n                window.dataLayer = window.dataLayer || [];\n                window.dataLayer.push({\n    event: 'code_order'\n    });\n        })\n        .catch(err => console.error('Mail error:', err));\n    });\n\n    });\n    <\/script>\n    <p><\/p>","protected":false},"excerpt":{"rendered":"<p>Designer di magliette da pesca online<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-canvas.php","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"class_list":["post-29202","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/pages\/29202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/comments?post=29202"}],"version-history":[{"count":3,"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/pages\/29202\/revisions"}],"predecessor-version":[{"id":29208,"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/pages\/29202\/revisions\/29208"}],"wp:attachment":[{"href":"https:\/\/domybeach.com\/it\/wp-json\/wp\/v2\/media?parent=29202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}