Linux 软件免费装

LindyMOQ: MOQ Settings for Products in SureCart

开发者 aurefau
更新时间 2026年6月1日 20:45
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ecommerce surecart minimum order quantity moq

下载

详情介绍:

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 Requirements 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.

更新日志:

1.1.0 1.0.0