metatroncubeswdev e56182e0e3 chore: initial Datewise app (rebranded from SlotSure prototype)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:06:49 -04:00

32 lines
800 B
Plaintext

{%- comment -%}
App block for the cart page. The widget renders into this element; the app embed
(embed.liquid) adds the same widget to cart drawers.
{%- endcomment -%}
<div
class="datewise"
data-datewise-root
data-heading="{{ block.settings.heading | escape }}"
{{ block.shopify_attributes }}
>
<div class="ss-skeleton" aria-hidden="true"></div>
<noscript>{{ 'datewise.noscript' | t }}</noscript>
</div>
{% schema %}
{
"name": "Delivery date & time",
"target": "section",
"javascript": "datewise.js",
"stylesheet": "datewise.css",
"enabled_on": { "templates": ["cart"] },
"settings": [
{
"type": "text",
"id": "heading",
"label": "Heading",
"info": "Leave blank to use the heading from the Datewise app settings."
}
]
}
{% endschema %}