Do you need to limit the number of specific products a customer can purchase in a single order on your WooCommerce store? Setting a “max quantity per order” is crucial for managing inventory, preventing stockouts, enforcing fair purchasing policies during flash sales, or dealing with limited edition products.
For example, you might want to limit customers to buying only two pairs of a popular shoe model or a maximum of five units of a high-demand electronic item to ensure more shoppers get a chance to buy.
However, manually setting maximum quantities using the default WooCommerce editor can be extremely time-consuming. You’d have to:
- Open each product individually.
- Find the specific quantity field (usually added by a third-party plugin).
- Enter the maximum quantity.
- Save the product.
- Repeat for every single product you want to limit.
If you have dozens or hundreds of products or even product variations that need this restriction, this manual process becomes a significant bottleneck. Fortunately, there’s a much faster way to bulk set the max quantity per order in WooCommerce using a spreadsheet editor.
We’ll use the WP Sheet Editor – WooCommerce Products Spreadsheet plugin to efficiently filter products and apply quantity limits in bulk.
Why Use WP Sheet Editor to Bulk Set Max Quantity Per Order?
The WP Sheet Editor – WooCommerce Products plugin transforms your WordPress product management into a streamlined process. It allows you to:
- View and edit all your WooCommerce products and their data (including fields from other plugins like “Max Quantity”) in an intuitive spreadsheet.
- Search and filter for products by any criteria, such as keyword, category, attribute, tag, price, or stock status.
- Bulk edit hundreds or thousands of products at once with a few clicks.
You can download the plugin here:
Download WooCommerce Products Spreadsheet Plugin – or – Check the features
Video Guide: Bulk Set Max Quantity Per Order
Text Guide: Bulk Setting Max Quantity Per Order
After installing and activating the plugin, follow these steps to bulk set the maximum quantity per order for your WooCommerce products.
1. Open the WooCommerce Products Spreadsheet
Go to WP Sheet Editor > Edit Products. You’ll see a spreadsheet displaying all your WooCommerce products (and variations, if enabled) with their detailed information in rows and columns.
If you’re using a plugin like WooCommerce Max Quantity, it will add a custom field for this setting. Scroll to the right in the spreadsheet, and you should find a column similar to Isa Wc Max Qty Product Max.
You can directly edit the maximum quantity per order by clicking on individual cells and entering the desired number, just like in Excel or Google Sheets. Once done, click Save to apply your changes.
2. Select the Products You’ll Edit (Using the Search Tool)
Before applying a bulk change, you need to filter the specific products that will receive the quantity limit. This prevents accidental changes to your entire catalog.
You have two main options for selecting products:
- Manually select rows: Use the checkbox picker on the left side of the spreadsheet to select specific products.
- Filter products dynamically: Use the Search tool to find products by keyword, category, attribute, tag, price, and more.
Click the Search tool in the toolbar to open its filtering options.
The Search tool offers robust filtering capabilities:
- Contains keyword: Find products with specific words in their title (e.g., “shoes,” “shirts”).
- Enter Tags: Filter by category, attribute, tag, or shipping class.
- Search on variations: If you need to set limits for specific product variations.
- Enable advanced filters: Create complex searches based on price ranges, dates, stock status, or any custom field.
For this example, let’s filter all products related to “shoes.” Enter “shoes” in the Contains keyword field and click Run Search. The spreadsheet will now display only these products.
3. Bulk Set Max Quantity Per Order
With your products filtered, open the Bulk Edit tool from the toolbar.
Configure the Bulk Edit tool with these values to set the desired maximum quantity per order for all selected products:
- Select the rows that you want to update: Edit all the rows from my current search
- What field do you want to edit: Isa Wc Max Qty Product Max (This field name may vary based on your Max Quantity plugin)
- Select type of edit: Set value
- Replace existing value with this value: Enter the maximum number of items a customer can add to their cart for these products (e.g.,
2) - Click Execute Now
Once the bulk edit is complete, the spreadsheet will refresh, and you’ll see the updated maximum quantity applied to all the filtered products.
That was easy! Bulk Set Max Quantity Per Order in Minutes
With WP Sheet Editor, setting maximum quantities per order for hundreds or thousands of WooCommerce products no longer requires tedious manual editing. You can quickly:
- Find specific products using advanced filters (by category, attribute, keyword, tag, price, etc.).
- Apply mass quantity limits to all filtered products or individually selected items.
- Edit settings for both parent products and product variations.
This spreadsheet editor streamlines your inventory management, saves you hours of work, and helps you maintain control over your WooCommerce store’s purchasing rules.
You can download the plugin here:
Download WooCommerce Products Spreadsheet Plugin – or – Check the features








