Skip to content

Commit

Permalink
Merge pull request #4707 from lat9/v158-mobile-menu-fix
Browse files Browse the repository at this point in the history
responsive_classic mobile menu needs !zen_in_guest_checkout
  • Loading branch information
scottcwilson committed Mar 30, 2022
2 parents 97d4524 + d40a032 commit bcb5e97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<?php } ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a>'; ?></li>

<?php if (zen_is_logged_in()) { ?>
<?php if (zen_is_logged_in() && !zen_in_guest_checkout()) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
Expand Down

0 comments on commit bcb5e97

Please sign in to comment.