Magento : If category have single product, programmatically redirect automatically to the product details page
Read this post on codeboss.in/web-funda