0

i want to hide swatches of configurable products which has 0 quantity and i want to use the best approach possible is there any?

enter image description here

how to do that any idea?

1 Answer 1

0

Check Show out of stock product setting under Stores -> Configuration -> Catalog -> Inventory Set Show out of stock product to No. And then clear System Cache.

See https://docs.magento.com/user-guide/configuration/catalog/inventory.html for more details.

2
  • its already set to NO and it still shows child products with 0 quantity Commented Oct 6, 2022 at 10:51
  • @IZANOVA try disabling third party modules and theme and see if the same behavior persists. Commented Oct 7, 2022 at 8:30

Your Answer

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