WooCommerce Product Table – filter query on attributes

You can do it with WOOT: https://products-tables.com/shortcode/woot/ – create 2 tables in admin panel and set predefinitions in their settings https://c2n.me/48YmMqO.png

Then create in file functions.php your own shortcode, where depending of the user logged-in or not, show one of the [woot] tables

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