This is for the sidebox ...
In the file:
/includes/modules/sideboxes/your_template_dir/whats_new.php
You should use the code:
Code:
// if ($random_whats_new_sidebox_product->RecordCount() > 0 ) {
if ($_SESSION['customer_id'] && $_SESSION['customers_authorization'] == 0 && $random_whats_new_sidebox_product->RecordCount() > 0 ) {
I left out the $_SESSION['customer_id'] ...
Or you could code that to test if the $_SESSION['customers_authorization'] is set and if it is equal to 0 ... either way should work ...
You can adapt the code for other areas of the Catalog ...
On some of the code, you will also need to determine if the Products are considered new or not ...
You can look in the New Product Module in the:
/includes/modules/new_products.php
to see how it tests for new products ...
For the module itself, you can again turn it off based on the IF that is used in the whats_new.php sidebox ...