{"id":1227,"date":"2026-02-28T07:18:14","date_gmt":"2026-02-28T07:18:14","guid":{"rendered":"https:\/\/mycosting.com\/?page_id=1227"},"modified":"2026-03-12T08:12:04","modified_gmt":"2026-03-12T08:12:04","slug":"order","status":"publish","type":"page","link":"https:\/\/mycosting.com\/","title":{"rendered":"HVAC"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1227\" class=\"elementor elementor-1227\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9eb7056 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"9eb7056\" 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<div class=\"elementor-element elementor-element-e80a7a2 elementor-widget elementor-widget-html\" data-id=\"e80a7a2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<style>\r\n:root{\r\n  --main:#8a4b00;\r\n  --bg:#fff7ed;\r\n}\r\n*{box-sizing:border-box}\r\n\r\n.enquiry-box{\r\n  max-width:500px;\r\n  margin:40px auto;\r\n  background:linear-gradient(180deg,#fff,#fff7ed);\r\n  padding:30px;\r\n  border-radius:20px;\r\n  box-shadow:0 25px 45px rgba(0,0,0,.15);\r\n  font-family:Arial,sans-serif;\r\n}\r\n\r\n.enquiry-box h2{\r\n  text-align:center;\r\n  color:var(--main);\r\n  margin-bottom:20px;\r\n}\r\n\r\nlabel{\r\n  font-weight:bold;\r\n  margin-top:16px;\r\n  display:block;\r\n}\r\n\r\nselect,input,textarea{\r\n  width:100%;\r\n  padding:12px;\r\n  margin-top:8px;\r\n  border-radius:12px;\r\n  border:1px solid #ddd;\r\n  font-size:14px;\r\n}\r\n\r\ntextarea{resize:none}\r\n\r\ninput[type=range]{\r\n  accent-color:var(--main);\r\n}\r\n\r\n.value{\r\n  margin-top:6px;\r\n  font-weight:bold;\r\n  color:var(--main);\r\n}\r\n\r\n.live-price{\r\n  margin-top:14px;\r\n  padding:14px;\r\n  border-radius:14px;\r\n  background:var(--bg);\r\n  font-weight:bold;\r\n  text-align:center;\r\n}\r\n\r\nbutton{\r\n  margin-top:26px;\r\n  width:100%;\r\n  padding:15px;\r\n  background:linear-gradient(135deg,var(--main),#c46a00);\r\n  color:#fff;\r\n  border:none;\r\n  border-radius:14px;\r\n  font-size:17px;\r\n  cursor:pointer;\r\n}\r\n<\/style>\r\n\r\n<div class=\"enquiry-box\">\r\n  <h2>Brand Price Enquiry<\/h2>\r\n\r\n  <label>Your Name<\/label>\r\n  <input type=\"text\" id=\"name\" required>\r\n\r\n  <label>Select Brand<\/label>\r\n  <select id=\"brand\">\r\n    <option value=\"\">-- Select Brand --<\/option>\r\n    <option value=\"RR\">RR<\/option>\r\n    <option value=\"NWM\">NWM<\/option>\r\n    <option value=\"Hailing\">Hailing<\/option>\r\n    <option value=\"Jintian\">Jintian<\/option>\r\n    <option value=\"Totaline\">Totaline<\/option>\r\n    <option value=\"Mettube\">Mettube<\/option>\r\n  <\/select>\r\n\r\n  <div class=\"live-price\" id=\"livePrice\">\r\n    Today\u2019s Price: \u20b9 -- \/ kg\r\n  <\/div>\r\n\r\n  <label>When Will You Place the Order? (Days)<\/label>\r\n  <input type=\"range\" id=\"orderDays\" min=\"1\" max=\"7\" step=\"1\" value=\"3\">\r\n  <div class=\"value\"><span id=\"dayVal\">3<\/span> Days<\/div>\r\n\r\n  <label>Buyer Type<\/label>\r\n  <select id=\"buyerType\">\r\n    <option value=\"\">-- Select --<\/option>\r\n    <option>Wholesaler<\/option>\r\n    <option>Retailer<\/option>\r\n    <option>Contractor<\/option>\r\n    <option>Customer<\/option>\r\n  <\/select>\r\n\r\n  <label>Quantity (KG)<\/label>\r\n  <input type=\"range\" id=\"quantity\" min=\"100\" max=\"10000\" step=\"100\" value=\"1000\">\r\n  <div class=\"value\"><span id=\"qtyVal\">1000<\/span> KG<\/div>\r\n\r\n  <label>Phone Number<\/label>\r\n  <input type=\"tel\" id=\"phone\" required>\r\n\r\n  <label>Email<\/label>\r\n  <input type=\"email\" id=\"email\" required>\r\n\r\n  <label>Message<\/label>\r\n  <textarea id=\"message\" rows=\"4\"><\/textarea>\r\n\r\n  <button onclick=\"submitForm()\">Submit Enquiry<\/button>\r\n<\/div>\r\n\r\n<script>\r\nconst SCRIPT_URL=\"https:\/\/script.google.com\/macros\/s\/AKfycbxKhIYPcC4zQXu6CwZgi0fgANA4G-PzhyQpma6DPJWBT4AoaKujGmTHKaA_hSbSTTa1Pg\/exec\";\r\n\r\nconst PRICE_RANGE={\r\n  RR:\"\u20b9 1400 \u2013 1460 \/ kg\",\r\n  NWM:\"\u20b9 1370 \u2013 1420 \/ kg\",\r\n  Hailing:\"\u20b9 1400 \/ kg\",\r\n  Jintian:\"\u20b9 1400 \u2013 1450 \/ kg\",\r\n  Totaline:\"\u20b9 1500 \u2013 1550 \/ kg\",\r\n  Mettube:\"\u20b9 1390 \u2013 1440 \/ kg\"\r\n};\r\n\r\nconst nameField=document.getElementById(\"name\");\r\nconst brand=document.getElementById(\"brand\");\r\nconst livePrice=document.getElementById(\"livePrice\");\r\nconst orderDays=document.getElementById(\"orderDays\");\r\nconst buyerType=document.getElementById(\"buyerType\");\r\nconst qty=document.getElementById(\"quantity\");\r\nconst phone=document.getElementById(\"phone\");\r\nconst email=document.getElementById(\"email\");\r\nconst message=document.getElementById(\"message\");\r\n\r\norderDays.addEventListener(\"input\",function(){\r\n  document.getElementById(\"dayVal\").innerText=this.value;\r\n});\r\n\r\nqty.addEventListener(\"input\",function(){\r\n  document.getElementById(\"qtyVal\").innerText=this.value;\r\n});\r\n\r\nbrand.addEventListener(\"change\",function(){\r\n  if(PRICE_RANGE[this.value]){\r\n    livePrice.innerText=\"Today\u2019s Price: \"+PRICE_RANGE[this.value];\r\n  }else{\r\n    livePrice.innerText=\"Today\u2019s Price: \u20b9 -- \/ kg\";\r\n  }\r\n});\r\n\r\nfunction submitForm(){\r\n\r\n  if(!nameField.value||!brand.value||!buyerType.value||!phone.value||!email.value){\r\n    alert(\"Please fill all required fields\");\r\n    return;\r\n  }\r\n\r\n  const data=new URLSearchParams();\r\n  data.append(\"name\",nameField.value);\r\n  data.append(\"brand\",brand.value);\r\n  data.append(\"todayPrice\",PRICE_RANGE[brand.value]||\"\");\r\n  data.append(\"orderDays\",orderDays.value);\r\n  data.append(\"buyerType\",buyerType.value);\r\n  data.append(\"quantity\",qty.value);\r\n  data.append(\"phone\",phone.value);\r\n  data.append(\"email\",email.value);\r\n  data.append(\"message\",message.value);\r\n\r\n  fetch(SCRIPT_URL,{\r\n    method:\"POST\",\r\n    body:data\r\n  })\r\n  .then(res=>res.json())\r\n  .then(()=>{\r\n    alert(\"Enquiry Sent Successfully \u2705\");\r\n\r\n    document.querySelectorAll(\"input, textarea, select\").forEach(el=>el.value=\"\");\r\n    livePrice.innerText=\"Today\u2019s Price: \u20b9 -- \/ kg\";\r\n    document.getElementById(\"dayVal\").innerText=\"3\";\r\n    document.getElementById(\"qtyVal\").innerText=\"1000\";\r\n  })\r\n  .catch(()=>{\r\n    alert(\"Something went wrong!\");\r\n  });\r\n}\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d414050 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-column-slider-no wpr-equal-height-no e-con e-parent\" data-id=\"d414050\" data-element_type=\"container\" data-e-type=\"container\">\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\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Brand Price Enquiry Your Name Select Brand &#8212; Select Brand &#8212;RRNWMHailingJintianTotalineMettube Today\u2019s Price: \u20b9 &#8212; \/ kg When Will You Place the Order? (Days) 3 Days Buyer Type &#8212; Select &#8212;WholesalerRetailerContractorCustomer Quantity (KG) 1000 KG Phone Number Email Message Submit Enquiry<\/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-1227","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/pages\/1227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mycosting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1227"}],"version-history":[{"count":38,"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/pages\/1227\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/mycosting.com\/index.php?rest_route=\/wp\/v2\/pages\/1227\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/mycosting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}