0

Is there a way to hide the Out Of Stock message for products with $0 as a price only? I realize that the saleable quantity can be hidden in Go to Stores > Configuration > Catalog > Inventory > Stock Options but I believe this needs to be done at the code level. I am not sure where to start.

3
  • Do you have this( Go to Stores > Configuration > Catalog > Inventory > Stock Options > Display Out of Stock Products) option enable in your admin panel?
    – ZealousWeb
    Commented Feb 11, 2021 at 6:19
  • You can turn off "Manage Stock" for such products
    – KAndy
    Commented Feb 11, 2021 at 20:12
  • I only want to hide the Out of Stock messages for items that are $0. Not hide all Out of Stock messages.
    – user86226
    Commented Feb 11, 2021 at 23:35

0

Your Answer

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

Browse other questions tagged or ask your own question.