Why does the Woocommerce grouped template prints the unpublished products?

Since i can’t just comment. This is normal behavior if you are logged in as admin. If you visit the products as guest or customer role you wont see draft products.

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