If it's just the product pages, you could use something like:
and redirect to the membership page.Code:if(!$_SESSION['customer_id'] && $_GET['products_id'] != 'MEMBERSHIP_PRODUCT_ID') { zen_redirect...... }
and redirect to any page that explains they are still not authorized.Code:if($_SESSION['customers_authorization'] > 0) { zen_redirect...... }
I'd put it in includes/modules/pages/product_info/header_php.php (although it would be wiser to do it using an observer, I know I know...).


Reply With Quote

