Hide a widget inside a div on specific type of post

You could just check if it’s the specific post_type..

if (is_singular( 'product' ) ) {
   //do nothing if it's a singular product page
}else{
  <div class="widgetclass"><?php dynamic_sidebar( 'filters' ); ?></div>
{

Make sure that the actual post type is just “product” and isn’t namespaced.

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