Opening hours Icon

Opening hours

Opening hours Main Screenshot

Insight Media Logo

Statamic Opening hours

Set your business' opening hours and exceptional closing times in the Statamic control panel.

Display or query the opening hours in your antler views using the provided openingHours tag.

Features

  • Adds an 'opening hours' page to the CP navigation, where you can define multiple opening hours per weekday
  • Add exceptional closing times, which override the default opening hours
  • Display the opening hours using the provided tag
  • Query for open/close status
  • Query for next/previous opening hours/closing times
  • Uses the Spatie Opening Hours package to perform queries

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require insight-media/statamic-opening-hours

Publish the optional config file.

php artisan vendor:publish --tag=statamic-google-opening-hours-config --force

How to Use

In the Statamic Control Panel

Set your business' opening hours in the Statamic control panel.

In your antlers templates

Check out the documentation on GitHub.