Plugin Details
Home / Plug-in market / Product Purchase Quantity Limit
Product Purchase Quantity Limit
Description:
A professional extension for BeikeShop that allows merchants to set minimum and maximum purchase quantity restrictions for individual products. Ideal for wholesale (MOQ) requirements, promotional limit-buys, and inventory management.
Key Features
-
Product Management Integration: Seamlessly adds Min/Max quantity fields to the product editing page.
-
Dynamic Storefront Display: Automatically shows purchase limit hints on the product detail page to guide customers.
-
Cart Validation: Real-time quantity verification when a user adds items to the cart.
-
Checkout Protection: Strict validation before order placement to ensure all items meet the set quantity criteria.
-
Multi-language Support: Fully compatible with English and Chinese.
Installation
- Log in to the BeikeShop backend and go to the plugin marketplace to download plugins.
-
Locate "Product Purchase Quantity Limit" and click Enable.
-
Auto-Migration: The system will automatically execute database migrations; no manual SQL scripts are required.
How to Use
1. Setting Up Quantity Limits
-
Navigate to Products > Product Management in the backend.
-
Edit an existing product or create a new one.
-
In the edit interface, you will find two new fields:
-
Minimum Purchase Quantity: The minimum units a customer must buy (Set to
0for no limit). -
Maximum Purchase Quantity: The maximum units a customer can buy (Set to
0for no limit).
-

2. Storefront Display & Experience
When a limit is configured, a hint will appear directly below the quantity input box on the product page:
-
Min Limit Only: Displays "Minimum purchase: X units"
-
Max Limit Only: Displays "Maximum purchase: X units"
-
Both Limits Set: Displays "Purchase quantity must be between X and Y units"

Why Choose This Plugin?
-
Wholesale Friendly: Easily enforce Minimum Order Quantities (MOQ) for B2B operations.
-
Prevent Hoarding: Limit the quantity per order for high-demand or promotional items.
-
Zero Coding: Fully visual configuration with automated validation logic.
-
Native Integration: Follows BeikeShop's core architecture for maximum stability and performance.