{"id":1401,"date":"2025-05-20T09:19:39","date_gmt":"2025-05-20T09:19:39","guid":{"rendered":"https:\/\/eu.goodseed.com\/?page_id=1401"},"modified":"2025-05-21T08:54:37","modified_gmt":"2025-05-21T08:54:37","slug":"gift-certificates","status":"publish","type":"page","link":"https:\/\/eu.goodseed.com\/ro\/gift-certificates\/","title":{"rendered":"Certificate cadou"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1401\" class=\"elementor elementor-1401\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b25a042 e-flex e-con-boxed e-con e-parent\" data-id=\"b25a042\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3cd4e3b e-flex e-con-boxed e-con e-parent\" data-id=\"3cd4e3b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ef5709d e-n-tabs-mobile elementor-widget elementor-widget-n-tabs\" data-id=\"ef5709d\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;horizontal_scroll&quot;:&quot;disable&quot;}\" data-widget_type=\"nested-tabs.default\">\n\t\t\t\t\t\t\t<div class=\"e-n-tabs\" data-widget-number=\"250966173\" aria-label=\"Registerkarten. \u00d6ffnen Sie Elemente mit Enter oder Space, schlie\u00dfen Sie sie mit Escape und navigieren Sie mit den Pfeiltasten.\">\n\t\t\t<div class=\"e-n-tabs-heading\" role=\"tablist\">\n\t\t\t\t\t<button id=\"e-n-tab-title-2509661731\" data-tab-title-id=\"e-n-tab-title-2509661731\" class=\"e-n-tab-title\" aria-selected=\"true\" data-tab-index=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"e-n-tab-content-2509661731\" style=\"--n-tabs-title-order: 1;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\tPurchase Gift Certificate\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-2509661732\" data-tab-title-id=\"e-n-tab-title-2509661732\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-2509661732\" style=\"--n-tabs-title-order: 2;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\tRedeem Gift Certificate\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-2509661733\" data-tab-title-id=\"e-n-tab-title-2509661733\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-2509661733\" style=\"--n-tabs-title-order: 3;\">\n\t\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\tCheck Gift Certificate Balance\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t<div class=\"e-n-tabs-content\">\n\t\t\t\t<div id=\"e-n-tab-content-2509661731\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2509661731\" data-tab-index=\"1\" style=\"--n-tabs-title-order: 1;\" class=\"e-active elementor-element elementor-element-0363e9a e-con-full e-flex e-con e-child\" data-id=\"0363e9a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-6377aa7 e-flex e-con-boxed e-con e-child\" data-id=\"6377aa7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-36c8234 elementor-widget elementor-widget-html\" data-id=\"36c8234\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t <style>\r\n    .form-field {\r\n      margin-bottom: 1em;\r\n    }\r\n    .form-label {\r\n      display: block;\r\n      margin-bottom: 0.3em;\r\n      font-weight: bold;\r\n    }\r\n    .form-input, .form-checkbox, .form-radio, textarea {\r\n      width: 100%;\r\n      padding: 0.5em;\r\n      font-size: 1em;\r\n    }\r\n    .form-inlineMessage {\r\n      color: red;\r\n      font-size: 0.9em;\r\n      display: none;\r\n    }\r\n    .form-field--error .form-inlineMessage {\r\n      display: block;\r\n    }\r\n    .form-field--error input,\r\n    .form-field--error textarea {\r\n      border-color: red;\r\n    }\r\n    .form-actions {\r\n      margin-top: 2em;\r\n    }\r\n    .button {\r\n      padding: 0.75em 1.5em;\r\n      font-size: 1em;\r\n      cursor: pointer;\r\n      margin-right: 1em;\r\n    }\r\n    .button--primary {\r\n      background-color: #0073aa;\r\n      color: white;\r\n      border: none;\r\n    }\r\n  <\/style>\r\n\r\n  <form id=\"gift-certificate-form\" class=\"gift-certificate-form\" method=\"post\" action=\"\/giftcertificates.php?action=do_purchase\">\r\n    <div class=\"form-row\">\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"from_name\">Your Name <small>Required<\/small><\/label>\r\n        <input type=\"text\" id=\"from_name\" name=\"from_name\" required>\r\n        <span class=\"form-inlineMessage\">You must enter your name.<\/span>\r\n      <\/div>\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"from_email\">Your Email <small>Required<\/small><\/label>\r\n        <input type=\"email\" id=\"from_email\" name=\"from_email\" required>\r\n        <span class=\"form-inlineMessage\">You must enter a valid email.<\/span>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"form-row\">\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"to_name\">Recipient's Name <small>Required<\/small><\/label>\r\n        <input type=\"text\" id=\"to_name\" name=\"to_name\" required>\r\n        <span class=\"form-inlineMessage\">You must enter the recipient's name.<\/span>\r\n      <\/div>\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"to_email\">Recipient's Email <small>Required<\/small><\/label>\r\n        <input type=\"email\" id=\"to_email\" name=\"to_email\" required>\r\n        <span class=\"form-inlineMessage\">You must enter a valid recipient email.<\/span>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"form-row\">\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"certificate_amount\">Amount <small>Required<\/small><\/label>\r\n        <input type=\"number\" id=\"certificate_amount\" name=\"gift_card-amount\" required>\r\n        <span class=\"form-inlineMessage\">Amount must be between $1 and $1000.<\/span>\r\n         <div class=\"form-field\">\r\n        <input type=\"checkbox\" id=\"agree\" name=\"agree\">\r\n        <label for=\"agree\">I understand that Gift Certificates expire after 180 days<\/label>\r\n        <span class=\"form-inlineMessage\">You must agree to this term.<\/span>\r\n      <\/div>\r\n      <div class=\"form-field\">\r\n        <input type=\"checkbox\" id=\"agree2\" name=\"agree2\">\r\n        <label for=\"agree2\">I agree that Gift Certificates are nonrefundable<\/label>\r\n        <span class=\"form-inlineMessage\">You must agree to this term.<\/span>\r\n      <\/div>\r\n      <\/div>\r\n      \r\n       <div class=\"form-field\">\r\n        <label class=\"form-label\" for=\"message\">Optional Message<\/label>\r\n        <textarea id=\"message\" name=\"message\" rows=\"5\"><\/textarea>\r\n      <\/div>\r\n      \r\n    <\/div>\r\n\r\n    <div class=\"form-row\">\r\n        <div class=\"form-field\">\r\n            <\/div>\r\n\r\n      <div class=\"form-field\">\r\n        <label class=\"form-label\">Gift Certificate Theme <small>Required<\/small><\/label>\r\n        <input type=\"radio\" id=\"theme_Birthday\" name=\"certificate_theme\" value=\"Birthday\">\r\n        <label for=\"theme_Birthday\">Birthday<\/label><br>\r\n        <input type=\"radio\" id=\"theme_Christmas\" name=\"certificate_theme\" value=\"Christmas\">\r\n        <label for=\"theme_Christmas\">Christmas<\/label><br>\r\n        <input type=\"radio\" id=\"theme_General\" name=\"certificate_theme\" value=\"General\">\r\n        <label for=\"theme_General\">General<\/label><br>\r\n        <span class=\"form-inlineMessage\">You must select a gift certificate theme.<\/span>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"form-actions\">\r\n      <button type=\"button\" class=\"button\" id=\"gift-certificate-preview\">Preview<\/button>\r\n      \r\n      <button type=\"submit\" class=\"button button--primary\" id=\"gift-certificate-submit\">Add Gift Certificate to Cart<\/button>\r\n    <\/div>\r\n  <\/form>\r\n\r\n  <script>\r\n      const form = document.getElementById(\"gift-certificate-form\");\r\n\r\n    \/\/ Basic validation\r\n    function validateForm(e) {\r\n      let hasErrors = false;\r\n\r\n      function validateField(field, condition) {\r\n        const container = field.closest(\".form-field\");\r\n        if (!condition) {\r\n          container.classList.add(\"form-field--error\");\r\n          hasErrors = true;\r\n        } else {\r\n          container.classList.remove(\"form-field--error\");\r\n        }\r\n      }\r\n\r\n      validateField(form.from_name, form.from_name.value.trim() !== \"\");\r\n      validateField(form.from_email, \/^\\S+@\\S+\\.\\S+$\/.test(form.from_email.value));\r\n      validateField(form.to_name, form.to_name.value.trim() !== \"\");\r\n      validateField(form.to_email, \/^\\S+@\\S+\\.\\S+$\/.test(form.to_email.value));\r\n      const amount = parseFloat(form.certificate_amount.value);\r\n      validateField(form.certificate_amount, amount >= 1 && amount <= 1000);\r\n      validateField(form.agree, form.agree.checked);\r\n      validateField(form.agree2, form.agree2.checked);\r\n\r\n      const themeSelected = form.querySelector('input[name=\"certificate_theme\"]:checked');\r\n      const themeField = form.querySelector('input[name=\"certificate_theme\"]').closest(\".form-field\");\r\n      if (!themeSelected) {\r\n        themeField.classList.add(\"form-field--error\");\r\n        hasErrors = true;\r\n      } else {\r\n        themeField.classList.remove(\"form-field--error\");\r\n      }\r\n\r\n      return !hasErrors;\r\n    }\r\n\r\n    \/\/ Preview button\r\n    document.getElementById(\"gift-certificate-preview\").addEventListener(\"click\", function () {\r\n      if (validateForm()) {\r\n        form.action = \"\/giftcertificates.php?action=preview\";\r\n        form.submit();\r\n      }\r\n    });\r\n\r\n  \r\n\r\n  \/\/ Preview button submits to preview URL\r\n  document.getElementById(\"gift-certificate-preview\").addEventListener(\"click\", function () {\r\n    if (validateForm()) {\r\n      form.action = \"\/giftcertificates.php?action=preview\";\r\n      form.submit();\r\n    }\r\n  });\r\n\r\n  \/\/ Add to Cart button submits to WooCommerce cart URL\r\n  document.getElementById(\"gift-certificate-submit\").addEventListener(\"click\", function () {\r\n    form.action = \"\/cart\/?add-to-cart=1398\";\r\n  });\r\n  <\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-2509661732\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2509661732\" data-tab-index=\"2\" style=\"--n-tabs-title-order: 2;\" class=\" elementor-element elementor-element-a48f2a9 e-con-full e-flex e-con e-child\" data-id=\"a48f2a9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-47e4a8a e-flex e-con-boxed e-con e-child\" data-id=\"47e4a8a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-8fcdc81 e-con-full e-flex e-con e-child\" data-id=\"8fcdc81\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-43ac209 elementor-widget elementor-widget-heading\" data-id=\"43ac209\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Redeem Gift Certificate<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9c6c2e6 elementor-widget elementor-widget-heading\" data-id=\"9c6c2e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">To redeem a gift certificate at GoodSeed North American Store, follow the simple steps below.<\/p>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e893c0 elementor-widget elementor-widget-text-editor\" data-id=\"7e893c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ul><li>You need your unique gift certificate code, which is part of the gift certificate that was emailed to you as an attachment. It will look something like Z50-Y6K-COS-402.<\/li><li>Browse the store and add items to your cart as you normally would.<\/li><li>Click the &#8218;<a href=\"https:\/\/eu.goodseed.com\/cart\/\">View Cart<\/a>&#8218; link to view the contents of your shopping cart.<\/li><li>Type your gift certificate code in to the &#8218;Redeem Gift Certificate&#8216; box and click &#8218;Go&#8216;.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-2509661733\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2509661733\" data-tab-index=\"3\" style=\"--n-tabs-title-order: 3;\" class=\" elementor-element elementor-element-e7d9188 e-con-full e-flex e-con e-child\" data-id=\"e7d9188\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Purchase Gift Certificate Redeem Gift Certificate Check Gift Certificate Balance Your Name Required You must enter your name. Your Email Required You must enter a valid email. Recipient&#8217;s Name Required You must enter the recipient&#8217;s name. Recipient&#8217;s Email Required You must enter a valid recipient email. Amount Required Amount must be between $1 and $1000. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"class_list":["post-1401","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/pages\/1401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/comments?post=1401"}],"version-history":[{"count":121,"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/pages\/1401\/revisions"}],"predecessor-version":[{"id":1522,"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/pages\/1401\/revisions\/1522"}],"wp:attachment":[{"href":"https:\/\/eu.goodseed.com\/ro\/wp-json\/wp\/v2\/media?parent=1401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}