Please shown below image.

enter image description here

If quantity is 0 aur greater than 0 select Instock only. No need to select out of stock if quantity below 0.

Can i change this functionality through admin panel or need to do some code.

How to do that ?

有帮助吗?

解决方案

You can use "Manage Stock" as "No" in Advanced inventory section, under the "Quantity" field on the product. This will always show the product as In Stock on the frontend.

Check this screenshot:

enter image description here

Hope this will work for you.

许可以下: CC-BY-SA归因
scroll top