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.
Bookmarks