[{"data":1,"prerenderedAt":348},["ShallowReactive",2],{"navigation":3,"\u002Fdelivery-calendar\u002Fcheckout-gate-app-embed":61,"\u002Fdelivery-calendar\u002Fcheckout-gate-app-embed-surround":343},[4],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":60},"Delivery Calendar","i-lucide-calendar-days","\u002Fdelivery-calendar","delivery-calendar",[10,15,20,25,30,35,40,45,50,55],{"title":11,"path":12,"stem":13,"icon":14},"Getting started","\u002Fdelivery-calendar\u002Fgetting-started","delivery-calendar\u002F01.getting-started","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Install and enable","\u002Fdelivery-calendar\u002Finstall-and-enable","delivery-calendar\u002F02.install-and-enable","i-lucide-plug",{"title":21,"path":22,"stem":23,"icon":24},"Create a calendar","\u002Fdelivery-calendar\u002Fcreate-a-calendar","delivery-calendar\u002F03.create-a-calendar","i-lucide-plus-circle",{"title":26,"path":27,"stem":28,"icon":29},"Availability, cutoffs and time slots","\u002Fdelivery-calendar\u002Favailability-cutoffs-time-slots","delivery-calendar\u002F04.availability-cutoffs-time-slots","i-lucide-clock",{"title":31,"path":32,"stem":33,"icon":34},"Capacity and limits","\u002Fdelivery-calendar\u002Fcapacity-and-limits","delivery-calendar\u002F05.capacity-and-limits","i-lucide-gauge",{"title":36,"path":37,"stem":38,"icon":39},"Rules","\u002Fdelivery-calendar\u002Frules","delivery-calendar\u002F06.rules","i-lucide-list-filter",{"title":41,"path":42,"stem":43,"icon":44},"Product and item calendars","\u002Fdelivery-calendar\u002Fproduct-and-item-calendars","delivery-calendar\u002F07.product-and-item-calendars","i-lucide-package",{"title":46,"path":47,"stem":48,"icon":49},"Delivery dates on your orders","\u002Fdelivery-calendar\u002Forders-and-shopify-metafields","delivery-calendar\u002F08.orders-and-shopify-metafields","i-lucide-shopping-bag",{"title":51,"path":52,"stem":53,"icon":54},"Checkout gate","\u002Fdelivery-calendar\u002Fcheckout-gate-app-embed","delivery-calendar\u002F09.checkout-gate-app-embed","i-lucide-shield-check",{"title":56,"path":57,"stem":58,"icon":59},"FAQ and troubleshooting","\u002Fdelivery-calendar\u002Ffaq-troubleshooting","delivery-calendar\u002F10.faq-troubleshooting","i-lucide-circle-help",false,{"id":62,"title":51,"body":63,"description":336,"extension":337,"links":338,"meta":339,"navigation":340,"path":52,"seo":341,"stem":53,"__hash__":342},"docs\u002Fdelivery-calendar\u002F09.checkout-gate-app-embed.md",{"type":64,"value":65,"toc":322},"minimark",[66,75,80,119,126,130,142,176,180,201,205,212,226,229,233,236,240,243,247,254,258,311,315],[67,68,69,70,74],"p",{},"The ",[71,72,73],"strong",{},"Delivery Checkout Gate"," disables checkout buttons in the places your cart page doesn't cover — the cart drawer that slides out, the \"added to cart\" popup, and the cart icon in your header — until the customer selects a required delivery date.",[76,77,79],"h2",{"id":78},"why-there-are-two-parts","Why there are two parts",[81,82,83,96],"table",{},[84,85,86],"thead",{},[87,88,89,93],"tr",{},[90,91,92],"th",{},"Part",[90,94,95],{},"Where it works",[97,98,99,110],"tbody",{},[87,100,101,107],{},[102,103,104,106],"td",{},[71,105,5],{}," block",[102,108,109],{},"The cart page — shows the date picker",[87,111,112,116],{},[102,113,114],{},[71,115,73],{},[102,117,118],{},"Everywhere else — blocks checkout buttons (cart drawer, popups)",[67,120,121,122,125],{},"The block handles the date picker and the checkout button on the cart page itself. The gate covers every other place a customer can click ",[71,123,124],{},"Checkout",".",[76,127,129],{"id":128},"turn-on-the-checkout-gate","Turn on the checkout gate",[131,132,135],"callout",{"color":133,"icon":134},"warning","i-lucide-alert-triangle",[67,136,137,138,141],{},"The checkout gate is ",[71,139,140],{},"turned off by default"," after you install the app. It won't block anything until you switch it on.",[143,144,145,152,162,171],"ol",{},[146,147,148,149,125],"li",{},"Go to ",[71,150,151],{},"Online Store → Themes → Customize",[146,153,154,155,158,159,125],{},"Click ",[71,156,157],{},"Theme settings"," (the gear icon, bottom-left) → ",[71,160,161],{},"App embeds",[146,163,164,165,167,168,125],{},"Switch ",[71,166,73],{}," ",[71,169,170],{},"on",[146,172,154,173,125],{},[71,174,175],{},"Save",[76,177,179],{"id":178},"check-its-working","Check it's working",[143,181,182,185,188,198],{},[146,183,184],{},"Go to your storefront and open a product page.",[146,186,187],{},"Add the product to your cart so the cart drawer or \"added to cart\" popup appears.",[146,189,190,191,194,195,197],{},"With a ",[71,192,193],{},"Required"," calendar and no date selected yet, the ",[71,196,124],{}," button should appear greyed out.",[146,199,200],{},"Go to the cart page, pick a delivery date, then return — the checkout buttons become active again.",[76,202,204],{"id":203},"when-checkout-is-blocked","When checkout is blocked",[67,206,207,208,211],{},"The gate blocks checkout only when ",[71,209,210],{},"all"," of these are true:",[213,214,215,220,223],"ul",{},[146,216,217,218],{},"At least one calendar that applies to the cart is marked ",[71,219,193],{},[146,221,222],{},"The cart contains products that use that calendar",[146,224,225],{},"No delivery date has been selected yet for that calendar",[67,227,228],{},"Optional calendars never block checkout.",[76,230,232],{"id":231},"on-the-cart-page","On the cart page",[67,234,235],{},"On the cart page, the date picker block already manages the checkout button, so the gate steps aside there to avoid doing the same job twice. You don't need to configure anything for this.",[76,237,239],{"id":238},"while-dates-are-loading","While dates are loading",[67,241,242],{},"For a moment after a page loads, the checkout buttons stay disabled while the available dates are fetched. There's no error message during this time — the buttons simply stay inactive until everything is ready, then unlock if no date is required.",[76,244,246],{"id":245},"does-this-affect-my-theme-or-theme-updates","Does this affect my theme or theme updates?",[67,248,249,250,253],{},"No. The checkout gate is added through Shopify's official app system — it does ",[71,251,252],{},"not"," edit your theme's files. You can update or switch themes without affecting it (you'll just turn the gate on again in the new theme).",[76,255,257],{"id":256},"troubleshooting","Troubleshooting",[81,259,260,270],{},[84,261,262],{},[87,263,264,267],{},[90,265,266],{},"Issue",[90,268,269],{},"Fix",[97,271,272,283,295,303],{},[87,273,274,277],{},[102,275,276],{},"Checkout buttons never get blocked",[102,278,279,280],{},"The gate is off — turn it on under ",[71,281,282],{},"Theme settings → App embeds",[87,284,285,288],{},[102,286,287],{},"Checkout still active everywhere",[102,289,290,291,294],{},"Your calendar may be optional — turn on ",[71,292,293],{},"Require a delivery date"," in Settings",[87,296,297,300],{},[102,298,299],{},"Works on the cart page but not the cart drawer",[102,301,302],{},"The gate is off — switch it on",[87,304,305,308],{},[102,306,307],{},"Gate is on but never blocks",[102,309,310],{},"The cart may be empty, or no calendar applies to the products in it",[76,312,314],{"id":313},"next-step","Next step",[67,316,317,318],{},"Common questions: ",[319,320,321],"a",{"href":57},"FAQ and troubleshooting →",{"title":323,"searchDepth":324,"depth":325,"links":326},"",1,2,[327,328,329,330,331,332,333,334,335],{"id":78,"depth":325,"text":79},{"id":128,"depth":325,"text":129},{"id":178,"depth":325,"text":179},{"id":203,"depth":325,"text":204},{"id":231,"depth":325,"text":232},{"id":238,"depth":325,"text":239},{"id":245,"depth":325,"text":246},{"id":256,"depth":325,"text":257},{"id":313,"depth":325,"text":314},"Block checkout in the cart drawer and \"added to cart\" popup until a required date is selected.","md",null,{},{"icon":54},{"title":51,"description":336},"6ZVD98smgvCilo47ZUBCCUebz-ELm63XWLOLM6_mzdo",[344,346],{"title":46,"path":47,"stem":48,"description":345,"icon":49,"children":-1},"Where the chosen delivery date appears on each order and how to use it.",{"title":56,"path":57,"stem":58,"description":347,"icon":59,"children":-1},"Common questions and fixes for Delivery Calendar.",1782600372801]