I want to Auto turn on/off the product, but don't know how. Can you help me?

  • In which case you need to on/off product? Commented Sep 30, 2022 at 4:41

1 Answer 1


You can enable/disable the product with the qty. So if the qty is below 0, the Magento system will hide the product in the frontend.

You have to update the settings in Admin Admin->Stores->Configuration->Catalog->Inventory. And you have to also set the Manage Stock to Yes in the individual product.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.