PHPackages                             alexminza/wc-alcohol - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. alexminza/wc-alcohol

ActiveWordpress-plugin

alexminza/wc-alcohol
====================

Products Sale Restrictions for WooCommerce

v1.2.0(3mo ago)015GPL-3.0-or-laterPHPPHP &gt;=7.2.5

Since Mar 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/alexminza/wc-alcohol)[ Packagist](https://packagist.org/packages/alexminza/wc-alcohol)[ Docs](https://github.com/alexminza/wc-alcohol)[ RSS](/packages/alexminza-wc-alcohol/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

```
=== Products Sale Restrictions for WooCommerce ===
Contributors: alexminza
Tags: WooCommerce, products, sale, time, restriction
Requires at least: 4.8
Tested up to: 6.9
Stable tag: 1.2.0
Requires PHP: 7.2.5
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Products sale limitations during restriction hours.

== Description ==

Products sale limitations during restriction hours.

= Features =

* Restriction time interval
* Multiple restricted product categories
* Customizable warning message
* Display warning on product and category pages
* Free to use – [Open-source GPL-3.0 license on GitHub](https://github.com/alexminza/wc-alcohol)

== Frequently Asked Questions ==

= How can I configure the plugin settings? =

Use the *WooCommerce > Settings > Products > Products sale restrictions* screen to configure the plugin.

= How can I contribute to the plugin? =

If you're a developer and you have some ideas to improve the plugin or to solve a bug, feel free to raise an issue or submit a pull request in the [Github repository for the plugin](https://github.com/alexminza/wc-alcohol).

You can also contribute to the plugin by translating it. Simply visit [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wc-alcohol) to get started.

== Screenshots ==

1. Plugin settings
2. Product page warning
3. Category page warning

== Changelog ==

See [wc-alcohol project releases on GitHub](https://github.com/alexminza/wc-alcohol/releases) for details.

= 1.2.0 =
* Code reorganization and refactoring for better maintainability
* Added WooCommerce compatibility declarations for Cart/Checkout blocks and product instance caching

= 1.1.3 =
Adjusted plugin name to comply with the [WooCommerce trademark guidelines](https://woocommerce.com/trademark-guidelines/).

= 1.1.2 =
Minor logging fixes.

= 1.1.1 =
Added support for WooCommerce [High-Performance Order Storage (HPOS)](https://woocommerce.com/document/high-performance-order-storage/).

= 1.1.0 =
Allow restriction time start and end in the same day.

= 1.0.9 =
Updated WC tested up to 4.5.2.

= 1.0.8 =
Updated WC tested up to 4.1.0.

= 1.0.7 =
Updated WC tested up to 4.0.1.

= 1.0.6 =
Minor changes.

= 1.0.5 =
Minor improvements.

= 1.0.4 =
Fix PHP warnings.

= 1.0.3 =
Check WooCommerce is active during plugin initialization.

= 1.0.2 =
Display warning options on product and category pages.

= 1.0 =
Initial release.

== Upgrade Notice ==

= 1.2.0 =
Code reorganization and refactoring for better maintainability.

= 1.1.3 =
Adjusted plugin name to comply with the [WooCommerce trademark guidelines](https://woocommerce.com/trademark-guidelines/).

= 1.1.1 =
Added support for WooCommerce [High-Performance Order Storage (HPOS)](https://woocommerce.com/document/high-performance-order-storage/).
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~262 days

Recently: every ~394 days

Total

12

Last Release

91d ago

PHP version history (2 changes)v1.0.3PHP &gt;=7.0

v1.2.0PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/8621365c2c0997e317ce43bf4211caf5ca443d487052f5e4e024ca4d297ac6ba?d=identicon)[alexminza](/maintainers/alexminza)

---

Top Contributors

[![alexminza](https://avatars.githubusercontent.com/u/149919?v=4)](https://github.com/alexminza "alexminza (40 commits)")

---

Tags

productsrestrictionsalewoocommercewoocommerce-pluginwordpresswordpress-plugintimeproductswoocommercerestrictionsale

### Embed Badge

![Health badge](/badges/alexminza-wc-alcohol/health.svg)

```
[![Health](https://phpackages.com/badges/alexminza-wc-alcohol/health.svg)](https://phpackages.com/packages/alexminza-wc-alcohol)
```

###  Alternatives

[psr/clock

Common interface for reading the clock.

642332.9M343](/packages/psr-clock)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[symfony/clock

Decouples applications from the system clock

430168.9M205](/packages/symfony-clock)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[azuyalabs/yasumi

The easy PHP Library for calculating holidays

1.1k11.4M26](/packages/azuyalabs-yasumi)[carbonphp/carbon-doctrine-types

Types to use Carbon in Doctrine

213220.4M8](/packages/carbonphp-carbon-doctrine-types)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
