I am using 2 attributes color & size for configurable product. If associated simple product has been out_of_stock then the related swatch option is disabled if more than one attribute.
But If I am using single attribute color as swatch. And associated simple product is out_of_stock then related swatch is not available on product page.
Also, I have tried this extension swatch display but it is not working and showing an error:
Exception #0 (Zend_Db_Select_Exception): You cannot define a correlation name 'stock' more than once
How can I fix the issue?