For Example,There is a product with attribute color - Black,Blue,Red. If the associated product with color Black is disabled, it should not display black color swatch. But it displays color swatch(although disabled). How to remove it? Using - Magento default ColorSwatches and theme rwd.

1 Answer 1


Check in System > configuration > inventory > Stock options > Display Out of Stock Products > No

  • It is already set to No. but the scenario is that Product status is set to disabled. and it is still showing the disabled color swatch. but instead I need to remove that swatch.
    – Sneha Soni
    Oct 2, 2015 at 9:12
  • 1
    Do reindex from admin index management
    – Amit Bera
    Oct 2, 2015 at 11:56
  • You can setup a cron to reindex every X minutes - then when a product runs OOS, it will automatically be removed from selection in time.
    – Steven J
    Aug 3, 2017 at 19:23

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.