With this module you can limit maximum allowed quantity of product that can be sold during specific date or time range. For each item in shop you can define various dates and various availability of quantities to purchase. As an example - you can setup module that will limit availabile quantity of product to purchase to 30 qty and this limit will be active from monday 3 August 2020 11:00 to 4 August 2020 3:00 etc. monday 3 August 2020 11:00 to 4 August 2020 3:00 etc.
As you already know - with this module you can control how many items of a product can be sold within a specific, custom time range. The module is applicable to selected products, and each product can have an unlimited number of conditions where you can control the exact number of items that can be sold within a specific date or time range.
Main features of the module
The main feature of the module is the ability to control the quantity of a product that can be sold within a specific date or time range. The module will count how many items were purchased on that specific day, and if the number of items sold reaches the defined limit - it will not be possible to place an order for that product. Thanks to our add-on, you can create an unlimited number of such conditions. Below you will find a configuration example:
How it works
Firstly, the module checks if there are active conditions that are available at the moment. The module checks all orders placed on that specific day from various customers (including guests, if guest checkout is active). If the order contains products from the defined active condition - our module will start counting the number of purchases. Thanks to the options included in the module - the module will retrieve a list of orders from the defined date with the exact status ( see screenshot ) - this means that only actual sales can be included in the calculation (for example, all orders with the status "payment accepted", while "cancelled" orders will be excluded from the quantity control process). If the total number of sales reaches the defined quantity limit - it will not be possible to place an order for the product on that specific date or within a specific time range.
1.3.0
- updated module workflow in terms of its usage in environment based on php 8.x
1.2.0
- added improvements to make module work in prestashop 8.x
1.1.0
- added improvements to module's updates checker feature
1.0.0
- started project on mypresta addons marketplace