Page 1 of 1

Product display at zero stock

Posted: Fri Dec 30, 2022 3:09 pm
by spoole76
Hi,

Does anyone now how to keep a product displayed at zero stock ? When I test purchase items and the stock is depleted it no longer shows on the site. If possible I would still like it to show. I can click the green tick and it shows again but I assume all items with disappear when the stock reaches zero ?

Thanks
Steve

Re: Product display at zero stock

Posted: Fri Dec 30, 2022 3:45 pm
by Kofod95
You could make a hook that fires at checkout_success or during the order processing, but after the stock-subtraction, that simply re-activates the product by setting the status = 1.

//Daniel

Re: Product display at zero stock

Posted: Fri Dec 30, 2022 9:53 pm
by Dan Cole
I'm on an older version but I assume that the allow checkout setting is still used and if so, try setting it to true.

admin>configuration>stock

Dan