DivaVocals:
Sorry to hear that.. unfortunately it is difficult for anyone here to help you since we can;t see your template to know what those changes might be.. Suggest while you're waiting that you compare your template files to the default Zen Cart files in the template_default folder.. Concentrate on comparing all of the product_info pages to their default Zen Cart counterparts.. One of the changes/modifications 12leaves.com made is the issue..
You'll need a tool like WinMerge or Beyond Compare.. WinMerge is Free.. Beyond Compare is a superior file comparsion tool, but it's not free.. However, IMHO. it's well worth the small cost for the tool..
Hey Diva..
Thank you for your input, I will take those steps next. I came across this file: init_customer_auth.php and this particular part of the code:
case (in_array($_GET['main_page'], array(FILENAME_LOGOFF, FILENAME_PRIVACY, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_CONDITIONS, FILENAME_SHIPPING, FILENAME_UNSUBSCRIBE))):
// on special pages, allow customers to access regardless of store mode or cust auth mode
break;
/**
* check store status before authorizations
*/
case (STORE_STATUS != 0):
break;
/**
* if not down for maintenance check login status
*/
case (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == ''):
/**
* customer must be logged in to browse
*/
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_CREATE_ACCOUNT))) {
if (!isset($_GET['set_session_login'])) {
$_GET['set_session_login'] = 'true';
$_SESSION['navigation']->set_snapshot();
}
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
break;
case (CUSTOMERS_APPROVAL == '2' and $_SESSION['customer_id'] == ''):
/**
* customer may browse but no prices
*/
break;
default:
/**
* proceed normally
*/
break;
}
switch (true) {
/**
* check store status before authorizations
*/
case (STORE_STATUS != 0):
break;
case (CUSTOMERS_APPROVAL_AUTHORIZATION == '1' and $_SESSION['customer_id'] == ''):
/**
* customer must be logged in to browse
*/
// if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_CREATE_ACCOUNT))) {
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_LOGOFF, FILENAME_CREATE_ACCOUNT, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US, FILENAME_PRIVACY))) {
if (!isset($_GET['set_session_login'])) {
$_GET['set_session_login'] = 'true';
$_SESSION['navigation']->set_snapshot();
}
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
break;
case (CUSTOMERS_APPROVAL_AUTHORIZATION == '2' and $_SESSION['customer_id'] == ''):
/**
* customer may browse but no prices unless Authorized
*/
/*
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_CREATE_ACCOUNT))) {
if (!isset($_GET['set_session_login'])) {
$_GET['set_session_login'] = 'true';
$_SESSION['navigation']->set_snapshot();
}
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
*/
break;
case (CUSTOMERS_APPROVAL_AUTHORIZATION == '1' and $_SESSION['customers_authorization'] != '0'):
/**
* customer is pending approval
* customer must be logged in to browse
*/
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_LOGOFF, FILENAME_CONTACT_US, FILENAME_PRIVACY))) {
if ($_GET['main_page'] != CUSTOMERS_AUTHORIZATION_FILENAME) {
zen_redirect(zen_href_link(CUSTOMERS_AUTHORIZATION_FILENAME));
}
}
break;
case (CUSTOMERS_APPROVAL_AUTHORIZATION == '2' and $_SESSION['customers_authorization'] != '0'):
/**
* customer may browse but no prices
*/
break;
default:
/**
* proceed normally
*/
break;
}
?>
I think something in here may need changing but I don't want to mess with it because I am not a programmer.
Any ideas?
Regards