Version: 1.0.8
Noticed if I have product that is selected in stock, but has a 0 stock level, it shows up in the store for the public.
Just wondering if that was by design?
In stock option checked, but stock level 0
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Has thanked: 9 times
- Been thanked: 2 times
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: In stock option checked, but stock level 0
Yes, it’s how it is intended.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
14Steve14
- Senior Contributor
- Posts: 920
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: In stock option checked, but stock level 0
You can change the way this works by changing the stock settings in your admin - configuration - stock and change the setting in there so that out of stock items are not visible.gsmiley007 wrote: ↑Sat Mar 27, 2021 4:27 am Version: 1.0.8
Noticed if I have product that is selected in stock, but has a 0 stock level, it shows up in the store for the public.
Just wondering if that was by design?
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: In stock option checked, but stock level 0
That doesn't change this. That's the current setting in this case.
What happens is that when a product goes out of stock, it is set to not visible. But regardless of the stock setting, it will be visible if it is set to be visible. Stock level has no effect on visibility unless there is an order. As part of the order process, out-of-stock items are marked to be not visible if the store is configured that way. But there is no configuration for "Check the stock level before showing the product".