Custom Post Type featured option

There is no need to store product setting product wise as there will be only one featured product. You can store the featured_product_id in options table. And whenever a product is featured you just override the record in the options table, that why you can avoid the deselecting hassle of previously selected featured product.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)