I am guessing with the numbers :-)
Try changing:
Code:
case (isset($_SESSION['customers_authorization']) && (int)$_SESSION['customers_authorization'] == 2):
// customer is logged in and was changed to must be approved to see prices
$show_ez = false;
break;
to
Code:
case (isset($_SESSION['customers_authorization']) && (int)$_SESSION['customers_authorization'] == 2):
// customer is logged in and was changed to must be approved to see prices
$show_ez = true;
break;
I think that is the case you are after. They are logged in and they are authorised. But ....
Bookmarks