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
Product display at zero stock
- Kofod95
- Senior Contributor
- Posts: 748
- Joined: Sat Feb 06, 2021 7:38 pm
- Phoenix Version: 1.0.8.20
- Has thanked: 99 times
- Been thanked: 179 times
Re: Product display at zero stock
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
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
Dan Cole
- Senior Contributor
- Posts: 499
- Joined: Fri Oct 25, 2019 2:14 pm
- Phoenix Version: 1.0.8.21
- Has thanked: 67 times
- Been thanked: 61 times
Re: Product display at zero stock
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
admin>configuration>stock
Dan