{"id":626,"date":"2023-09-22T14:02:50","date_gmt":"2023-09-22T18:02:50","guid":{"rendered":"https:\/\/westmuskokafoodbank.org\/?page_id=626"},"modified":"2026-01-07T19:03:11","modified_gmt":"2026-01-08T00:03:11","slug":"grocery-order-form","status":"publish","type":"page","link":"https:\/\/westmuskokafoodbank.org\/grocery-order-form\/","title":{"rendered":"Grocery Orders"},"content":{"rendered":"\n<p><strong>Pick up on Thursday between 10:00 AM and 5:00 PM<\/strong><\/p>\n\n\n\n<p><em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>Please check our website or social media for notice of unplanned closures<\/strong><\/mark><\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>We offer:\n<ul class=\"wp-block-list\">\n<li>Discreet pickup.<\/li>\n\n\n\n<li>Delivery within Muskoka Lakes for those who require it due to health, mobility, or transportation issues. <\/li>\n\n\n\n<li>Prearranged specific timing pick up. <\/li>\n\n\n\n<li>Please call 705-646-3997 to speak with our Executive Director about the above options.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Grocery orders are preferred in advance, but walk-ins are accepted. <\/li>\n\n\n\n<li>If you are a resident of <strong>Bracebridge<\/strong>, please access these services in your local community: Manna Food Bank 705-646-0114, Out of the Cold 705-645-5713 or Salvation Army 705-645-2602 (ext.1)<\/li>\n\n\n\n<li>If you are a resident of <strong>Gravenhurst<\/strong>, please access these services in your local community: The GAP 705-641-2225 or Salvation Army 705-687-2131<\/li>\n<\/ul>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>To place a grocery order, complete the information below, and click submit:<\/strong>   <\/mark><\/p>\n\n\n\n<div class=\"wp-block-hdf-form-block hdf-forms-gutenberg\"><div id=\"hdf-989\" data-id=\"989\"><noscript>please enable JavaScript in order to use this form<\/noscript><\/div>\n<script>\nfunction hdf_validate_limit_based_on_family_size(){\n\tconst HDFORM = {\n\t\tID: \"hdf-989\",\n\t\tQUANTIY: 6, \/\/ 6, 8, 10\n\t\tinit: async function(){\n\t\t\t\n\t\t\tif(await HDFORM.closed()){\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\tHDF.VARS[HDFORM.ID].email = false; \/\/ do not send email until validated\n\t\t\tHDFORM.setDate();\n\t\t\tHDFORM.setFamilySize();\n\t\t},\n\t\tclosed: function(){\n\t\t\treturn false;\n\t\t\t\n\t\t\t\n\t\t\tlet date = new Date();\n\t\t\tlet day = date.getDay();\n\t\t\tconsole.log(day)\n\t\t\tif(day === 4 || day === 5){\n\t\t\t\tdocument.getElementById(\"hdf-989\").innerHTML = `<p>Grocery orders must be completed before Thursday each week. The order form will open up again Saturday morning.<\/p>`;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tsetDate: function(){\n\t\t\tlet date = new Date();\n\t\t\tlet day = date.getDate();\n\t\t\tif (day < 10) {\n\t\t\t\tday = \"0\" + day;\n\t\t\t}\n\t\t\tlet month = date.getMonth() + 1;\n\t\t\tif (month < 10) {\n\t\t\t\tmonth = \"0\" + month;\n\t\t\t}\n\t\t\tlet year = date.getFullYear();\n\t\t\tdate = `${year}-${month}-${day}`;\n\t\t\tdocument.getElementById(\"hdf_text_nrq2y3\").value = date;\n\t\t\tdocument.getElementById(\"hdf_text_nrq2y3\").disabled = true;\n\t\t},\n\t\tsetFamilySize: function(){\n\t\t\tconst a = document.getElementById(\"hdf_radio_wcxow5_0\");\n\t\t\tconst b = document.getElementById(\"hdf_radio_wcxow5_1\");\n\t\t\tconst c = document.getElementById(\"hdf_radio_wcxow5_2\");\n\t\t\t\n\t\t\ta.addEventListener(\"change\", HDFORM.setQuantityLimit);\n\t\t\tb.addEventListener(\"change\", HDFORM.setQuantityLimit);\n\t\t\tc.addEventListener(\"change\", HDFORM.setQuantityLimit);\t\t\t\n\t\t\tsetTimeout(function(){\n\t\t\t\tdocument.getElementById(\"hdf_radio_wcxow5_0\").click();\n\t\t\t}, 100);\t\t\t\n\t\t},\n\t\tsetQuantityLimit: function(){\n\t\t\tconst el = document.getElementById(\"hdf-item-wrapper_hdf_radio_wcxow5\");\n\t\t\tconst v = el.getAttribute(\"data-value\");\n\t\t\tif(v === \"1 to 2 people in household\"){\n\t\t\t\tHDFORM.QUANTITY = 6;\n\t\t\t}\n\t\t\tif(v === \"3 to 4 people in household\"){\n\t\t\t\tHDFORM.QUANTITY = 8;\n\t\t\t}\n\t\t\tif(v === \"5 or more people in household\"){\n\t\t\t\tHDFORM.QUANTITY = 10;\n\t\t\t}\t\t\t\n\t\t\tdocument.getElementById(\"hd_quantity\").innerText = HDFORM.QUANTITY;\n\t\t\t\n\t\t\tHDF.VARS.QUANTITY = HDFORM.QUANTITY;\n\t\t}\n\t}\n\tHDFORM.init();\n}\n\t\nfunction hdf_validate_items_limit()\t{\n\tlet totalCount = 0;\t\n\tconst max = HDF.VARS.QUANTITY;\t\n\tconst formID = \"hdf-989\";\n\tif(HDF.VARS[formID].email !== false){\n\t\treturn;\n\t}\n\tconst submitEL = document.getElementsByClassName(\"hdf-submit\")[0];\n\tconst message = document.getElementsByClassName(\"hdf-message\")[0];\n\t\n\tlet valid = true;\t\n\t\n\tconst items = document.getElementById(\"hdf_section_h8e8ne\").getElementsByClassName(\"hdf-checkbox-input\");\n\tfor(let i = 0; i < items.length; i++){\n\t\tif(items[i].checked === true){\n\t\t\ttotalCount = totalCount + 1;\n\t\t}\n\t}\n\t\n\tif(totalCount > max){\n\t\talert(`You have selected ${totalCount} items, but your limit is ${max}. Please remove ${totalCount - max} items from the Canned and Dried Goods section before submitting this order.`);\n\t\tsubmitEL.style.display = \"block\";\n\t\tmessage.style.display = \"none\";\n\t\treturn false;\n\t} \n\n\tHDF.VARS[formID].email = true;\n\t\/\/ HDF.submit(document.getElementById(formID));\n\tconsole.log(\"email sent\");\n\n}\n<\/script>\n\n\t<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pick up on Thursday between 10:00 AM and 5:00 PM Please check our website or social media for notice of unplanned closures To place a grocery order, complete the information below, and click submit:<\/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-626","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/pages\/626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/comments?post=626"}],"version-history":[{"count":59,"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/pages\/626\/revisions"}],"predecessor-version":[{"id":2712,"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/pages\/626\/revisions\/2712"}],"wp:attachment":[{"href":"https:\/\/westmuskokafoodbank.org\/hdapi\/wp\/v2\/media?parent=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}