How do I block rentals for a given date range?

Modified on Mon, 6 Nov, 2023 at 4:42 PM

You may need to prevent rentals from occurring over a period, for example, for a warehouse change. It is possible in Prismic to put a start date and an end date in order to define a range during which it will not be possible for customers to rent products.


In General > DatePicker > blocked_dates_start and blocked_dates_end


It is possible to set the start and end date on the same day (to block orders on a holiday for example).

Visually on the site, the dates in question will appear greyed out:


What if I want to block several non-continuous days?

For the moment, it is not possible to block several non-continuous dates for rental.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article