Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Commerce Shopping Hours

Security covered

Part of the Commerce ecosystem · 355 projects

View on drupal.org

Let's say that for some reason your webshop is not open 24/7. Maybe you have a restaurant with a delivery that works only from 9 AM to 23 PM. In this case, you don't want to accept orders when the shop is closed. This module allows you to define opening and closing hours for each day of the week. Your customers will still be able to add items to their cart but when they try to checkout they will be redirected to the warning page that displays a custom message and shopping hours. You can also add a block that displays a message and shopping hours so that your customers know in advance that your shop is closed.

How to use this module?

After you install the module go to '/admin/commerce/config/commerce_shopping_hours' and define shopping hours for your webshop and enter the message you want to show to customers when your shop is closed. You can also enable the option to show shopping hours on the warning page.

If you want you can also add a block that displays a warning message and shopping hours. To do this go to the Block layout and add a block with the name 'Commerce Shopping Hours' to the region you want.

To use this module you must have Drupal Commerce 2.x installed.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jan 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.05 Stable Jan 27, 2023