New Zenner
- Join Date:
- Jan 2006
- Posts:
- 12
- Plugin Contributions:
- 0
More Information Sidebox to appear only when logged in
Hello,
I would like the more_information sidebox to appear only when a customer has logged in. I have attempted the suggestion found at tutorial 279 but it doesn't seem to work.
Perhaps I have chosen the wrong variable?
I changed this:
// test if box should display
unset($more_information);
to this:
// test if box should display
if (!$_SESSION['customer_id']) {
$show_more_information= false;
} else {
$show_more_information= true;
}
Needless to say it doesn't work. The more information box appears whether logged on or not. Any help would be appreciated.