What you set up
- Opening hours for each weekday: one to three ranges such as 09:00-13:00, 14:00-18:00; empty means closed all day.
- Closed days: one date per line (2026-12-25).
- The message on the cart page; %next is replaced by "Next opening: 2026-11-24 09:00". Times follow the shop time zone.
What shoppers see
- While closed: a notice under the cart title, and the checkout (and One Page Checkout) sends them back to the cart page.
- While open nothing changes. The "Next opening" words are in a language file you can translate.
Safe
- Hours are checked when saved (ranges in order, not overlapping); closed days must be real dates; the message is plain text and escaped.
- Switch the module off and the checkout is always open. No database tables.
Good to know
- It closes the checkout only: products stay visible and can be added to the cart. Orders already placed are not affected, and a payment page already open can still be completed.
- Tested on 2.3, 3.0, 4.0 and 4.1 with the real admin installer, 46 to 51 checks each, including closed days and the next opening date. Opening by the clock inside a day is checked by the schedule logic only at the edges (all day open, all day closed, hours already over). Not checked in a real browser.