Problem/Motivation

We work with sellers who manage stock level in the webshop. They have certain products where they want to enable customers to buy more than what's in stock currently. Then the negative stock level would indicate sellers that they need to restock some products because there's a higher demand of it.

Now, if product variation type is set to the Local stock service and you enable the "Always in stock?" checkbox for a specific variation, then this variations stock level will not decrement anymore if an order comes in. This confuses us and the sellers, too.

Suggestion: support this use case by continuing the automatic stock level adjustment when an order comes in.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

kaszarobert created an issue. See original summary.

kaszarobert’s picture

kaszarobert’s picture

Priority: Normal » Major

I attach a patch for this and I raise the priority of the issue since it could lead to an incorrect stock level in the reports.

guy_schneerson’s picture

Category: Bug report » Feature request
Priority: Major » Normal
Status: Needs review » Needs work

This is probably not the right way of approaching the problem as this is not what the always-in-stock was designed for.
always-in-stock is for products that are not stock-managed.
However, I am not marking this as works as designed because the use case is real. I think this can be a useful feature if the responsibility is moved to the availability checker.
I will update the title to: "Allow the purchase of out-of-stock items" This will need both an absolute setting. Always allow or a number. A bit like an arranged overdraft - so 10 will be: You are allowed to oversell 10 items.

guy_schneerson’s picture

Title: Stock is not decremented if a product variation type is set to Local stock but at a specific variation the Always in stock field is enabled » Allow the purchase of out-of-stock items