Title: Expiry Time Coupon for WooCommerce
Author: Morteza Geransayeh
Published: <strong>2025 年 10 月 1 日</strong>
Last modified: 2025 年 10 月 1 日

---

搜索插件

![](https://ps.w.org/expiry-time-coupon-for-woocommerce/assets/banner-772x250.jpg?
rev=3370967)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/expiry-time-coupon-for-woocommerce/assets/icon.svg?rev=3371019)

# Expiry Time Coupon for WooCommerce

 作者：[Morteza Geransayeh](https://profiles.wordpress.org/man4toman/)

[下载](https://downloads.wordpress.org/plugin/expiry-time-coupon-for-woocommerce.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/expiry-time-coupon-for-woocommerce/#description)
 * [评价](https://cn.wordpress.org/plugins/expiry-time-coupon-for-woocommerce/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/expiry-time-coupon-for-woocommerce/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/expiry-time-coupon-for-woocommerce/#developers)

 [支持](https://wordpress.org/support/plugin/expiry-time-coupon-for-woocommerce/)

## 描述

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 example `17:30`.
 * The coupon will be valid until the combined timestamp; after that, it will be
   treated as expired.

## 屏幕截图

[⌊Timepiker coupon for WooCommerce⌉⌊Timepiker coupon for WooCommerce⌉[

Timepiker coupon for WooCommerce

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP via **Plugins
    Add New  Upload**.
 2. Activate **Expiry Time Coupon for WooCommerce**.
 3. Edit or create a coupon in **Marketing  Coupons**, set an **Expiry date** and a**
    Coupon expiry time**.

## 常见问题

### Do I have to set both date and time?

No. If you don’t set a time, WooCommerce’s default date-only logic applies. If you
set a time without a date, the time is ignored.

### What if my admin doesn’t have a time picker UI?

The field accepts a simple `HH:MM` string. If a time picker is available in your
admin, it will be used; otherwise you can type the time.

### Does this affect performance?

No. It only adds a small check during coupon validation.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Expiry Time Coupon for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Morteza Geransayeh ](https://profiles.wordpress.org/man4toman/)

[帮助将「Expiry Time Coupon for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/expiry-time-coupon-for-woocommerce)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/expiry-time-coupon-for-woocommerce/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/expiry-time-coupon-for-woocommerce/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/expiry-time-coupon-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/expiry-time-coupon-for-woocommerce/)。

## 更新日志

#### 1.0.0

 * Initial release: add time-of-day to coupon expiry.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**1 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **6.8.12**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/expiry-time-coupon-for-woocommerce/)
 * 标签
 * [coupons](https://cn.wordpress.org/plugins/tags/coupons/)[expiration](https://cn.wordpress.org/plugins/tags/expiration/)
   [expiry](https://cn.wordpress.org/plugins/tags/expiry/)[time](https://cn.wordpress.org/plugins/tags/time/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/expiry-time-coupon-for-woocommerce/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/expiry-time-coupon-for-woocommerce/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/expiry-time-coupon-for-woocommerce/reviews/)

## 贡献者

 *   [ Morteza Geransayeh ](https://profiles.wordpress.org/man4toman/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/expiry-time-coupon-for-woocommerce/)