Title: Simple MinMax
Author: nicnetza
Published: <strong>2022 年 7 月 20 日</strong>
Last modified: 2024 年 11 月 15 日

---

搜索插件

![](https://ps.w.org/simple-minmax/assets/banner-772x250.png?rev=2758983)

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

![](https://ps.w.org/simple-minmax/assets/icon.svg?rev=2758983)

# Simple MinMax

 作者：[nicnetza](https://profiles.wordpress.org/nicnetza/)

[下载](https://downloads.wordpress.org/plugin/simple-minmax.3.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-minmax/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-minmax/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/simple-minmax/#developers)

 [支持](https://wordpress.org/support/plugin/simple-minmax/)

## 描述

This plugin extension for WooCommerce allows for the setting, on a product by product
basis, of the minimum and/or maximum quantities that the product can be ordered (
added to cart). This information can optionally be displayed on the product page.
The minimum and/or maximum quanity per category or value per category can also be
set. The plugin also provides the option to hide a product category on the shop 
page.

The plugin os provided AS IS, with no warranty.

### Configuration

There is only one setting to configure, whether to display the Maximum and/or Minimum
Quatities for a product to the user.

In Worpress Admin Console, Select Plugins on the left.

Select Settings under the Simple MinMax Plugin.

If no Settings option appears, this means that WooCommerce is not installed AND 
activated.

The Option allows to select whether to display the Minimum and/or Maximum quantities
on the product page if they are configured for a product.

The Default option is Do Not Display Min/Max – this means nothing will be displayed

Option Above The Add To Cart Button, will display any Minimum and/or Maximum information
Above the Add To cart Button

Option Under The Add To Cart Button, will display any Minimum and/or Maximum information
Under the Add To cart Button

#### Setting Min/Max Per Product

To add a Minimum and/or Maximum quantity to a product, go to WooCommerce Products
and select inventory.

A box will be displayed to optionally set a Minimum or Maximum add to cart quantity.

#### Setting Min/Max Per Category

When creating a new category or editing a ctaegory, the Minimum and Maximum order
value or quanity can be set. Ideal for limiting the number or value of free samples
etc!

## 常见问题

### There is no Settings Option for the Simple MinMax Plugin.

This means WooCommerce is not installed or not activated. Please install and activate
WooCommerce.

### Minimum/Maximum Quantity Logic.

The plugin dose not verify that the minimum quantity is less than the maximum quantity
and vice versa. This logic is left to the user.

### Is there multi-language support for Simple MinMax Plugin.

Unfortunately not at the moment!

### How can the style of the Minimum and Maximum input boxes be set

A div of class smm_options_group is used, so this can be styled with CSS.

### How can the style of the Minimum and Maximum quantities displayed to the user on the product page be set

A div of class smm_quantity_content is used, so this can be styled with CSS.

## 评价

![](https://secure.gravatar.com/avatar/939e137b475b674adced24648dd1a30ec6e93ed6be787e32626baeceb06466eb?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-34669/)󠁿

 [nicnetza](https://profiles.wordpress.org/nicnetza/) 2022 年 7 月 26 日

Dose exactly what it says it will do perfectly!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/simple-minmax/reviews/)

## 贡献者及开发者

「Simple MinMax」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ nicnetza ](https://profiles.wordpress.org/nicnetza/)

[帮助将「Simple MinMax」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-minmax)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.0.2

**Simple MinMax**
 * Add – WordPress 6.7

#### 3.0.1

2024-08-20
 **Simple MinMax** * Add – WordPress 6.6.1

#### 3.0.0

**Simple MinMax**
 * Some minor bug fixes * More vigorous sanitizing, escaping, 
and validating * Dynamic currency symbol, delimiter and precession

#### 2.1.3 2023-08-10

**Simple MinMax**
 * Add – WordPress 6.3

#### 2.1.2 2023-01-23

**Simple MinMax**

 * Add – WordPress 6.1.1
 * Fix – contact details

#### 2.1.1 2022-10-18

**Simple MinMax**

 * Add – WordPress 6.0.3

#### 2.1.0 2022-08-26

**Simple MinMax**

#### 2.1.0

 * Add – Category Do Not Display On Shop Page (for Monique)
 * Add – WordPress 6.0.2

#### 2.0.0 2022-08-26

**Simple MinMax**

 * Add – Minimum/Maximum Category Value (for Monique)
 * Add – Minimum/Maximum Category Quantity

#### 1.1.0 2022-07-20

**Simple MinMax**

 * Add – Updated documentation
 * Fix – variable checking

#### 1.0.0 2022-07-10

**Simple MinMax**
 * Initial Release

## 额外信息

 *  版本 **3.0.2**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-minmax/)
 * 标签
 * [maximum](https://cn.wordpress.org/plugins/tags/maximum/)[minimum](https://cn.wordpress.org/plugins/tags/minimum/)
   [Per Product](https://cn.wordpress.org/plugins/tags/per-product/)[product limit](https://cn.wordpress.org/plugins/tags/product-limit/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-minmax/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/simple-minmax/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/simple-minmax/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/simple-minmax/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-minmax/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/simple-minmax/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-minmax/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-minmax/reviews/)

## 贡献者

 *   [ nicnetza ](https://profiles.wordpress.org/nicnetza/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/simple-minmax/)