{%- comment -%} App embed: loads the widget on every page so it can (1) appear inside the cart drawer, (2) adopt waitlist offers from links, and (3) stop checkout clicks when a time is required. {%- endcomment -%} {% schema %} { "name": "Datewise", "target": "body", "javascript": "datewise.js", "stylesheet": "datewise.css", "settings": [ { "type": "checkbox", "id": "checkout_guard", "label": "Ask for a time before checkout", "default": true, "info": "Stops the checkout button until a time is chosen, when your Datewise settings require one." }, { "type": "text", "id": "drawer_selector", "label": "Cart drawer selector (advanced)", "info": "Only if the widget doesn't appear in your cart drawer. CSS selector for the drawer's footer." } ] } {% endschema %}