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.


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

| improve this answer | |
  • 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 '15 at 9:12
  • 1
    Do reindex from admin index management – Amit Bera Oct 2 '15 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 '17 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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