fbpx
Booster for WooCommerce - WooCommerce Maximum Products per User Booster for WooCommerce - WooCommerce Maximum Products per User

WooCommerce Maximum Products per User

Overview #

The WooCommerce Maximum Products per User plugin allows you to set a limit on the number of items, of a product, logged-in customers can buy. It allows you to set a global limit for all the products of your WooCommerce store or set the limit for selected products.

When you enable the WooCommerce Maximum Products per User plugin, products bought by a single user are calculated by lifetime stats and not per order. For example, if the maximum number of products a customer can buy is set to 2 and a customer has bought two belts in the previous order and tries to buy the same belt again in another order, then he will not be able to buy the belt. By default, the product quantities, of the customer, will be updated when the order status of the customer is changed to completed. However, you can change this setting.

Additionally, you cannot set a maximum quantity for users that are not logged-in/guest users. 

Enabling Maximum Products per User #

To enable and use the Maximum Products per User plugin, you should first download and install Booster for WooCommerce.

1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > SHIPPING & ORDERS > Maximum Products per User.

The Maximum Products per User Module Options page will be displayed.

2. In the Shipping Methods by City or Postcode section, check the box for Enable Module field.

3. Scroll down to the end of the page and click Save changes.

The WooCommerce Shipping Methods by City or Postcode plugin will be enabled for your site.

Setting Maximum Limit for Entire Site #

You can set a global limit on the number of items logged-in customers can buy, for all the products of your WooCommerce store using this option.

1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > SHIPPING & ORDERS > Maximum Products per User.

The Maximum Products per User Module Options page will be displayed.

2. In the All Products section, to enable the option to set a maximum limit on the number of items, of a product, any logged-in user can buy for all products of your store, check the box for All Products – Enable section field.

3. Enter the maximum number of items, of a product, any logged-in user can buy in the Maximum Allowed Each Product’s Quantity per User field.

4. In the General Options section, enter/select required values for the fields. Refer to the table below for field descriptions:

Field Description
Order Status Status of the customer order for which the product quantities of the users’ will be updated. You can select multiple order statuses here. When multiple statuses are selected, product quantities will be updated based on whichever status is triggered first. And will be updated only once. The default value is Completed.
Customer Message Message that will be displayed to the customer when the maximum limit of a product is reached/exceeded
Block Add to Cart – Enable Specifies if the customer will be stopped from adding products to cart when a product quantity is exceeded
Block Checkout Page – Enable Specifies if the customer will be stopped from accessing the checkout page when a product quantity is exceeded. When this field is enabled, customers who are stopped from accessing the checkout page will be redirected to the cart page.

5. Click Save changes.

The maximum limit on the number of items logged-in customers can buy for all the products will be set.

Output #

A sample cart page with the quantity exceeded message displayed is shown in the below screenshot:

Setting Maximum Limit Per Product #

You can set a limit on the number of items logged-in customers can buy, for selected products using this option.

1. Navigate to WordPress Dashboard > WooCommerce > Settings > Booster > SHIPPING & ORDERS > Maximum Products per User.

The Maximum Products per User Module Options page will be displayed.

2. In the Per Product section, to enable the option to set a maximum limit on the number of items any logged-in user can buy for selected products, check the box for Per Product – Enable section field.

3. In the General Options section, enter/select required values for the fields. Refer to the table below for field descriptions:

Field Description
Order Status Status of the customer order for which the product quantities of the users’ will be updated. You can select multiple order statuses here. When multiple statuses are selected, product quantities will be updated based on whichever status is triggered first. And will be updated only once. The default value is Completed.
Customer Message Message that will be displayed to the customer when the maximum limit of a product is reached/exceeded
Block Add to Cart – Enable Specifies if the customer will be stopped from adding products to cart when a product quantity is exceeded
Block Checkout Page – Enable Specifies if the customer will be stopped from accessing the checkout page when a product quantity is exceeded. When this field is enabled, customers who are stopped from accessing the checkout page will be redirected to the cart page.

4. Click Save changes.

The maximum limit on the number of items logged-in customers per product will be set.

Powered by BetterDocs