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.
As you already know - with this module you can control how many items of product can be sold on specific custom time-range. Module is applicable to selected products and each of item can have unlimited number of conditions where you can control an exact number of items that can be sold on specific date or time range.
Main features of the module
The main feature of the module is possibility to control quantity of product that can be sold on specific date or time range. Module will count how many items were purchased on this specific date and if the quantity of sold items will reach defined limit - it will be not possible to place an order for this item. With our addon you can create unlimited number of such conditions. Below you can find an example of configuration:
How does it work?
Firstly module checks if there are some active conditions that are available at the moment. Module checks all orders placed on this specific date from various customers (also guests if guest-checkout is active). If order will contain products from defined active condition - our module will start to count the number of purchases. Thanks to options included to the module - module will get list of orders from defined date with exact state (see screenshot) - this means that only real sales can be included to calculation (for example all orders with state "payment accepted", while "cancelled" orders will be excluded from quantity control process). If total number of sales will reach defined quantity limit - it will be not possible to place an order for product on this specific date or during 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