
Originally Posted by
mcqueeneycoins
This may have already been address--I tried searching but no luck so far. I've installed COWOA--no issues. But, during the checkout process after you pass the "Billing" page, the "My Account" link appears in my header. If you click it you are taken to the My Account section, just like everyone else with an account. Problem is, if you try to mess with the information you won't be able to get anywhere (i.e. the change password option--since there is no "Current Password" for them to use). Is there a way to disable the My Account link only for COWOA customers?
Yes, in fact, I have it set up so that "My Account" and "Logoff" do not appear for COWOA customers. To do it, open your includes/templates/Your_Template/Common/tpl_header.php file.
Find
Code:
<?php if ($_SESSION['customer_id']) { ?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php } ?>
Right before the above line, add
Code:
<?php if (!($_SESSION['COWOA'])) { ?>
and then add
right after it.
Do the same thing to
Code:
<?php if ($_SESSION['customer_id']) { ?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>">Logout</a><?php } ?>
if you want to disable the logoff for COWOA. I do have a link on my order confirmation page that says "click here to end your session", that way COWOA customers can "logoff". Remember to back up your file before you make these changes.
Bookmarks