
Website Sale Stock Available
This module prioritizes the "Available Quantity" for ecommerce product listings. "Available Quantity" represents the actual stock minus reserved quantities, providing a more accurate picture of what's available for purchase. It restricts adding products to the cart if the "Available Quantity" is zero or less, preventing overselling. It displays availability messages based on the "Available Quantity," giving customers clearer stock information.
This module extends the functionality of the Product Availability module (technical name: website_sale_stock) so that for the eCommerce the Available quantity of a product is taken into account instead of the free quantity.
Note that in the past the eCommerce availability
was based in Forecasted quantity. This isn't true
anymore from version 15.0.
If a product is configured to prevent sales if
not enough stock (see configuration section) and
its page is accessed in the Website Shop, the
availability messages will be based on the Available
quantity instead of Free quantity. And also, the
eCommerce won't allow you to buy more products
than Available quantity (not Free quantity isn't
taken into account).
Key Features
- Prioritizes Available Quantity
- Prevents Overselling
- Clearer Stock Information
Prioritizes "Available Quantity"
This module ensures your ecommerce website displays and uses the "Available Quantity" of a product instead of potentially misleading figures like "Forecasted Quantity" or "Free Quantity"
Prevents Overselling
By restricting adding products to the cart when the "Available Quantity" is zero or less, the module helps you avoid overselling products that are already reserved or unavailable
Configuration
Go to Inventory > Products and edit a
product that you only want
to sell in the eCommerce if
there is enough stock.
Navigate to Out-of-stock (continue selling)
field in the Sales tab and unset it.

Stock available to promise
Go to Inventory > Configuration > Settings, navigate to Stock available to promise section and set the desired option (you might need extra modules). If you do not choose any, the value of Available quantity will be equal to Forecasted quantity.

Select a Product
Go to your eCommerce.
Select a product that you has been
previously configured to prevent
sales if not enough stock for
the web product page.
It doesn't allow you to add
the product to the cart if
Available quantity (not Free to use quantity)
is equal or less than zero.
Besides, availability messages
will be based on the Available
quantity instead of the Free
to use quantity.

GNU Affero General Public License v3.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you comply with the terms of the GNU Affero General Public License, version 3.0, available at https://www.gnu.org/licenses/agpl-3.0.html. You may develop software that uses the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those software under the terms of the GNU Affero General Public License, version 3.0. It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software without including the complete text of the GNU Affero General Public License, version 3.0, along with any applicable additional permissions. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- stock_available
- website_sale_stock