
Expiry Time Coupon for WooCommerce
v1.0.1Morteza Geransayeh · 2025年10月1日 上架
Add a time-of-day component to WooCommerce coupon expiry that works together with the built-in expiry date.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 555
- 最近更新
- 2025年10月1日
需要 WordPress 6.1+已测试到 6.8.13PHP 7.4+
截图
WooCommerce lets you set a coupon “Expiry date” but not an exact time.
This lightweight plugin adds a “Coupon expiry time” field (HH:MM, 24h) to the coupon edit screen.
When both date and time are set, the coupon will expire on that date at the time you specify.
Key points
* Works alongside WooCommerce’s native coupon expiry date.
* Time is stored internally as seconds since midnight and combined with the date.
* No changes to your theme or checkout templates required.
Usage
- Set Expiry date as usual in WooCommerce.
- Set Coupon expiry time in
HH:MM(24-hour) format, for example17:30. - The coupon will be valid until the combined timestamp; after that, it will be treated as expired.
