Title: LindyMOQ: MOQ Settings for Products in SureCart
Author: aurefau
Published: <strong>2026 年 6 月 1 日</strong>
Last modified: 2026 年 6 月 1 日

---

搜尋外掛

![](https://ps.w.org/lindymoq/assets/icon-256x256.png?rev=3556766)

# LindyMOQ: MOQ Settings for Products in SureCart

 由 [aurefau](https://profiles.wordpress.org/aurefau/) 開發

[下載](https://downloads.wordpress.org/plugin/lindymoq.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/lindymoq/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/lindymoq/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/lindymoq/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/lindymoq/#developers)

 [技術支援](https://wordpress.org/support/plugin/lindymoq/)

## 外掛說明

**LindyMOQ** lets you set a minimum order quantity (MOQ) per SureCart product or
per variant. Customers can order the minimum or more — but checkout is blocked if
they try to go below it.

MOQ values are managed from a dedicated settings page in WordPress admin (Settings
LindyMOQ), independent of SureCart’s product editor.

#### Features

 * Set an MOQ per product, or per individual variant
 * Product-page quantity selector is locked to the MOQ — no flicker, no client-side
   bypass
 * Checkout is blocked server-side when the quantity is below the MOQ
 * Clear error message shown at checkout when the minimum is not met
 * Quantities are aggregated across all line items before comparing to the MOQ
 * Stock-aware: current stock is shown next to each MOQ in the settings page, with
   a red “below MOQ” flag when stock is insufficient
 * Strict stock gate on the product page: when stock is below the MOQ, the buy button
   is disabled and an “understocked — please check back soon” message is shown
 * Honours SureCart’s “continue selling when out of stock” setting — when enabled,
   the stock gate is bypassed so backorders go through normally
 * Simple settings page — no complicated configuration

#### Requirements

[SureCart](https://wordpress.org/plugins/surecart/) must be installed, active, and
connected to the SureCart API.

## 安裝方式

 1. Upload the `lindymoq` folder to `/wp-content/plugins/`
 2. Activate the plugin in **WordPress  Plugins**
 3. Go to **Settings  LindyMOQ**
 4. Enter the minimum quantity for each product and click **Save MOQ settings**

SureCart must be installed, active, and connected before the settings page can list
your products.

## 常見問題集

### Does this work with SureCart product variants?

Yes. Products with variants show one MOQ input per variant. The minimum applies 
to that specific variant’s quantity.

### What happens when a customer orders below the minimum?

The product-page quantity selector starts at the MOQ and physically cannot go below
it. If a customer somehow reaches checkout with fewer units, checkout is blocked
server-side and they see a clear error message.

### Does the MOQ apply across multiple line items?

Yes. Quantities are summed per product (and per variant) across all line items before
comparing to the MOQ.

### What happens if I have less stock than the MOQ?

By default, the buy button is disabled on the product page and a short “minimum 
order is X units, currently understocked” message is shown, so customers can’t add
an order you can’t fulfil. In the settings page, the affected MOQ row shows a red“
below MOQ” flag next to the stock count so you can spot the conflict.

If SureCart’s “continue selling when out of stock” is enabled for the product, the
stock gate is bypassed entirely — the customer can still buy and you handle the 
backorder.

### My product list is empty — why?

Make sure SureCart is active and connected to its API. The settings page fetches
products via SureCart’s PHP SDK, which requires an active API connection.

### What is the maximum number of products supported?

The settings page fetches all non-archived products in a single request. If you 
have a very large catalog and products are missing, contact the plugin author.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈LindyMOQ: MOQ Settings for Products in SureCart〉的開發相關
工作。

參與者

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

[將〈LindyMOQ: MOQ Settings for Products in SureCart〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/lindymoq)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/lindymoq/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/lindymoq/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/lindymoq/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/lindymoq/)。

## 變更記錄

#### 1.1.0

 * New: stock-aware admin display — current stock shown next to each MOQ, flagged
   red when below MOQ
 * New: product-page buy button is disabled with a clear “understocked” message 
   when stock is below the MOQ
 * New: respects SureCart’s “continue selling when out of stock” setting (gate is
   bypassed when on)
 * Fix: quantity input value-trap is now re-applied on every render cycle, so the
   Interactivity API can no longer swap in an un-trapped input
 * Fix: value-trap no longer attaches to non-input web components (avoids an “Illegal
   invocation” landmine)
 * Fix: plugin action link no longer depends on the folder being named `lindymoq`

#### 1.0.0

 * Initial release

## 中繼資料

 *  版本 **1.1.0**
 *  最後更新 **17 小時前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/lindymoq/)
 * 標籤:
 * [ecommerce](https://tw.wordpress.org/plugins/tags/ecommerce/)[minimum order quantity](https://tw.wordpress.org/plugins/tags/minimum-order-quantity/)
   [surecart](https://tw.wordpress.org/plugins/tags/surecart/)
 *  [進階檢視](https://tw.wordpress.org/plugins/lindymoq/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/lindymoq/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/lindymoq/)