PHP 8.6 Is Out: New Features With Examples, and When Joomla Will Use Them Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems
NextSoftware

Live Status

The status tells visitors at a glance whether they can come by now.

The four states

State When
Open Inside a time range
Closing soon Inside a time range, less than the warning time before it ends (default 30 minutes)
On a break Between two ranges of the same day
Closed Outside all ranges, or on a closed day or special day

Each state has its own colour, badge text and message. The message names the next change: "Closes at 18:00", "Back at 13:30" or "Opens tomorrow at 09:00".

Right on cached pages

Joomla's page cache, a caching plugin or a CDN can serve the same HTML for hours. A status printed by the server would then be stale.

Smart Business Hours prints the whole week, the special days and the seasons into the page and lets the visitor's browser work out:

  • the current state and its message,
  • the countdown, ticking every second or every minute,
  • today's highlight in the list,
  • the "now" marker on the Timeline.

The calculation uses your business time zone, so a visitor in another country sees whether you are open now, not whether it is daytime where they are.

Without JavaScript, the page still shows the hours and the status as it was when the page was built.

Messages

Change the texts under Status > Status messages and use the tokens {time}, {day}, {countdown} and {label}. Leave a field empty to use the default in the visitor's language. See Status settings.

Checking every state

In the Studio, the buttons above the preview jump to the next moment the business is open, closing soon, on a break or closed, and the countdown runs from there. That way you can read each message without waiting for the right time of day.

All Extensions