<aside> 🚨
It is important to enable checkout validation to ensure that a date has been entered in the cart, otherwise you may take orders with no date set.
</aside>
To enable the validation:
Settings→Checkout→Checkout rules (at the bottom of the checkout page)Cart Date Validation rule by DateViewSaveTurn OnProvided the app block is in your cart and visible (ie, not hidden) then the date selected by the customer is validated in checkout; if no date is present checkout will be blocked until a date is selected. This ensures that every order has a date selected.
<aside> ⚠️
The app functions best when the customer is guided through the cart to make a purchase, and can enter the date. If accelerated checkouts are used then the customer will be blocked in checkout without having selected a date. It is best, therefore, to disable accelerated checkouts in your store.
</aside>
<aside> ⚠️
App blocks will only work in Shopify 2.0 themes onwards - old themes like Debut do not support app blocks, and they will not work in old themes.
</aside>
To start collecting dates in the cart you will first need to add the app’s theme block to your own storefront theme. There are different ways to apply this, depending on which theme you have in your store.
In our experience, the best placement of the date picker is close to the checkout button.
<aside> 🚨
The date picker only works on the cart page - not in sidebar/cart drawers. Check your theme settings and set the cart option to be the full page, not the drawer option.
</aside>
Some themes, like Dawn or Dawn based themes, allow you to add the theme block directly to the subtotal sidebar:
